1. Booking
Jicoo Developer Potal
  • Errors
  • Versioning
  • Types
  • Authentication
  • Quick start
  • API Reference Overview
  • Create powerful apps with Jicoo's API
  • Guide
    • How to use webhook
    • How to use Account integration
    • Jicoo MCP Server Setup Guide
    • Add the Jicoo MCP Server to Claude
    • Add the Jicoo MCP Server to Claude Code
    • Add the Jicoo MCP Server to Codex
    • Add the Jicoo MCP Server to Gemini CLI
  • Guide(Japanese)
    • アカウント連携の使い方
    • Webhookの使い方
    • ホストの優先度を更新する方法
    • Jicoo MCP Serverの使い方
    • Jicoo MCP サーバ セットアップガイド
    • Jicoo MCP サーバを Claude に追加する
    • Jicoo MCP サーバを Claude Code に追加する
    • Jicoo MCP サーバを Codex に追加する
    • Jicoo MCP サーバを Gemini CLI に追加する
  • API Reference
    • Jicoo API
    • Webhook Schema
      • Webhook schema
      • event property
      • createdAt property
      • object property
      • contact property
      • answers property
      • answers items property
      • tracking property
    • Booking
      • List Bookings
        GET
      • Get Booking
        GET
      • Cancel Booking
        POST
      • Reschedule Booking
        POST
      • Create Booking
        POST
      • Update Booking
        PATCH
      • Get Booking Contacts
        GET
      • Confirm booking request
        POST
      • Decline booking request
        POST
      • Automatically reassign booking host
        POST
      • Reassign booking host
        POST
      • Get Booking Operation Status
        GET
    • Schedule
      • Update Schedule
      • Create Schedule
      • List Schedules
      • Delete Schedule
    • Availability
      • List User Availability Calendars
      • Get User Availability Calendar
    • Organization
      • User
        • List Organization Users
        • Delete Organization User
        • Get Organization User
        • Update Organization User
      • Invitation
        • Create Organization Invitation
        • List Organization Invitations
        • Get Organization Invitation
        • Delete Organization Invitation
      • Get Organization Team
    • Event Types
      • Get Event Type
      • List Event Types
      • List Event Type Hosts
      • Get Event Type Available Schedules
      • Account Integration
      • Update Event Type Host
      • Delete Event Type Host
      • Create Event Type Host
      • Delete Event Type Host Assign Rule
      • Update Event Type Host Assign Rule
      • Create Event Type Host Assign Rule
      • List Event Type Host Assign Rules
      • Update an event type
      • Create an event type
      • Delete an event type
      • Get Event Type Notification
      • Update Event Type Notification
      • Get Event Type Available Schedules (v2)
    • Webhook Endpoints
      • Create a webhook endpoint
      • List webhook endpoints
      • Update a webhook endpoint
      • Get a webhook endpoint
      • Delete a webhook endpoint
    • Booking Meeting Intelligence
      • List recordings for a booking
      • List transcripts for a booking
      • List recaps for a booking
    • Routing Form
      • List routing forms
      • Get routing form
      • Create routing form response
      • Update routing form response
  • User
    • Busy Times (v2)
    • Busy Times
    • Check Calendar Connection (v2)
    • Get current user profile
    • Update current user profile
    • Update current user profile image
    • Get current user settings
    • Update current user settings
    • List user busy times
  • Schemas
    • Booking
    • OrganizationUser
    • OrganizationInvitation
    • UserAvailabilityCalendar
    • OrganizationTeam
    • EventType
    • Host
    • Pagination
    • AvailableSchedule
    • BookingTranscriptSpeakerTimelineSegment
    • EventTypeUpdateRequest
    • EventTypeCreateRequest
    • BookingRecapSummary
    • BookingRecording
    • EventTypeDetail
    • GeneratedEventTypeUpdateRequest
    • EventTypeUpdateLocation
    • EventTypeCreateEventType
    • BookingRecordingResponse
    • BookingRecapRisk
    • BookingTranscript
    • BookingTranscriptResponse
    • EventTypeCreateLocation
    • BookingRecap
    • ErrorEnvelope
    • EventTypeUserUpdate
    • BookingRecapResponse
    • EventTypeUpdateForm
    • EventTypeUserCreate
    • WebhookEndpointCreateResponse
    • EventTypeNotification
    • WebhookEndpoint
    • WebhookEndpointPublicCreateBody
    • WebhookEndpointPublicUpdateBody
    • EventTypeCalendarCreateBody
    • EventTypeUpdateHostAssignRule
    • EventTypeUpdateWorkflow
    • EventTypeCalendarCreate
    • EventTypeSettingCreateBody
    • EventFormCreateBody
    • EventTypeTransparencyKeywordCreateBody
    • EventTypeCreateHostAssignRule
    • Schedule
    • EmptySuccessResponse
    • ErrorResponse
    • Booking Contact
    • HostAssignRule
    • ConferencingProvider
    • BookingReassignParams
    • ConferencingConnectBody
    • ConferencingConnectResponse
    • ConferencingConnectionItem
    • RoutingFormPublicDetailItem
    • RoutingFormPublicListItem
    • RoutingFormPublicWorkflowItem
    • RoutingFormResponseAnswerInput
    • RoutingFormResponseBody
    • RoutingFormResponseResult
    • RoutingFormResponseUpdateBody
    • UsersMeProfile
    • UsersMeProfilePatchBody
    • UsersMeSettings
    • UsersMeSettingsPatchBody
  1. Booking

Create Booking

POST
/v1/bookings
The Create Booking API allows users to make a new booking. By submitting necessary details such as service selection, contact information, and preferred time slots, this API will create a new booking in the system. Upon successful creation, the API returns the booking details and a unique identifier for future reference.

