Bookings
4 endpoints
/v1/bookingsList bookings in the schedule
Returns the paginated list (cursor v2) of bookings in the schedule of
the key's account: all its calendars, all its hosts. Bookings
archived from the dashboard are excluded. Stable sort
start_ — the furthest-out bookings first,
then the history. With updated_ or updated_, the list
is sorted by ascending updated_, broken by id.
Filters
?from(ISO 8601) —start_datetime >= from ?to(ISO 8601) —start_datetime <= to ?status—confirmed,cancelled,completed, orno_show ?event_— a calendar of the accounttype_ id ?contact_— a contact of the accountid
An unreadable filter is rejected with 400 validation_, with
details as a list [{ field, reason }] (reasons invalid_,
invalid_, invalid_); an invalid cursor or limit,
400 invalid_. An event_ or a contact_ from
another account returns an empty list.
bookings:readQuery parameters
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | null | optional | Opaque pagination cursor: pass the pagination. value from the previous page. |
limit | integer | optional | Maximum number of results per page (default 20, max 100). Above that → 400 invalid_request. |
updated_after | string | optional | Filter: only resources modified after this date (inclusive). With an updated_ bound, the list
is sorted by ascending updated_ (oldest change first), tie-broken by id. Restart from the
updated_ of the last resource you read, minus 2 minutes: a long write can carry a date
slightly earlier than the end of your read. Drop duplicates by id. A cursor from another sort
is refused (cursor_). A list that leaves archived resources out (bookings,
quotes) returns them in this read with their archived_: that is how a withdrawal is read. |
updated_before | string | optional | Filter: only resources modified before this date (inclusive). Sorts the list like updated_. |
from | string | optional | Only bookings where start_. |
to | string | optional | Only bookings where start_. |
status | string | optional | Exact match on status. |
event_type_id | string | optional | Only bookings on this calendar. |
contact_id | string | optional | Only bookings for this contact. |
Responses
| Status | Description |
|---|---|
200 | Paginated list of bookings. |
400 | Invalid request.
|
401 | The API key is missing, unknown or expired.
|
403 | Authorization refused.
|
429 | Rate limit reached.
|
500 | Unexpected server error. Always include the
|
501 | Test keys (
|
503 | A service the request depends on didn't respond (reading the key, the
account or the plan). The same request will go through once it's back:
retry after the
|
Example request
curl -X GET 'https://api.capturia.io/v1/bookings' \
-H 'Authorization: Bearer cap_live_<your-key>' \
-H 'Content-Type: application/json'/v1/bookingsBook an appointment
Books an appointment in the account's schedule, on one of its calendars, through the same service as the booking page and the dashboard. The calendar's rules apply: its active hosts, their hours and their Google Calendar, the booking window, the slot cadence, the daily maximum, group sessions, required questions, the access rule, and a single upcoming booking per contact on this calendar. The requested time is honored or rejected with its reason — never replaced with another. The duration is the calendar's; the host receives their notification and the event is added to their calendar as for any booking.
Each successful call creates a booking: don't replay a call that succeeded.
Rejections
The details. field states why, in a stable way:
| Status | code | details. |
|---|---|---|
| 400 | validation_ | slot_, outside_, off_ (details.), contact_ (details.), or the code of the failing question (details., or "form_ when the rejection concerns the responses as a whole; details.: the calendar's questions, when it has any) |
| 404 | resource_ | — (details.: event_, contact_, or host_) |
| 409 | duplicate_ | already_ (details., when it is known) |
| 422 | business_ | calendar_, host_, host_ (details.), slot_, address_, contact_, lead_ |
| 503 | service_ | — (retry after Retry-) |
A field format error (400 validation_) carries details as a
list [{ field, reason }].
bookings:writeRequest body
| Property | Type | Required | Description |
|---|---|---|---|
event_type_id | string | required | Active calendar of the account. An unknown or inactive calendar, or
one from another account, is rejected with 404 resource_
(details.). |
start_datetime | string | required | Start of the booking, ISO 8601. The offset is optional: without an
offset, the time is read as UTC. Prefer an explicit offset
(2026-). |
contact_id | string | optional | Existing contact of the account. An unknown contact or one from
another account is rejected with 404 resource_
(details.); an archived contact, 422
(contact_); a contact without an email and without
guest_, 400 (contact_). |
guest_name | string | optional | Guest's full name. Required without contact_. The text
"[object Object]" (a mapping that points to an object instead of a
field) is removed from it; a name with nothing left is rejected as
missing (400, reason required). |
guest_email | string | optional | Guest's email. Required without contact_. |
guest_phone | string | null | optional | Guest's phone number (E.164 recommended). Taken into account with guest_ + guest_. |
host_id | string | optional | Team member who should hold the booking. The requested host is
honored or rejected with its reason, never replaced: unknown to the
account, 404 resource_ (details.); not a
host of this calendar, 422 host_; busy or outside
their hours, 422 host_. Without host_: the contact's
sales rep if they can take the slot, otherwise the calendar's
rotation. |
timezone | string | null | optional | Guest's IANA time zone, naming a place (e.g. America/). If
absent: the contact's, otherwise the calendar's. An unknown time zone, a
name without a place (EST, UTC, Etc/, US/) or a bare
offset (-) is rejected: 400 validation_, reason
invalid_. |
language | string | null | optional | Language of the guest: the language of the booking notices
(confirmation, reminders). Set on the contact when it doesn't have one
yet. When absent: the contact's language, otherwise the calendar's. Any
other value is rejected: 400 validation_, reason invalid_.Allowed values: |
notes | string | null | optional | Notes for the prospect: they read them again in the Google event
they're invited to, when the seller's Google Calendar is connected. A
note for the seller goes in internal_. |
internal_note | string | null | optional | The team's internal note, for the booking's seller: the prospect never sees it. The seller reads it in their prep brief, before the meeting. |
form_responses | object | optional | Answers to the calendar's form: one entry per question, under the
question's identifier, in the form { "value": ... }. value is
text, a number for a numeric question, one of the options for a
choice question, or a list of options for a multiple-choice
question. A calendar with a required question rejects a booking
without its answer: 400 validation_,
details.. When the calendar has
questions, a form rejection includes details., those questions
(id, label, type, required, options). |
Responses
| Status | Description |
|---|---|
201 | Booking created. |
400 | Invalid request.
|
401 | The API key is missing, unknown or expired.
|
403 | Authorization refused.
|
404 | Resource not found.
|
409 | The lead already has an upcoming booking on this calendar (
|
413 | The request body exceeds 1 MB (1,048,576 bytes).
|
415 | The
|
422 | The requested time or host can't be honored: calendar without an
active host (
|
429 | Rate limit reached.
|
500 | Unexpected server error. Always include the
|
501 | Test keys (
|
503 | A service the request depends on didn't respond (reading the key, the
account or the plan). The same request will go through once it's back:
retry after the
|
Example request
curl -X POST 'https://api.capturia.io/v1/bookings' \
-H 'Authorization: Bearer cap_live_<your-key>' \
-H 'Content-Type: application/json' \
-d '{
"event_type_id": "2b3c4d5e-6f7a-4b9c-8d1e-2f3a4b5c6d7e",
"start_datetime": "2026-11-10T10:00:00-05:00",
"contact_id": "0a1b2c3d-4e5f-4a7b-8c9d-0e1f2a3b4c5d",
"notes": "Premier rendez-vous découverte",
"internal_note": "Chien dans la cour, le conjoint décide."
}'/v1/bookings/{id}Read a booking and its preparation brief
Returns one booking from the account's schedule, with its preparation
brief (brief): what the seller receives before the meeting. This is
the read that follows a booking_, booking_,
booking_, booking_ or booking_ event,
whose data. is the booking's identifier.
The brief is read the way the account's management reads it.
brief. says whether it is ready (ready), being prepared
(pending) or absent (none); until it is ready, its fields are empty.
A booking of another account, or an archived one, is not found (404).
bookings:readPath parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | required | UUID of the resource. |
Responses
| Status | Description |
|---|---|
200 | The booking and its preparation brief. |
401 | The API key is missing, unknown or expired.
|
403 | Authorization refused.
|
404 | Resource not found.
|
429 | Rate limit reached.
|
500 | Unexpected server error. Always include the
|
501 | Test keys (
|
503 | A service the request depends on didn't respond (reading the key, the
account or the plan). The same request will go through once it's back:
retry after the
|
Example request
curl -X GET 'https://api.capturia.io/v1/bookings/{id}' \
-H 'Authorization: Bearer cap_live_<your-key>' \
-H 'Content-Type: application/json'/v1/bookings/{id}Cancel a booking
Soft cancel — the booking is not deleted: its status changes
to cancelled and cancelled_ is timestamped, like a
cancellation made in the dashboard. The event is removed from the
host's calendar, the host is notified, and the cancellation is
recorded as made by one of your team's integrations. The 200
response returns these 3 fields (not 204 No Content).
Only a confirmed booking can be cancelled. A booking that is
already cancelled returns 422 business_ (reason
already_); a booking that was held or marked as a no-show,
422 (reason booking_). A booking from another
account is not found (404).
To change the time, cancel and book again, or reschedule from the
dashboard — there is no PATCH.
bookings:writePath parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | required | UUID of the resource. |
Responses
| Status | Description |
|---|---|
200 | Booking cancelled. Returns the cancellation status and timestamp. |
401 | The API key is missing, unknown or expired.
|
403 | Authorization refused.
|
404 | Resource not found.
|
422 | The booking is already cancelled (
|
429 | Rate limit reached.
|
500 | Unexpected server error. Always include the
|
501 | Test keys (
|
503 | A service the request depends on didn't respond (reading the key, the
account or the plan). The same request will go through once it's back:
retry after the
|
Example request
curl -X DELETE 'https://api.capturia.io/v1/bookings/{id}' \
-H 'Authorization: Bearer cap_live_<your-key>' \
-H 'Content-Type: application/json'