Update a booking

Update a booking

PATCH/api/v1/bookings/{id}

scope bookings:write

Reschedules, reassigns, annotates or advances a booking. Send starts_at to move it; the booking keeps its length. Send assignee_user_id to give it to another member. Either way the new time must be free for that member, exactly as when creating — otherwise 409 conflict with reason: "slot_taken". Send status to move it forward: confirmed, completed or no_show. Status only moves forward, and a completed, cancelled or no-show booking is final — changing one, or rescheduling it, returns 409 conflict with reason: "invalid_transition". To cancel, use POST /bookings/{id}/cancel. If the account has a booking message switched on in Bookings → Settings (a confirmation, a reminder, a cancellation notice), it is sent to the contact exactly as it would be for a booking made in the dashboard.

Path parameters

NameTypeDescription
idrequired
string (uuid)Booking id

Body

application/json
NameTypeDescription
starts_atoptional
string (date-time)A new start time, from GET /bookings/slots
assignee_user_idoptional
string (uuid)Reassign to this member
statusoptional
string (enum)Move the booking forwardconfirmedcompletedno_show
notesoptional
string | nullReplace the notes
Request
curl -X PATCH "https://your-crm.example.com/api/v1/bookings/c0ffee00-1234-4abc-9def-000000000001" \
  -H "Authorization: Bearer $RAABTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "starts_at": "2026-09-06T11:00:00.000Z"
  }'
Response · 200 OK
{
  "data": {
    "id": "c0ffee00-1234-4abc-9def-000000000001",
    "contact_id": "9d7e4c11-5a2b-4f7c-8e3d-2a1b0c9d8e7f",
    "assignee_user_id": "2f3e4d5c-6b7a-4c8d-9e0f-1a2b3c4d5e6f",
    "type": {
      "id": "b00c1e00-1234-4abc-9def-000000000002",
      "name": "Consultation"
    },
    "title": "Consultation",
    "location": "Clinic, Room 2",
    "notes": "Wants to discuss a website redesign",
    "starts_at": "2026-09-06T11:00:00.000Z",
    "ends_at": "2026-09-06T11:30:00.000Z",
    "status": "scheduled",
    "source": "api",
    "cancel_reason": null,
    "completed_at": null,
    "created_at": "2026-09-02T10:05:00.000Z",
    "updated_at": "2026-09-03T08:00:00.000Z"
  }
}

Response

Wrapped in { data: … }
NameTypeDescription
idrequired
string (uuid)UUID
contact_idrequired
string (uuid) | nullThe contact this booking is for
assignee_user_idrequired
string (uuid) | nullThe member who owns the slot
typerequired
object | nullThe booking type, when one is set
type.idrequired
string (uuid)UUID
type.namerequired
string
titlerequired
string | nullSnapshotted from the type name at booking time
locationrequired
string | nullSnapshotted from the type at booking time
notesrequired
string | nullFree text recorded with the booking
starts_atrequired
string (date-time)ISO 8601 timestamp
ends_atrequired
string (date-time)ISO 8601 timestamp
statusrequired
string (enum)Where the booking is in its lifescheduledconfirmedcompletedno_showcancelled
sourcerequired
string (enum)Who booked it: staff in the dashboard, the AI assistant, the public booking page, or this APIstaffaipublicapi
cancel_reasonrequired
string | nullWhat was recorded when it was cancelled
completed_atrequired
string (date-time) | nullWhen it was marked completed
created_atrequired
string (date-time)ISO 8601 timestamp
updated_atrequired
string (date-time)ISO 8601 timestamp

Errors

StatusCodeWhen
400bad_requestThe request could not be parsed: malformed JSON, an invalid cursor, or a query parameter of the wrong shape.
400validation_errorThe body or query failed validation. `details` lists each failing field with a `path` and a `message`.
401unauthorizedNo usable API key: the Authorization header is missing or malformed, or the key is unknown, revoked or expired. The three are deliberately indistinguishable.
403forbiddenThe key is valid but lacks the scope this endpoint requires, or the request came from an address outside the key’s IP allowlist. The message says which.
403account_suspendedThe account this key belongs to is suspended. Rotating the key will not help; contact support.
404not_foundNo such resource in this account. A resource that exists in another account also returns this.
409conflictThe request conflicts with current state: a duplicate phone number on create, an invalid state transition, or an idempotent request that is still in flight.
422unprocessableThe request was well-formed but cannot be carried out. `reason` is a stable string saying why (for example `outside_window` or `stage_not_in_pipeline`).
429rate_limitedThe per-key budget, or the per-IP budget for failed authentication, is exhausted. Honour `Retry-After` before retrying.
500internalSomething failed on our side. Safe to retry with the same Idempotency-Key; quote `request_id` if it persists.