Idempotency-Key (optional)#

Send an Idempotency-Key header to retry the same booking request safely. Within a team, one key creates at most one booking. Omitting the header preserves the existing behavior.
Use 1 to 255 printable ASCII characters without spaces. Keys are case-sensitive. An empty, invalid or repeated header returns 400 with Idempotency-Key header is invalid.
When retrying, use the same team, key and JSON body. JSON object property order can change. Array order and all values must stay the same. Using the same key with a different body returns 422 with Idempotency-Key was already used with a different request. This still applies after the saved response expires or the booking is updated, cancelled or deleted.

Responses when Idempotency-Key is sent#

ResponseMeaning and next action
201 CreatedThe booking is saved. data contains the booking or, for a newly created card checkout, { "paymentSessionUrl": "…" }. For 24 hours after the first 201 response is saved, a retry returns that same snapshot with Idempotency-Replayed: true. Later changes to the booking do not alter the snapshot.
202 AcceptedProcessing is still in progress. The booking may not exist yet. Wait the number of seconds in Retry-After, then repeat the same POST to continue the operation. To read progress, follow Location.
409 Conflict with Retry-AfterAn identical request is still running. Wait the number of seconds in Retry-After, then repeat the same POST.
410 GoneThe saved 201 response has expired. Follow Location to check the operation. To read the current booking, use GET /v1/bookings/{uid} with data.reference.bookingUid. The original response and its checkout URL can no longer be retrieved by replaying this POST.
422 Unprocessable EntityThe key was used with a different request body. Check the original request. Use a fresh key for a separate booking.
500 Internal Server ErrorRetry with the same key and body. If Location is present, you can also use it to check the operation.
503 Service Unavailable with data.state = recovery_requiredStop automatic retries. The booking or payment may already exist. Contact Jicoo support with data.reference.operationId before attempting another booking.
On 201, 202, 410 and 503 recovery_required, Location points to GET /v1/booking_operations/{id}. On 202, 410 and 503 recovery_required, data.reference contains operationId, bookingUid and statusPath. The GET reads progress. Repeating the POST with the original key and body can resume an operation that is still pending.
For other booking conflicts, check errorCode and isRetryable when present. If isRetryable is true, retry the same request. If you change the body, for example to select another time or correct invalid input, use a fresh key.
A 201 confirms that the booking was saved. Notifications and online meeting setup may still be in progress. Use the operation status endpoint to check the steps registered for this booking request.

Best practices#

Generate a unique key, such as a UUID, for each new booking. Keep it with the request so you can reuse it after a timeout or lost response.
Use the response table to decide whether to retry. If the operation requires recovery, contact Jicoo support with the operation ID.
Keep personal information out of the key.

Card payment#

When payment.paymentMethod is card and this booking proceeds directly to checkout, payment.cancelUrl is required. This can apply on an approval-enabled booking page when the requested start time falls outside its approval window. A missing URL returns 400 with payment.cancelUrl is required.
Ask the guest to complete payment within about 5 minutes. Jicoo schedules checkout expiration for around that time. The session can remain open if expiration is delayed.
Replaying a saved 201 within 24 hours returns the same paymentSessionUrl and leaves the checkout deadline unchanged. Create a new booking with a fresh key only after confirming that the original checkout expired and the original payment did not complete.

Request

Authorization
Add parameter in header
X-Jicoo-Api-Key
Example:
X-Jicoo-Api-Key: ********************
Header Params

Body Params application/json

Example
{
    "eventTypeId": "mzgdPJVBb7RE",
    "timeZone": "Asia/Tokyo",
    "startedAt": "2024-03-16T02:00:00.000Z",
    "email": "guest@example.com",
    "name": "john doe",
    "location": null
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/v1/bookings' \
--header 'Idempotency-Key: 8e7b5c0e-3f4a-4d2b-9c1e-6a2f0d9b7c41' \
--header 'X-Jicoo-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "eventTypeId": "mzgdPJVBb7RE",
    "timeZone": "Asia/Tokyo",
    "startedAt": "2024-03-16T02:00:00.000Z",
    "email": "guest@example.com",
    "name": "john doe",
    "location": null
}'

Responses

🟢201Created
application/json
Headers

Bodyapplication/json

Examples
{
    "eventTypeId": null,
    "uid": "dolor id nostrud Excepteur dolore",
    "name": "nostrum neque nostrum",
    "description": "Facere non eveniet illo veritatis doloribus id quos omnis nemo. Facilis quis assumenda sunt. Unde iusto porro placeat. Itaque amet aut voluptas facilis rerum illo error.",
    "status": "open",
    "startedAt": "1989-06-01T18:37:12.594Z",
    "endedAt": "1984-11-20T03:14:06.112Z",
    "locationId": "phone",
    "url": "https://acrobatic-son.org",
    "phoneNumber": "(648) 998-7709 x67849",
    "address": null,
    "customLocation": "eiusmod",
    "access": null,
    "timeZone": "Atlantic/Azores",
    "priority": "high",
    "cancelReason": "veniam fugiat quis elit",
    "cancelledAt": null,
    "cancelledBy": null,
    "capacity": null,
    "hosts": [
        {
            "userId": "non",
            "role": "editor"
        }
    ],
    "createdAt": "2024-03-04T07:26:55.198Z",
    "updatedAt": "2024-03-04T05:10:21.686Z"
}
🟠409Conflict
🟢202Accepted
🟠410Gone
🟠422Unprocessable Content
🔴503Service Unavailable
Modified at 2026-11-20 06:12:53
Previous
Reschedule Booking
Next
Update Booking
Built with