Overview
A booking is an appointment on the team's calendar. Its kind says where it came from:
service_booking: booked for a bookable service, by the AI, a customer or someone on the team.servicenames the service.calendar_event: an event from the team's connected calendar.external_import: synced from an external booking system, or read from a booking portal's email.
status is scheduled, rescheduled, cancelled, postponed, attended, no_show or team_no_show. Only people record attendance. source says who booked it: ai, customer or operator. meeting_type is online, in_person or phone. These inventory objects exclude payments; current payment requests have separately authorized operational endpoints below.
A reschedule shows up in one of two ways. The same booking is updated when someone on the team moves it in Totem, when the AI moves a booking held in an external booking system such as Koibox, when that system reports a move, or when a booking portal's email does: starts_at and ends_at hold the new time, and the previous time is not exported. Its status becomes rescheduled, although a move that an external booking system reports can leave the status unchanged. When the AI reschedules any other booking, it creates a new one: the old booking ends as cancelled, with rescheduled_to pointing to the new one, and the new one points back with rescheduled_from. For a few seconds after that kind of reschedule, the old booking can still read scheduled. A change made directly in Google Calendar or Outlook may not reach the Totem booking. A booking rescheduled before Totem started recording these links may lack either link, as Data coverage explains.
A bookable service is something customers can book with the team, such as a first consultation. GET /v1/booking_services returns every service of the team, each with its meeting_type, in one response that takes no limit or cursor. Services are not in the changes feed: read the list when you start syncing a team, when a booking names a service you do not know, and at least once a day. A deleted service drops out of the list while its bookings keep naming its id: do not re-read the list for an id it did not resolve last time, and if you show service names on older bookings, keep the name from an earlier read. Disabled services stay listed, with nothing that marks them as disabled.
Use GET /v1/bookings and GET /v1/bookings/{id} to look bookings up; GET /v1/bookings?lead= lists one lead's bookings. To keep a copy, follow the changes feed: Keep a copy in sync explains it.
Current availability and booking actions
POST /v1/booking_services/options discovers current services without requiring a lead. For a current lead and service, POST /v1/bookings/availability returns actionable options and offers. Reading availability does not hold capacity. Use an unchanged current offer with POST /v1/bookings; the server preserves scheduling, payment and recipient policy.
POST /v1/bookings/for-lead and GET /v1/bookings/{id}/management return current management views and action ETags. Use that exact validator in If-Match for POST /v1/bookings/{id}/cancel or POST /v1/bookings/{id}/reschedule. An inventory version or another appointment's ETag cannot authorize those changes.
POST /v1/booking-payments/get reads current owned payment requests with the separate payment-content permission. POST /v1/booking-payments/send-link requires explicit confirmation and the current returned reference. A payment request or sent link is not a confirmed appointment. Observe the returned operation and reconcile an unknown provider outcome before retrying. PATCH /v1/bookings/{id}/analysis is reserved for authorized system analysis of that exact retained meeting.
GET /
Returns a page of the team's bookings: appointments for a bookable service, events from the connected calendar and bookings imported from other systems, each with its status and times. Pass lead for one lead's bookings.
Query parameters
limitinteger Range 1–100 Default25Items per page, 1–100. Defaults to 25.
cursorstring 1–512 charsThe
next_cursorof the previous page. Omit it for the first page.leadstring ID prefixlead_…Only the bookings linked to this lead: every item's
leadis this id. A lead of another team, or one that does not exist, matches nothing.
Headers
Totem-Teamstring Conditional ID prefixteam_…The team to read, as a
team_…id. Omit it when the key reads one team; it is required when the key reads several (400 team_required). When you send it, it must name a team the key reads: a malformed id gets400 invalid_request, and a team outside the key gets404 team_not_accessible, as does a request without it once the key reads no team at all.
Returns
Returns a list of Booking objects.
objectstringAlways
list.dataArray<Booking>The items of this page.
has_morebooleantruewhen another page follows: fetch it withnext_cursor, even if this page holds fewer items thanlimit.next_cursorstring NullableOpaque cursor for the next page, or null on the last page. Never parse it.
Errors
- 400
team_requiredTeam required - 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
team_not_accessibleTeam not accessible - 409
capture_not_readyTeam data is still being prepared - 429
quota_exceededDaily quota exceeded
curl 'https://api.totemstudio.ai/v1/bookings?limit=25' \
-H "Authorization: Bearer $TOTEM_API_KEY" \
-H "Totem-Team: $TOTEM_TEAM_ID"{
"object": "list",
"data": [
{
"id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
"object": "booking",
"livemode": false,
"team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"kind": "service_booking",
"service": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"status": "scheduled",
"starts_at": "2026-10-06T15:00:00.000Z",
"ends_at": "2026-10-06T15:30:00.000Z",
"meeting_type": "in_person",
"source": "ai",
"rescheduled_from": null,
"rescheduled_to": null,
"created_at": "2026-10-01T09:01:00.000Z",
"version": 1,
"updated_at": "2026-10-01T09:01:02.000Z"
}
],
"has_more": false,
"next_cursor": null
}POST /
Accepts one current encrypted offer as a durable operation and revalidates service, capacity, current lead and provider authority before effects. Payment-required outcomes return a payment receipt and never claim a confirmed booking. Reuse the same Idempotency-Key after an uncertain acknowledgement; never repeat an outcome_unknown operation.
Headers
Totem-Teamstring Conditional ID prefixteam_…The team to read, as a
team_…id. Omit it when the key reads one team; it is required when the key reads several (400 team_required). When you send it, it must name a team the key reads: a malformed id gets400 invalid_request, and a team outside the key gets404 team_not_accessible, as does a request without it once the key reads no team at all.Idempotency-Keystring Required 1–255 chars Pattern^[\x21-\x7e]+$One unique visible-ASCII key per logical write; reuse exactly on retries and never retry outcome_unknown automatically.
Request body
Book one current offer for this lead. Contact destinations come from the current lead.
lead_idstring Required ID prefixlead_…Current lead in the selected team.
offerstring Required 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
customer_namestring Required 1–300 charsCustomer display name on the booking.
notesstring ≤ 10000 charsOptional booking notes.
payment_referencestring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
Returns
Returns an Operation object.
objectstringAlways operation.
idstring ID prefixop_…Opaque durable operation id.
statusstringDurable operation state; outcome_unknown must be reconciled before repeating the effect.
Possible valuesqueuedrunningsucceededfailedcancelledoutcome_unknown
endpointstringThe original endpoint executed by this operation.
Possible valuestasks.createtasks.completenotifications.createdecision_requests.createdecision_requests.cancelbookings.createbookings.cancelbookings.reschedulebookingPayments.sendLinkmessages.sendmessages.requestInfomessages.prepareReplycalls.startlibrary.sendcatalog.sendquotes.recordOutcomeassistants.run
created_atstring Formatdate-timeWhen this operation was accepted, in UTC.
updated_atstring Formatdate-timeWhen its current state was recorded, in UTC.
resultTaskReceipt | NotificationReceipt | DecisionRequestReceipt | BookingReceipt | BookingPaymentReceipt | MessageReceipt | RequestedInfoReceipt | FirstReplyReceipt | CallStartReceipt | QuoteOutcomeReceipt | AssistantRunReceipt | LibraryDeliveryReceipt | CatalogSendReceipt NullableMinimal public resource receipt after success, otherwise null.
errorobject NullableSafe failure information, or null.
codestringClosed failure code without provider text, task content or credentials.
Possible valuesauthorization_failedconfiguration_missinginput_expiredinvalid_inputresource_missingexecution_failedoutcome_unknown
Errors
- 400
idempotency_key_requiredIdempotency key required - 400
team_requiredTeam required - 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
resource_missingResource not found - 404
team_not_accessibleTeam not accessible - 409
idempotency_key_reusedIdempotency key reused - 409
idempotency_in_progressWrite in progress - 409
outcome_unknownWrite outcome unknown - 409
capture_not_readyTeam data is still being prepared - 429
quota_exceededDaily quota exceeded
# Fictional fixtures: replace references and dates with current API values.
# Send consent or confirmation attestations only after the person confirms.
curl -X POST 'https://api.totemstudio.ai/v1/bookings' \
-H "Authorization: Bearer $TOTEM_API_KEY" \
-H "Totem-Team: $TOTEM_TEAM_ID" \
-H "Idempotency-Key: ${TOTEM_IDEMPOTENCY_KEY:?Set one unique key for this logical write}" \
-H "Content-Type: application/json" \
--data '{"lead_id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG", "offer": "tcal1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "customer_name": "Alex Rivera"}'{
"object": "operation",
"id": "op_m3yGe1tkVy6hn3m9LH9m7e640wg0O",
"status": "queued",
"endpoint": "bookings.create",
"created_at": "2026-10-01T09:30:00.000Z",
"updated_at": "2026-10-01T09:30:00.000Z",
"result": null,
"error": null
}GET /
Returns one booking by its id. A booking this key cannot read, or one that was removed, answers 404 resource_missing.
Path parameters
idstring Required ID prefixbkg_…The booking's public id.
Returns
Returns a Booking object.
idstring ID prefixbkg_…Public id of the record.
objectstringAlways
booking.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team this record belongs to.
leadstring Nullable ID prefixlead_…The lead this booking belongs to, or null for a booking without a lead or when the lead no longer exists. Names and contact details appear only on the lead.
kindstringservice_booking(booked for a bookable service, by the AI, a customer or a person),calendar_event(an event from the connected calendar) orexternal_import(synced from an external booking system or read from a portal email). A booking from an origin this version does not know is reported ascalendar_event.Possible valuesservice_bookingcalendar_eventexternal_import
servicestring Nullable ID prefixsvc_…The booked service (see
/booking_services) on aservice_booking; null otherwise.statusstring Nullablescheduled,rescheduled,cancelled,postponed,attended,no_showorteam_no_show(attendance is recorded only by people); null for a value this version does not know.rescheduledmeans the booking was moved in place and its times are the new ones; a booking the AI replaced with a new one readscancelled, withrescheduled_toset.Possible valuesscheduledrescheduledcancelledpostponedattendedno_showteam_no_show
starts_atstring Nullable Formatdate-timeWhen the booking starts (UTC).
ends_atstring Nullable Formatdate-timeWhen the booking ends (UTC).
meeting_typestring Nullableonline,in_personorphone; null when not stored.Possible valuesonlinein_personphone
sourcestring NullableWho booked it:
ai,customer,operatoror an authorizedintegration; null when not recorded.Possible valuesaicustomeroperatorintegration
rescheduled_fromstring Nullable ID prefixbkg_…The booking this one replaced in a reschedule, or null. For a few seconds the replaced booking can still read
scheduled; bookings rescheduled before Totem started recording this link may not have it.rescheduled_tostring Nullable ID prefixbkg_…The booking that replaced this one in a reschedule, or null. When it is set, this booking reads
cancelled.created_atstring Nullable Formatdate-timeWhen the booking was recorded in Totem (UTC).
versioninteger Range ≥ 1Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.
updated_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
Errors
- 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
resource_missingResource not found - 409
capture_not_readyTeam data is still being prepared
curl 'https://api.totemstudio.ai/v1/bookings/bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0' \
-H "Authorization: Bearer $TOTEM_API_KEY"{
"id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
"object": "booking",
"livemode": false,
"team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"kind": "service_booking",
"service": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"status": "scheduled",
"starts_at": "2026-10-06T15:00:00.000Z",
"ends_at": "2026-10-06T15:30:00.000Z",
"meeting_type": "in_person",
"source": "ai",
"rescheduled_from": null,
"rescheduled_to": null,
"created_at": "2026-10-01T09:01:00.000Z",
"version": 1,
"updated_at": "2026-10-01T09:01:02.000Z"
}PATCH /
Processes one system-analyzer callback for the current retained meeting artifact and exact booking incarnation under current delegation and source-bound context. Updates only summary and sentiment; the receipt never claims deferred work completed. The original dispatch admits one logical callback; reuse its Idempotency-Key after uncertainty.
Path parameters
idstring Required ID prefixbkg_…The booking's public id.
Headers
Idempotency-Keystring Required 1–255 chars Pattern^[\x21-\x7e]+$One unique visible-ASCII key per logical write; reuse exactly on retries and never retry outcome_unknown automatically.
Request body
System-analysis-only meeting summary callback.
summarystring ≤ 8000 charsFallback analyzer summary for the exact retained meeting artifact.
sentimentstring ≤ 120 charsMeeting summary sentiment, without lead custom-field synchronization or notes.
Returns
Returns an AnalysisReceipt object.
objectstringAlways analysis_receipt.
resource_kindstringResource whose current analysis was processed.
Possible valuescallmeeting
summary_updatedbooleanWhether this logical callback committed its eligible summary.
custom_values_updatedbooleanWhether this callback committed any eligible call extraction into its current retained lead; always false for meetings.
finite_statusstringStatus of requested canonical finite fields. Deferred or unavailable is never a completed paid classification.
Possible valuesnot_requestedapplieddeferredunavailable
Errors
- 400
idempotency_key_requiredIdempotency key required - 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
resource_missingResource not found - 409
idempotency_key_reusedIdempotency key reused - 409
idempotency_in_progressWrite in progress - 409
outcome_unknownWrite outcome unknown - 409
capture_not_readyTeam data is still being prepared - 429
quota_exceededDaily quota exceeded
# Fictional fixtures: replace references and dates with current API values.
# Send consent or confirmation attestations only after the person confirms.
curl -X PATCH 'https://api.totemstudio.ai/v1/bookings/bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0/analysis' \
-H "Authorization: Bearer $TOTEM_API_KEY" \
-H "Idempotency-Key: ${TOTEM_IDEMPOTENCY_KEY:?Set one unique key for this logical write}" \
-H "Content-Type: application/json" \
--data '{"summary": "The customer requested a revised proposal."}'{
"object": "analysis_receipt",
"resource_kind": "meeting",
"summary_updated": true,
"custom_values_updated": false,
"finite_status": "deferred"
}POST /
Returns bounded service-option choices and encrypted offers bound to this integration, team and lead; select an option when several are returned. Offers expire within fifteen minutes while provider resources and raw slot proofs stay private. This read reserves no capacity.
Headers
Totem-Teamstring Conditional ID prefixteam_…The team to read, as a
team_…id. Omit it when the key reads one team; it is required when the key reads several (400 team_required). When you send it, it must name a team the key reads: a malformed id gets400 invalid_request, and a team outside the key gets404 team_not_accessible, as does a request without it once the key reads no team at all.
Request body
Read current availability or choose one of the returned service options.
lead_idstring Required ID prefixlead_…Current lead in the selected team.
service_idstring Required ID prefixsvc_…Current bookable service.
optionstring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
additional_servicesArray<object> 1–4 itemsUp to four additional services for one joint Koibox visit. Resolve multi-option choices first; never compare independent starts to infer an overlap.
service_idstring Required ID prefixsvc_…Another current service for the same visit.
optionstring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
from_atstring Formatdate-timeAn instant in UTC.
to_atstring Formatdate-timeAn instant in UTC.
party_sizeinteger Range 1–10000People attending, when supported by this service.
resource_unitsinteger Range 1–10000Resource units required by this service.
booking_pagestring 1–160 charsPublished booking page slug when required to disambiguate staffing.
Returns
Returns a BookingAvailability object.
objectstringAlways booking_availability.
service_idstring ID prefixsvc_…Selected service.
timezonestring 1–100 charsCurrent business timezone.
expires_atstring Formatdate-timeAn instant in UTC.
optionsArray<object> ≤ 50 itemsCurrent permitted service options. Select one when several are returned.
idstring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
labelstring 1–300 charsOption label.
duration_minutesinteger Range ≤ 1440Current option duration.
slotsArray<object> ≤ 20 itemsBounded available slots with opaque offers; reading them does not reserve capacity.
offerstring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
starts_atstring Formatdate-timeAn instant in UTC.
ends_atstring Formatdate-timeAn instant in UTC.
starts_at_businessstring 1–64 charsStart with the business timezone offset.
ends_at_businessstring 1–64 charsEnd with the business timezone offset.
remaining_seatsinteger Nullable Range ≥ 0Remaining seats when applicable.
remaining_unitsinteger Nullable Range ≥ 0Remaining resource units when applicable.
Errors
- 400
team_requiredTeam required - 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
resource_missingResource not found - 404
team_not_accessibleTeam not accessible - 409
capture_not_readyTeam data is still being prepared
# Fictional fixtures: replace references and dates with current API values.
# Send consent or confirmation attestations only after the person confirms.
curl -X POST 'https://api.totemstudio.ai/v1/bookings/availability' \
-H "Authorization: Bearer $TOTEM_API_KEY" \
-H "Totem-Team: $TOTEM_TEAM_ID" \
-H "Content-Type: application/json" \
--data '{"lead_id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG", "service_id": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5"}'{
"object": "booking_availability",
"service_id": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"timezone": "Europe/Madrid",
"expires_at": "2026-10-01T09:30:00.000Z",
"options": [],
"slots": []
}GET /
Returns the current canonical booking projection and its action ETag from the same source snapshot. Use that ETag in If-Match when cancelling or moving the booking. This management view has no capture version and does not alter the existing versioned booking inventory.
Path parameters
idstring Required ID prefixbkg_…The booking's public id.
Returns
Returns a BookingManagement object.
teamstring ID prefixteam_…The team this record belongs to.
leadstring Nullable ID prefixlead_…The lead this booking belongs to, or null for a booking without a lead or when the lead no longer exists. Names and contact details appear only on the lead.
kindstringservice_booking(booked for a bookable service, by the AI, a customer or a person),calendar_event(an event from the connected calendar) orexternal_import(synced from an external booking system or read from a portal email). A booking from an origin this version does not know is reported ascalendar_event.Possible valuesservice_bookingcalendar_eventexternal_import
servicestring Nullable ID prefixsvc_…The booked service (see
/booking_services) on aservice_booking; null otherwise.statusstring Nullablescheduled,rescheduled,cancelled,postponed,attended,no_showorteam_no_show(attendance is recorded only by people); null for a value this version does not know.rescheduledmeans the booking was moved in place and its times are the new ones; a booking the AI replaced with a new one readscancelled, withrescheduled_toset.Possible valuesscheduledrescheduledcancelledpostponedattendedno_showteam_no_show
starts_atstring Nullable Formatdate-timeWhen the booking starts (UTC).
ends_atstring Nullable Formatdate-timeWhen the booking ends (UTC).
meeting_typestring Nullableonline,in_personorphone; null when not stored.Possible valuesonlinein_personphone
sourcestring NullableWho booked it:
ai,customer,operatoror an authorizedintegration; null when not recorded.Possible valuesaicustomeroperatorintegration
rescheduled_fromstring Nullable ID prefixbkg_…The booking this one replaced in a reschedule, or null. For a few seconds the replaced booking can still read
scheduled; bookings rescheduled before Totem started recording this link may not have it.rescheduled_tostring Nullable ID prefixbkg_…The booking that replaced this one in a reschedule, or null. When it is set, this booking reads
cancelled.created_atstring Nullable Formatdate-timeWhen the booking was recorded in Totem (UTC).
objectstringAlways booking_management.
idstring ID prefixbkg_…Current booking.
etagstring Pattern^"bka_[a-f0-9]{64}"$Strong action validator from this exact current source; use it in If-Match for cancellation or rescheduling.
Errors
- 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
resource_missingResource not found - 409
capture_not_readyTeam data is still being prepared
curl 'https://api.totemstudio.ai/v1/bookings/bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0/management' \
-H "Authorization: Bearer $TOTEM_API_KEY"{
"team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"kind": "service_booking",
"service": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"status": "scheduled",
"starts_at": "2026-10-06T15:00:00.000Z",
"ends_at": "2026-10-06T15:30:00.000Z",
"meeting_type": "in_person",
"source": "ai",
"rescheduled_from": null,
"rescheduled_to": null,
"created_at": "2026-10-01T09:01:00.000Z",
"object": "booking_management",
"id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
"etag": "\"bka_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\""
}POST /
Lists up to twenty currently manageable bookings of the authorized canonical lead with current action ETags. Hosted assistants remain restricted to their current retained conversation lead and permitted services. complete is false when the bounded source query may omit further records.
Headers
Totem-Teamstring Conditional ID prefixteam_…The team to read, as a
team_…id. Omit it when the key reads one team; it is required when the key reads several (400 team_required). When you send it, it must name a team the key reads: a malformed id gets400 invalid_request, and a team outside the key gets404 team_not_accessible, as does a request without it once the key reads no team at all.
Request body
Current bookings of the authorized lead.
lead_idstring Required ID prefixlead_…Current lead in the selected team.
from_atstring Formatdate-timeAn instant in UTC.
to_atstring Formatdate-timeAn instant in UTC.
Returns
Returns a BookingManagementList object.
objectstringAlways booking_management_list.
At most twenty current manageable bookings for the authorized lead.
completebooleanFalse when the bounded query may omit additional owned bookings.
Errors
- 400
team_requiredTeam required - 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
resource_missingResource not found - 404
team_not_accessibleTeam not accessible - 409
capture_not_readyTeam data is still being prepared
# Fictional fixtures: replace references and dates with current API values.
# Send consent or confirmation attestations only after the person confirms.
curl -X POST 'https://api.totemstudio.ai/v1/bookings/for-lead' \
-H "Authorization: Bearer $TOTEM_API_KEY" \
-H "Totem-Team: $TOTEM_TEAM_ID" \
-H "Content-Type: application/json" \
--data '{"lead_id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG"}'{
"object": "booking_management_list",
"data": [
{
"team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"kind": "service_booking",
"service": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"status": "scheduled",
"starts_at": "2026-10-06T15:00:00.000Z",
"ends_at": "2026-10-06T15:30:00.000Z",
"meeting_type": "in_person",
"source": "ai",
"rescheduled_from": null,
"rescheduled_to": null,
"created_at": "2026-10-01T09:01:00.000Z",
"object": "booking_management",
"id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
"etag": "\"bka_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\""
}
],
"complete": true
}POST /
Accepts canonical cancellation of this owned booking using the management view ETag. Ownership, source incarnation and current version are checked before the actual provider action. An uncertain provider result remains unknown; cancellation of an operation is not a claim that an already accepted booking action was undone.
Path parameters
idstring Required ID prefixbkg_…The booking's public id.
Headers
Idempotency-Keystring Required 1–255 chars Pattern^[\x21-\x7e]+$One unique visible-ASCII key per logical write; reuse exactly on retries and never retry outcome_unknown automatically.
If-Matchstring Required 1–300 chars Pattern^"bka_[a-f0-9]{64}"$The current strong resource ETag, including its quotes; weak tags, wildcards, lists and another resource’s validator are refused.
Returns
Returns an Operation object.
objectstringAlways operation.
idstring ID prefixop_…Opaque durable operation id.
statusstringDurable operation state; outcome_unknown must be reconciled before repeating the effect.
Possible valuesqueuedrunningsucceededfailedcancelledoutcome_unknown
endpointstringThe original endpoint executed by this operation.
Possible valuestasks.createtasks.completenotifications.createdecision_requests.createdecision_requests.cancelbookings.createbookings.cancelbookings.reschedulebookingPayments.sendLinkmessages.sendmessages.requestInfomessages.prepareReplycalls.startlibrary.sendcatalog.sendquotes.recordOutcomeassistants.run
created_atstring Formatdate-timeWhen this operation was accepted, in UTC.
updated_atstring Formatdate-timeWhen its current state was recorded, in UTC.
resultTaskReceipt | NotificationReceipt | DecisionRequestReceipt | BookingReceipt | BookingPaymentReceipt | MessageReceipt | RequestedInfoReceipt | FirstReplyReceipt | CallStartReceipt | QuoteOutcomeReceipt | AssistantRunReceipt | LibraryDeliveryReceipt | CatalogSendReceipt NullableMinimal public resource receipt after success, otherwise null.
errorobject NullableSafe failure information, or null.
codestringClosed failure code without provider text, task content or credentials.
Possible valuesauthorization_failedconfiguration_missinginput_expiredinvalid_inputresource_missingexecution_failedoutcome_unknown
Errors
- 400
idempotency_key_requiredIdempotency key required - 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
resource_missingResource not found - 409
idempotency_key_reusedIdempotency key reused - 409
idempotency_in_progressWrite in progress - 409
outcome_unknownWrite outcome unknown - 409
capture_not_readyTeam data is still being prepared - 412
version_conflictLead version conflict - 429
quota_exceededDaily quota exceeded
# Fictional fixtures: replace references and dates with current API values.
# Send consent or confirmation attestations only after the person confirms.
curl -X POST 'https://api.totemstudio.ai/v1/bookings/bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0/cancel' \
-H "Authorization: Bearer $TOTEM_API_KEY" \
-H "Idempotency-Key: ${TOTEM_IDEMPOTENCY_KEY:?Set one unique key for this logical write}" \
-H "If-Match: ${TOTEM_IF_MATCH:?Set the current quoted resource ETag}" \
-H "Content-Type: application/json" \
--data '{}'{
"object": "operation",
"id": "op_m3yGe1tkVy6hn3m9LH9m7e640wg0O",
"status": "queued",
"endpoint": "bookings.cancel",
"created_at": "2026-10-01T09:30:00.000Z",
"updated_at": "2026-10-01T09:30:00.000Z",
"result": null,
"error": null
}POST /
Moves the owned booking to the requested instant while preserving canonical service, professional, capacity and paid-reservation rules. Use the current management ETag. Replacement and cancellation receipts follow the canonical lifecycle; an accepted replacement is never deleted merely because its local receipt became uncertain.
Path parameters
idstring Required ID prefixbkg_…The booking's public id.
Headers
Idempotency-Keystring Required 1–255 chars Pattern^[\x21-\x7e]+$One unique visible-ASCII key per logical write; reuse exactly on retries and never retry outcome_unknown automatically.
If-Matchstring Required 1–300 chars Pattern^"bka_[a-f0-9]{64}"$The current strong resource ETag, including its quotes; weak tags, wildcards, lists and another resource’s validator are refused.
Request body
Move the owned booking while preserving its service, professional and payment rules.
starts_atstring Required Formatdate-timeAn instant in UTC.
Returns
Returns an Operation object.
objectstringAlways operation.
idstring ID prefixop_…Opaque durable operation id.
statusstringDurable operation state; outcome_unknown must be reconciled before repeating the effect.
Possible valuesqueuedrunningsucceededfailedcancelledoutcome_unknown
endpointstringThe original endpoint executed by this operation.
Possible valuestasks.createtasks.completenotifications.createdecision_requests.createdecision_requests.cancelbookings.createbookings.cancelbookings.reschedulebookingPayments.sendLinkmessages.sendmessages.requestInfomessages.prepareReplycalls.startlibrary.sendcatalog.sendquotes.recordOutcomeassistants.run
created_atstring Formatdate-timeWhen this operation was accepted, in UTC.
updated_atstring Formatdate-timeWhen its current state was recorded, in UTC.
resultTaskReceipt | NotificationReceipt | DecisionRequestReceipt | BookingReceipt | BookingPaymentReceipt | MessageReceipt | RequestedInfoReceipt | FirstReplyReceipt | CallStartReceipt | QuoteOutcomeReceipt | AssistantRunReceipt | LibraryDeliveryReceipt | CatalogSendReceipt NullableMinimal public resource receipt after success, otherwise null.
errorobject NullableSafe failure information, or null.
codestringClosed failure code without provider text, task content or credentials.
Possible valuesauthorization_failedconfiguration_missinginput_expiredinvalid_inputresource_missingexecution_failedoutcome_unknown
Errors
- 400
idempotency_key_requiredIdempotency key required - 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
resource_missingResource not found - 409
idempotency_key_reusedIdempotency key reused - 409
idempotency_in_progressWrite in progress - 409
outcome_unknownWrite outcome unknown - 409
capture_not_readyTeam data is still being prepared - 412
version_conflictLead version conflict - 429
quota_exceededDaily quota exceeded
# Fictional fixtures: replace references and dates with current API values.
# Send consent or confirmation attestations only after the person confirms.
curl -X POST 'https://api.totemstudio.ai/v1/bookings/bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0/reschedule' \
-H "Authorization: Bearer $TOTEM_API_KEY" \
-H "Idempotency-Key: ${TOTEM_IDEMPOTENCY_KEY:?Set one unique key for this logical write}" \
-H "If-Match: ${TOTEM_IF_MATCH:?Set the current quoted resource ETag}" \
-H "Content-Type: application/json" \
--data '{"starts_at": "2026-11-06T15:00:00.000Z"}'{
"object": "operation",
"id": "op_m3yGe1tkVy6hn3m9LH9m7e640wg0O",
"status": "queued",
"endpoint": "bookings.reschedule",
"created_at": "2026-10-01T09:30:00.000Z",
"updated_at": "2026-10-01T09:30:00.000Z",
"result": null,
"error": null
}GET /
Lists every bookable service of the team in one response that is never paged and takes no limit or cursor. Bookable services are not in the changes feed: read this list when you start syncing a team, again when a booking names a service you do not know, and at least once a day. A deleted service drops out of the list while its bookings keep naming its id, so keep a service name you need from an earlier read.
Headers
Totem-Teamstring Conditional ID prefixteam_…The team to read, as a
team_…id. Omit it when the key reads one team; it is required when the key reads several (400 team_required). When you send it, it must name a team the key reads: a malformed id gets400 invalid_request, and a team outside the key gets404 team_not_accessible, as does a request without it once the key reads no team at all.
Returns
Returns a list of BookingService objects.
objectstringAlways
list.dataArray<BookingService>Every bookable service of the team.
has_morebooleanAlways
false: this list is never paged.next_cursornull NullableAlways
null: there is no next page.
Errors
- 400
team_requiredTeam required - 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
team_not_accessibleTeam not accessible - 409
capture_not_readyTeam data is still being prepared - 429
quota_exceededDaily quota exceeded
curl 'https://api.totemstudio.ai/v1/booking_services' \
-H "Authorization: Bearer $TOTEM_API_KEY" \
-H "Totem-Team: $TOTEM_TEAM_ID"{
"object": "list",
"data": [
{
"id": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"object": "booking_service",
"livemode": false,
"team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"name": "First visit",
"meeting_type": "in_person"
}
],
"has_more": false,
"next_cursor": null
}POST /
Reads current enabled services, descriptive options, public payment terms and published booking pages, preserving hosted assistant allowlists. No lead or captured inventory is required; availability supplies actionable option and slot references. The cursor is bound to this integration and current source configuration.
Headers
Totem-Teamstring Conditional ID prefixteam_…The team to read, as a
team_…id. Omit it when the key reads one team; it is required when the key reads several (400 team_required). When you send it, it must name a team the key reads: a malformed id gets400 invalid_request, and a team outside the key gets404 team_not_accessible, as does a request without it once the key reads no team at all.
Request body
Read current services without a lead or captured inventory.
querystring ≤ 200 charsRanks recognizable service names without hiding permitted fallbacks.
limitinteger Range 1–50Maximum services in this page, from 1 to 50.
cursorstring ≤ 16384 chars Pattern^tcnt1\.[A-Za-z0-9_-]+$Opaque cursor from this principal, source and search.
Returns
Returns a CalendarServiceOptionsResult object.
objectstringAlways booking_service_options.
dataArray<object> ≤ 50 itemsCurrent permitted services in this page.
service_slugstring May be absent ≤ 64 charsConfigured service ID shown in Booking settings.
service_idstringActual current service ID, shared with availability.
namestring ≤ 500 charsConfigured service name.
when_to_usestring ≤ 8000 charsTeam-authored service guidance.
meeting_typestringHow the service happens.
Possible valuesonlinein_personphone
duration_minutesintegerDefault service duration in minutes.
min_notice_minutesinteger Range ≥ 0Configured minimum notice in minutes.
horizon_daysintegerConfigured booking horizon in days.
optionsArray<object> ≤ 50 itemsCurrent permitted option labels and public terms.
labelstring ≤ 500 charsActual configured option label.
duration_minutesintegerConfigured option duration in minutes.
when_to_usestring ≤ 8000 charsTeam-authored choice guidance.
paymentobjectPublic terms only, without merchant/provider identifiers or payment URLs.
modestringCurrent public payment policy state.
Possible valuesnonelinkrequiredunavailable
amount_minorinteger NullableFixed amount in minor units, or null for a variable or unavailable amount.
currencystring Nullable ≤ 3 charsCurrency of the fixed amount, or null.
basisstring NullableBasis of a fixed amount, or null.
Possible valuesper_bookingper_personper_resource_unit
booking_pagesArray<object> ≤ 50 itemsActual enabled pages for this service.
titlestring ≤ 500 charsPublished booking-page label.
urlstring Nullable Formaturi≤ 2048 charsCanonical published Totem booking-page URL, or null when unavailable.
timezonestring 1–128 charsTeam business timezone.
completebooleanWhether the current search has no further page.
next_cursorstring Nullable ≤ 16384 charsOpaque next-page cursor, or null.
Errors
- 400
team_requiredTeam required - 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
resource_missingResource not found - 404
team_not_accessibleTeam not accessible - 409
capture_not_readyTeam data is still being prepared
# Fictional fixtures: replace references and dates with current API values.
# Send consent or confirmation attestations only after the person confirms.
curl -X POST 'https://api.totemstudio.ai/v1/booking_services/options' \
-H "Authorization: Bearer $TOTEM_API_KEY" \
-H "Totem-Team: $TOTEM_TEAM_ID" \
-H "Content-Type: application/json" \
--data '{}'{
"object": "booking_service_options",
"data": [],
"timezone": "Europe/Madrid",
"complete": true,
"next_cursor": null
}POST /
Reads at most five owned current payment requests and active checkout URLs, revalidating the merchant and current checkout generation through the canonical payment ledger. Payment completion is verified with the merchant provider, never inferred from a caller flag. Raw Stripe accounts, sessions and customer records remain private.
Headers
Totem-Teamstring Conditional ID prefixteam_…The team to read, as a
team_…id. Omit it when the key reads one team; it is required when the key reads several (400 team_required). When you send it, it must name a team the key reads: a malformed id gets400 invalid_request, and a team outside the key gets404 team_not_accessible, as does a request without it once the key reads no team at all.
Request body
Read current owned booking-payment requests.
lead_idstring Required ID prefixlead_…Current lead in the selected team.
referencestring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
Returns
Returns a BookingPaymentList object.
objectstringAlways booking_payment_list.
Current owned payment requests, at most five.
completebooleanFalse when the bounded query may omit additional current requests.
Errors
- 400
team_requiredTeam required - 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
resource_missingResource not found - 404
team_not_accessibleTeam not accessible - 409
capture_not_readyTeam data is still being prepared
# Fictional fixtures: replace references and dates with current API values.
# Send consent or confirmation attestations only after the person confirms.
curl -X POST 'https://api.totemstudio.ai/v1/booking-payments/get' \
-H "Authorization: Bearer $TOTEM_API_KEY" \
-H "Totem-Team: $TOTEM_TEAM_ID" \
-H "Content-Type: application/json" \
--data '{"lead_id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG"}'{
"object": "booking_payment_list",
"payments": [
{
"object": "booking_payment",
"reference": "tcal1.bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"status": "pending",
"amount_minor": 2500,
"currency": "EUR",
"checkout_url": null,
"slot_held": false,
"hold_expires_at": null,
"booking_id": null
}
],
"complete": true
}POST /
Requires explicit consent_confirmed:true, fresh send authority and the current verified recipient; sender, template, URL, amount and currency come from server policy. Canonical delivery honors configured Prelude, and only acceptance of the target template proves link delivery. Sending a link never confirms a booking.
Headers
Totem-Teamstring Conditional ID prefixteam_…The team to read, as a
team_…id. Omit it when the key reads one team; it is required when the key reads several (400 team_required). When you send it, it must name a team the key reads: a malformed id gets400 invalid_request, and a team outside the key gets404 team_not_accessible, as does a request without it once the key reads no team at all.Idempotency-Keystring Required 1–255 chars Pattern^[\x21-\x7e]+$One unique visible-ASCII key per logical write; reuse exactly on retries and never retry outcome_unknown automatically.
Request body
Send the current transactional link to the current verified recipient after explicit caller attestation; actor authority remains server-owned.
lead_idstring Required ID prefixlead_…Current lead in the selected team.
referencestring Required 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
consent_confirmedboolean RequiredExplicit caller attestation that sending this payment link was confirmed. This is not a server claim that the customer consented.
Valuetrue
Returns
Returns an Operation object.
objectstringAlways operation.
idstring ID prefixop_…Opaque durable operation id.
statusstringDurable operation state; outcome_unknown must be reconciled before repeating the effect.
Possible valuesqueuedrunningsucceededfailedcancelledoutcome_unknown
endpointstringThe original endpoint executed by this operation.
Possible valuestasks.createtasks.completenotifications.createdecision_requests.createdecision_requests.cancelbookings.createbookings.cancelbookings.reschedulebookingPayments.sendLinkmessages.sendmessages.requestInfomessages.prepareReplycalls.startlibrary.sendcatalog.sendquotes.recordOutcomeassistants.run
created_atstring Formatdate-timeWhen this operation was accepted, in UTC.
updated_atstring Formatdate-timeWhen its current state was recorded, in UTC.
resultTaskReceipt | NotificationReceipt | DecisionRequestReceipt | BookingReceipt | BookingPaymentReceipt | MessageReceipt | RequestedInfoReceipt | FirstReplyReceipt | CallStartReceipt | QuoteOutcomeReceipt | AssistantRunReceipt | LibraryDeliveryReceipt | CatalogSendReceipt NullableMinimal public resource receipt after success, otherwise null.
errorobject NullableSafe failure information, or null.
codestringClosed failure code without provider text, task content or credentials.
Possible valuesauthorization_failedconfiguration_missinginput_expiredinvalid_inputresource_missingexecution_failedoutcome_unknown
Errors
- 400
idempotency_key_requiredIdempotency key required - 400
team_requiredTeam required - 403
team_state_restrictedTeam restricted - 403
sector_restrictedSector restricted - 404
resource_missingResource not found - 404
team_not_accessibleTeam not accessible - 409
idempotency_key_reusedIdempotency key reused - 409
idempotency_in_progressWrite in progress - 409
outcome_unknownWrite outcome unknown - 409
capture_not_readyTeam data is still being prepared - 429
quota_exceededDaily quota exceeded
# Fictional fixtures: replace references and dates with current API values.
# Send consent or confirmation attestations only after the person confirms.
curl -X POST 'https://api.totemstudio.ai/v1/booking-payments/send-link' \
-H "Authorization: Bearer $TOTEM_API_KEY" \
-H "Totem-Team: $TOTEM_TEAM_ID" \
-H "Idempotency-Key: ${TOTEM_IDEMPOTENCY_KEY:?Set one unique key for this logical write}" \
-H "Content-Type: application/json" \
--data '{"lead_id": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG", "reference": "tcal1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "consent_confirmed": true}'{
"object": "operation",
"id": "op_m3yGe1tkVy6hn3m9LH9m7e640wg0O",
"status": "queued",
"endpoint": "bookingPayments.sendLink",
"created_at": "2026-10-01T09:30:00.000Z",
"updated_at": "2026-10-01T09:30:00.000Z",
"result": null,
"error": null
}A booking and its kind: an appointment for a bookable service, an event from the connected calendar, or a booking imported from another system.
Attributes
idstring ID prefixbkg_…Public id of the record.
objectstringAlways
booking.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team this record belongs to.
leadstring Nullable ID prefixlead_…The lead this booking belongs to, or null for a booking without a lead or when the lead no longer exists. Names and contact details appear only on the lead.
kindstringservice_booking(booked for a bookable service, by the AI, a customer or a person),calendar_event(an event from the connected calendar) orexternal_import(synced from an external booking system or read from a portal email). A booking from an origin this version does not know is reported ascalendar_event.Possible valuesservice_bookingcalendar_eventexternal_import
servicestring Nullable ID prefixsvc_…The booked service (see
/booking_services) on aservice_booking; null otherwise.statusstring Nullablescheduled,rescheduled,cancelled,postponed,attended,no_showorteam_no_show(attendance is recorded only by people); null for a value this version does not know.rescheduledmeans the booking was moved in place and its times are the new ones; a booking the AI replaced with a new one readscancelled, withrescheduled_toset.Possible valuesscheduledrescheduledcancelledpostponedattendedno_showteam_no_show
starts_atstring Nullable Formatdate-timeWhen the booking starts (UTC).
ends_atstring Nullable Formatdate-timeWhen the booking ends (UTC).
meeting_typestring Nullableonline,in_personorphone; null when not stored.Possible valuesonlinein_personphone
sourcestring NullableWho booked it:
ai,customer,operatoror an authorizedintegration; null when not recorded.Possible valuesaicustomeroperatorintegration
rescheduled_fromstring Nullable ID prefixbkg_…The booking this one replaced in a reschedule, or null. For a few seconds the replaced booking can still read
scheduled; bookings rescheduled before Totem started recording this link may not have it.rescheduled_tostring Nullable ID prefixbkg_…The booking that replaced this one in a reschedule, or null. When it is set, this booking reads
cancelled.created_atstring Nullable Formatdate-timeWhen the booking was recorded in Totem (UTC).
versioninteger Range ≥ 1Increases every time one of the record's exported fields changes. Apply a change only when its version is greater than the one you hold.
updated_atstring Formatdate-timeWhen Totem recorded this version (UTC). It is not the time the business event happened.
{
"id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
"object": "booking",
"livemode": false,
"team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"kind": "service_booking",
"service": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"status": "scheduled",
"starts_at": "2026-10-06T15:00:00.000Z",
"ends_at": "2026-10-06T15:30:00.000Z",
"meeting_type": "in_person",
"source": "ai",
"rescheduled_from": null,
"rescheduled_to": null,
"created_at": "2026-10-01T09:01:00.000Z",
"version": 1,
"updated_at": "2026-10-01T09:01:02.000Z"
}A service customers can book, with its meeting type.
Attributes
idstring ID prefixsvc_…Public id of the record.
objectstringAlways
booking_service.livemodebooleantruefor real data;falsein example data.teamstring ID prefixteam_…The team this record belongs to.
namestring Nullable ≥ 1 charsThe service's name, or null when none is stored.
meeting_typestringHow the service happens:
online(the default when none is stored),in_personorphone.Possible valuesonlinein_personphone
{
"id": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"object": "booking_service",
"livemode": false,
"team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"name": "First visit",
"meeting_type": "in_person"
}Source-backed service discovery for tenant integrations and actual hosted assistants.
Attributes
objectstringAlways booking_service_options.
dataArray<object> ≤ 50 itemsCurrent permitted services in this page.
service_slugstring May be absent ≤ 64 charsConfigured service ID shown in Booking settings.
service_idstringActual current service ID, shared with availability.
namestring ≤ 500 charsConfigured service name.
when_to_usestring ≤ 8000 charsTeam-authored service guidance.
meeting_typestringHow the service happens.
Possible valuesonlinein_personphone
duration_minutesintegerDefault service duration in minutes.
min_notice_minutesinteger Range ≥ 0Configured minimum notice in minutes.
horizon_daysintegerConfigured booking horizon in days.
optionsArray<object> ≤ 50 itemsCurrent permitted option labels and public terms.
labelstring ≤ 500 charsActual configured option label.
duration_minutesintegerConfigured option duration in minutes.
when_to_usestring ≤ 8000 charsTeam-authored choice guidance.
paymentobjectPublic terms only, without merchant/provider identifiers or payment URLs.
modestringCurrent public payment policy state.
Possible valuesnonelinkrequiredunavailable
amount_minorinteger NullableFixed amount in minor units, or null for a variable or unavailable amount.
currencystring Nullable ≤ 3 charsCurrency of the fixed amount, or null.
basisstring NullableBasis of a fixed amount, or null.
Possible valuesper_bookingper_personper_resource_unit
booking_pagesArray<object> ≤ 50 itemsActual enabled pages for this service.
titlestring ≤ 500 charsPublished booking-page label.
urlstring Nullable Formaturi≤ 2048 charsCanonical published Totem booking-page URL, or null when unavailable.
timezonestring 1–128 charsTeam business timezone.
completebooleanWhether the current search has no further page.
next_cursorstring Nullable ≤ 16384 charsOpaque next-page cursor, or null.
{
"object": "booking_service_options",
"data": [],
"timezone": "Europe/Madrid",
"complete": true,
"next_cursor": null
}Bounded public choices and offers without provider or raw resource identifiers.
Attributes
objectstringAlways booking_availability.
service_idstring ID prefixsvc_…Selected service.
timezonestring 1–100 charsCurrent business timezone.
expires_atstring Formatdate-timeAn instant in UTC.
optionsArray<object> ≤ 50 itemsCurrent permitted service options. Select one when several are returned.
idstring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
labelstring 1–300 charsOption label.
duration_minutesinteger Range ≤ 1440Current option duration.
slotsArray<object> ≤ 20 itemsBounded available slots with opaque offers; reading them does not reserve capacity.
offerstring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
starts_atstring Formatdate-timeAn instant in UTC.
ends_atstring Formatdate-timeAn instant in UTC.
starts_at_businessstring 1–64 charsStart with the business timezone offset.
ends_at_businessstring 1–64 charsEnd with the business timezone offset.
remaining_seatsinteger Nullable Range ≥ 0Remaining seats when applicable.
remaining_unitsinteger Nullable Range ≥ 0Remaining resource units when applicable.
{
"object": "booking_availability",
"service_id": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"timezone": "Europe/Madrid",
"expires_at": "2026-10-01T09:30:00.000Z",
"options": [],
"slots": []
}Fresh management projection and action ETag from the same source snapshot; not a capture version.
Attributes
teamstring ID prefixteam_…The team this record belongs to.
leadstring Nullable ID prefixlead_…The lead this booking belongs to, or null for a booking without a lead or when the lead no longer exists. Names and contact details appear only on the lead.
kindstringservice_booking(booked for a bookable service, by the AI, a customer or a person),calendar_event(an event from the connected calendar) orexternal_import(synced from an external booking system or read from a portal email). A booking from an origin this version does not know is reported ascalendar_event.Possible valuesservice_bookingcalendar_eventexternal_import
servicestring Nullable ID prefixsvc_…The booked service (see
/booking_services) on aservice_booking; null otherwise.statusstring Nullablescheduled,rescheduled,cancelled,postponed,attended,no_showorteam_no_show(attendance is recorded only by people); null for a value this version does not know.rescheduledmeans the booking was moved in place and its times are the new ones; a booking the AI replaced with a new one readscancelled, withrescheduled_toset.Possible valuesscheduledrescheduledcancelledpostponedattendedno_showteam_no_show
starts_atstring Nullable Formatdate-timeWhen the booking starts (UTC).
ends_atstring Nullable Formatdate-timeWhen the booking ends (UTC).
meeting_typestring Nullableonline,in_personorphone; null when not stored.Possible valuesonlinein_personphone
sourcestring NullableWho booked it:
ai,customer,operatoror an authorizedintegration; null when not recorded.Possible valuesaicustomeroperatorintegration
rescheduled_fromstring Nullable ID prefixbkg_…The booking this one replaced in a reschedule, or null. For a few seconds the replaced booking can still read
scheduled; bookings rescheduled before Totem started recording this link may not have it.rescheduled_tostring Nullable ID prefixbkg_…The booking that replaced this one in a reschedule, or null. When it is set, this booking reads
cancelled.created_atstring Nullable Formatdate-timeWhen the booking was recorded in Totem (UTC).
objectstringAlways booking_management.
idstring ID prefixbkg_…Current booking.
etagstring Pattern^"bka_[a-f0-9]{64}"$Strong action validator from this exact current source; use it in If-Match for cancellation or rescheduling.
{
"team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"kind": "service_booking",
"service": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"status": "scheduled",
"starts_at": "2026-10-06T15:00:00.000Z",
"ends_at": "2026-10-06T15:30:00.000Z",
"meeting_type": "in_person",
"source": "ai",
"rescheduled_from": null,
"rescheduled_to": null,
"created_at": "2026-10-01T09:01:00.000Z",
"object": "booking_management",
"id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
"etag": "\"bka_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\""
}Current authorized lead bookings, with explicit completeness.
Attributes
objectstringAlways booking_management_list.
At most twenty current manageable bookings for the authorized lead.
completebooleanFalse when the bounded query may omit additional owned bookings.
{
"object": "booking_management_list",
"data": [
{
"team": "team_r9uYrIW4gSFJJ6hZQ9ip1UIpPaAD1CF7NR",
"lead": "lead_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMXKSF0QbLS8CiUKJpEP34LFQG",
"kind": "service_booking",
"service": "svc_h42kgwwJGPzsm2Zoy1A1RBv1KIrX5",
"status": "scheduled",
"starts_at": "2026-10-06T15:00:00.000Z",
"ends_at": "2026-10-06T15:30:00.000Z",
"meeting_type": "in_person",
"source": "ai",
"rescheduled_from": null,
"rescheduled_to": null,
"created_at": "2026-10-01T09:01:00.000Z",
"object": "booking_management",
"id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
"etag": "\"bka_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\""
}
],
"complete": true
}Minimal current-source booking outcome.
Attributes
objectstringAlways booking_receipt.
idstring ID prefixbkg_…Booking id.
statusstringVerified current booking outcome; unchanged means no new booking mutation.
Possible valuesscheduledcancelledrescheduledunchanged
previous_idstring Nullable ID prefixbkg_…Original booking when a reschedule replaced it, otherwise null.
{
"object": "booking_receipt",
"id": "bkg_r72EfbRNUzuqORFJR0O8HxAwEXd93jGUTYMaMMX3ttMKHRR9ADk3N7Cr3NSuY0",
"status": "scheduled",
"previous_id": null
}Owned current payment metadata, never a raw Stripe record.
Attributes
objectstringAlways booking_payment.
referencestring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
statusstringCurrent owned payment lifecycle; review needs reconciliation and consumed means applied to a booking.
Possible valuespendingprocessingpaidfailedrefundedreviewconsumed
amount_minorinteger Range ≥ 0Current payment amount in minor currency units.
currencystring Pattern^[A-Z]{3}$Uppercase three-letter currency code.
checkout_urlstring Nullable FormaturiCurrent active authenticated-merchant checkout URL; null when unavailable.
slot_heldbooleanWhether capacity is currently held for this payment.
hold_expires_atstring Nullable Formatdate-timeCurrent hold expiry in UTC, or null without an active hold.
booking_idstring Nullable ID prefixbkg_…Current confirmed booking id when resolvable, otherwise null.
{
"object": "booking_payment",
"reference": "tcal1.bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"status": "pending",
"amount_minor": 2500,
"currency": "EUR",
"checkout_url": null,
"slot_held": false,
"hold_expires_at": null,
"booking_id": null
}At most five current payment requests for the authorized lead.
Attributes
objectstringAlways booking_payment_list.
Current owned payment requests, at most five.
completebooleanFalse when the bounded query may omit additional current requests.
{
"object": "booking_payment_list",
"payments": [
{
"object": "booking_payment",
"reference": "tcal1.bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"status": "pending",
"amount_minor": 2500,
"currency": "EUR",
"checkout_url": null,
"slot_held": false,
"hold_expires_at": null,
"booking_id": null
}
],
"complete": true
}A payment request or link delivery is not a confirmed booking.
Attributes
objectstringAlways booking_payment_receipt.
referencestring 40–16384 chars Pattern^tcal1\.[A-Za-z0-9_-]+$Server-issued opaque calendar reference; never parse or modify it.
outcomestringCurrent payment requirement, reconciliation state or accepted link send.
Possible valuespayment_requiredpayment_processingpayment_reviewlink_sent
booking_confirmedbooleanAlways false: a payment request or sent link does not confirm a booking.
{
"object": "booking_payment_receipt",
"reference": "tcal1.bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"outcome": "payment_required",
"booking_confirmed": false
}