Skip to main content
POST
Book a sequence

Headers

Authorization
string

value must be Bearer <token> where <token> is api key prefixed with cal_, managed user access token, or OAuth access token

Idempotency-Key
string

Makes a retry safe: a request repeating a key it already booked a loop with gets that loop back instead of booking another. The key is scoped to the OAuth client and user that send it, or to the attendee's email when the request is anonymous. A replay compares the sequence, start, attendee and bookingFieldsResponses (ignoring key order, surrounding spaces and email case), answers 201 with the loop's current state, each segment's status as it is now, and books nothing. The same key with a different body is a 422. A key whose request was refused (400, 401, 403, 409) booked nothing and can be sent again. A retry after the sequence was deleted is a 404. With a key, hosts lists the organizer and the co-hosts whose email is verified. The key is never stored or logged as sent.

Required string length: 1 - 255

Path Parameters

uid
string<uuid>
required

The sequence's uid.

Body

application/json
start
string<date-time>
required

When the first segment starts, as an RFC 3339 date-time with an offset (Z or ±HH:MM), as GET /v2/event-type-sequences/{uid}/slots returns it. A day that doesn't exist, such as February 31, is refused. The other segments follow back to back.

Example:

"2033-09-05T09:00:00Z"

attendee
object
required
bookingFieldsResponses
object

Answers to the sequence's bookingFields, keyed by their slug. A null answer is read as an empty one, as on /v2/bookings. Each segment receives only the answers to its own event type's questions. Guests are added through a guests field when a segment asks for one; name and email come from attendee.

Example:
emailVerificationCode
string

The code sent to the booker's email, required when any segment's event type asks the booker to verify their email. One code is checked for every such segment.

Maximum string length: 32
Example:

"123456"

Response

status
enum<string>
required
Available options:
success
data
object
required