> ## Documentation Index
> Fetch the complete documentation index at: https://cal.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Book a sequence

> Books every segment of the sequence back to back from `start`, all or nothing: either each segment gets its own booking with hosts free for its window, or nothing is written. Each segment is booked as a booking of its own event type: it gets that event type's questions, confirmation setting, emails, workflows and webhooks, and is held at the event type's first location (or the assigned round-robin host's own location). After the bookings commit, the sequence team's `SEQUENCE_BOOKING_CREATED` webhook lists every segment, and each segment's `BOOKING_CREATED` or `BOOKING_REQUESTED` carries `sequenceBooking`. A segment whose event type requires confirmation is `pending` until a host confirms it.

No authentication is required. Anonymous callers can make 5 requests a minute per IP address; authenticated callers are limited per credential as on other routes. A segment whose event type requires authentication can only be booked by its owner, a host, or an admin or owner of its team or organization.

Every refusal tied to one segment names its 0-based `position` in `error.details.position`, and never names a host.



## OpenAPI

````yaml /api-reference/v2/openapi.json post /v2/event-type-sequences/{uid}/bookings
openapi: 3.0.0
info:
  title: Cal.com API v2
  description: ''
  version: 1.0.0
  contact: {}
servers: []
security: []
tags: []
paths:
  /v2/event-type-sequences/{uid}/bookings:
    post:
      tags:
        - Event Type Sequences
      summary: Book a sequence
      description: >-
        Books every segment of the sequence back to back from `start`, all or
        nothing: either each segment gets its own booking with hosts free for
        its window, or nothing is written. Each segment is booked as a booking
        of its own event type: it gets that event type's questions, confirmation
        setting, emails, workflows and webhooks, and is held at the event type's
        first location (or the assigned round-robin host's own location). After
        the bookings commit, the sequence team's `SEQUENCE_BOOKING_CREATED`
        webhook lists every segment, and each segment's `BOOKING_CREATED` or
        `BOOKING_REQUESTED` carries `sequenceBooking`. A segment whose event
        type requires confirmation is `pending` until a host confirms it.


        No authentication is required. Anonymous callers can make 5 requests a
        minute per IP address; authenticated callers are limited per credential
        as on other routes. A segment whose event type requires authentication
        can only be booked by its owner, a host, or an admin or owner of its
        team or organization.


        Every refusal tied to one segment names its 0-based `position` in
        `error.details.position`, and never names a host.
      operationId: EventTypeSequencesController_book
      parameters:
        - name: Authorization
          in: header
          description: >-
            value must be `Bearer <token>` where `<token>` is api key prefixed
            with cal_, managed user access token, or OAuth access token
          required: false
          schema:
            type: string
        - name: uid
          required: true
          in: path
          description: The sequence's `uid`.
          schema:
            type: string
            format: uuid
        - name: Idempotency-Key
          in: header
          description: >-
            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: false
          schema:
            type: string
            minLength: 1
            maxLength: 255
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BookEventTypeSequenceInput'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SequenceBookingResponseOutput'
        '400':
          description: >-
            The body (including an invalid `attendee.phoneNumber`) or the
            `Idempotency-Key` header is invalid, the `uid` isn't a UUID, or a
            segment's checks refused the booking, with its `position`: a missing
            or invalid answer, a missing or wrong `emailVerificationCode`
            (`email_verification_required`), a start inside the segment's notice
            or outside its booking window, a booker limit,
            `sequence_location_input_required` (the segment is held at the
            booker's phone and `attendee.phoneNumber` is missing, or its
            location changed to an address or free text after the sequence was
            last checked).
        '401':
          description: >-
            A segment's event type requires authentication and the request is
            anonymous, with the segment's `position`.
        '403':
          description: >-
            A segment's event type requires authentication and the caller isn't
            its owner, a host, or an admin or owner of its team or organization,
            with the segment's `position`.
        '404':
          description: >-
            No sequence has this `uid`, or its team doesn't have sequences
            enabled.
        '409':
          description: >-
            `sequence_time_taken` with a `position`: that segment's time can't
            be booked. Its hosts are busy, booked or held by another booker,
            outside their availability, outside a date-range restriction
            schedule (which `/v2/bookings` answers with 400) or over a booking
            limit, or the sequence changed while booking. A booking that waited
            too long for another booking of the same people names the first
            segment. `calendar_read_failed_error` with a `position`: no host of
            that segment is free and one of their calendars couldn't be read.
            `sequence_not_bookable`: the sequence can't be booked right now, for
            example a segment's event type turned paid or is held at an address
            or a location the booker would type (a location that changed to one
            of those after the sequence was last checked answers 400
            `sequence_location_input_required` instead).
        '422':
          description: >-
            `sequence_idempotency_key_reused`: the `Idempotency-Key` already
            booked a loop with a different body.
        '429':
          description: >-
            An anonymous caller made more than 5 requests in a minute from one
            IP address. Nothing is booked.
        '503':
          description: >-
            This route's own count of anonymous requests couldn't be read, so
            the request was refused and nothing is booked; try again later. When
            the rate limit store is down entirely, every API v2 request fails
            earlier with the global rate limiter's error instead.
components:
  schemas:
    BookEventTypeSequenceInput:
      type: object
      properties:
        start:
          type: string
          format: date-time
          example: '2033-09-05T09:00:00Z'
          description: >-
            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.
        attendee:
          $ref: '#/components/schemas/BookEventTypeSequenceAttendeeInput'
        bookingFieldsResponses:
          type: object
          additionalProperties: true
          example:
            notice-period: 4 weeks
          description: >-
            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`.
        emailVerificationCode:
          type: string
          maxLength: 32
          example: '123456'
          description: >-
            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.
      required:
        - start
        - attendee
    SequenceBookingResponseOutput:
      type: object
      properties:
        status:
          enum:
            - success
          type: string
        data:
          $ref: '#/components/schemas/SequenceBookingOutput'
      required:
        - status
        - data
    BookEventTypeSequenceAttendeeInput:
      type: object
      properties:
        name:
          type: string
          maxLength: 255
          example: Alice Candidate
          description: The booker's name.
        email:
          type: string
          format: email
          example: alice@example.com
          description: The booker's email.
        timeZone:
          type: string
          example: Europe/Rome
          description: >-
            The booker's time zone, used for every segment's emails and calendar
            invites.
        language:
          enum:
            - ar
            - ca
            - de
            - es
            - eu
            - he
            - id
            - ja
            - lv
            - pl
            - ro
            - sr
            - th
            - vi
            - az
            - cs
            - el
            - es-419
            - fi
            - hr
            - it
            - km
            - nl
            - pt
            - ru
            - sv
            - tr
            - zh-CN
            - bg
            - da
            - en
            - et
            - fr
            - hu
            - iw
            - ko
            - 'no'
            - pt-BR
            - sk
            - sl
            - ta
            - uk
            - zh-TW
            - bn
          type: string
          example: it
          default: en
          description: The language of the booker's emails.
        phoneNumber:
          type: string
          maxLength: 32
          example: '+393401234567'
          description: >-
            The booker's phone number in international format. Required, and
            must be a valid number, when a segment is held at the booker's
            phone, as its event type's first location or as its assigned host's
            own location. A segment whose event type texts reminders to
            attendees sends them here.
      required:
        - name
        - email
        - timeZone
    SequenceBookingOutput:
      type: object
      properties:
        uid:
          type: string
          example: 3Fz8kQw1mNp5rT9vXc2bLd
          description: The booked loop's `uid`.
        start:
          type: string
          format: date-time
          example: '2033-09-05T09:00:00.000Z'
          description: When the first segment starts.
        end:
          type: string
          format: date-time
          example: '2033-09-05T11:15:00.000Z'
          description: When the last segment ends.
        segments:
          type: array
          items:
            $ref: '#/components/schemas/SequenceBookingSegmentOutput'
      required:
        - uid
        - start
        - end
        - segments
    SequenceBookingSegmentOutput:
      type: object
      properties:
        position:
          type: number
          example: 0
          description: 0-based place in booking order.
        bookingUid:
          type: string
          example: 8Kq2nP4cWzR1vY7tLm3sXe
          description: The segment's booking `uid`.
        title:
          type: string
          example: Technical interview between Dana Smith and Alice Candidate
        status:
          enum:
            - accepted
            - pending
            - cancelled
            - rejected
            - awaiting_host
          type: string
          example: accepted
          description: >-
            `accepted`, or `pending` for a segment whose event type requires
            confirmation. A replay reads each booking as it is now, so it can
            also be `cancelled`, `rejected` or `awaiting_host`.
        start:
          type: string
          format: date-time
          example: '2033-09-05T09:00:00.000Z'
        end:
          type: string
          format: date-time
          example: '2033-09-05T09:45:00.000Z'
        hosts:
          description: Who the segment is with, its organizer first.
          type: array
          items:
            $ref: '#/components/schemas/SequenceBookingHostOutput'
      required:
        - position
        - bookingUid
        - title
        - status
        - start
        - end
        - hosts
    SequenceBookingHostOutput:
      type: object
      properties:
        name:
          type: string
          nullable: true
          example: Dana Smith
      required:
        - name

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.