Create a sequence with API v2
For a team in an organization, send an authenticated API v2 request toPOST /v2/organizations/{orgId}/teams/{teamId}/event-type-sequences. Use the organization and team
IDs and authenticate as a team member with permission to create event types.
Set a title and a slug that your team isn’t already using for an event type or a sequence. Add the
IDs of your team’s Collective or Round Robin event types to segments in the order they should
be booked:
Share the booking link
Copydata.bookingUrl from the create response and share it with invitees. The booking page shows
the events in order and offers start times when all of them can fit back to back. The invitee picks
one start time for the whole sequence, and each event has its own booking.
If your team has no slug,
data.bookingUrl is null and there’s no link to share.
Get notified when a sequence is booked
Go to Settings → Developer → Webhooks, select New, and choose your team. Enter your Subscriber URL, select Sequence booking created under Event triggers, and save the webhook.
SEQUENCE_BOOKING_CREATED as its
triggerEvent. The payload includes the sequence, the booked time block, and the segment bookings
in order.