Guests
Push guests into a property (write-only; grants no read of guest data).
Requires guests:write. Push a guest into the Guests section — for a CRM/PMS/booking integration to feed guests in. Write-only: this scope grants no read of guest data. Identity is (property, external_id) when you send your own customer id in external_id, so a corrected email updates the same guest; without it, identity is (property, email), so a repeat push of the same email updates that guest (200) rather than creating a duplicate (201 on first create), and a different email is a different guest. Include an optional reservation to upsert the guest's stay in the same call (identity (property, reservation.external_id)), so you can build audiences on stay status, booking channel, and recently-ended stays. A guest erased under GDPR is never repopulated (409).
An API key created in Settings → API (ca_live_…).
A guest to create or update at one property. With external_id, identity is (property, external_id): a repeat push with the same external_id updates that guest, even when its email changed — this is how you correct an email. Without external_id, identity is (property, email): a repeat push of the same email updates that guest, and a different email creates a NEW guest. Optionally include a reservation to upsert the guest's stay in the same call.
The property (leaf node) to attach the guest to. Optional when the key is bound to a single property; required when the key is bound to a group. Must be a property within the key's node scope.
Optional — your own customer id. When sent, it is the guest's identity: re-push the same external_id with a corrected email and the same guest (and its reservations) gets the new address. The first push carrying an external_id for a guest you created earlier without one adopts that guest rather than duplicating it; from then on, keep sending the external_id. Two different external_ids are two guests, even with the same email.
Required — normalized (trimmed + lower-cased). Without external_id it is the guest's identity: a different email is a different guest.
ISO 3166-1 alpha-2 (e.g. DE).
e.g. de or de-DE.
When set, records invitation-email consent. An explicit prior withdrawal is never overridden by a grant (GDPR).
Existing guest updated.
A guest record as stored. source is api for guests created through this endpoint.
apiGuest created.
Invalid request.
Missing or invalid API key.
The key lacks the required scope, the account's plan does not include it, or the key's owner no longer has the access it needs. The last is checked on every call: a key works only while the user who created it is active in the account and holds api_keys.manage where the key is bound, plus the permission behind each write scope it carries. Every call with such a key gets the same 403, whatever its scope, until the owner's access is restored or an administrator creates a new key.
The guest (or the email it is being corrected to) has been erased under GDPR, or reservation.external_id already belongs to a different guest. Nothing is written.
property_id is missing, out of scope, or not a property (leaf) node.
Rate limit exceeded. Honour the Retry-After header.
POST /api/v4/guests HTTP/1.1
Host: app.customer-alliance.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 311
{
"property_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"external_id": "CUST-48213",
"email": "jane.doe@example.com",
"first_name": "Jane",
"last_name": "Doe",
"marketing_consent": true,
"reservation": {
"external_id": "BK-1001",
"status": "checked_out",
"check_in": "2026-08-01",
"check_out": "2026-08-04",
"channel": "booking.com"
}
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"property_id": "123e4567-e89b-12d3-a456-426614174000",
"source": "api",
"email": null,
"salutation": null,
"first_name": null,
"last_name": null,
"phone": null,
"country_code": null,
"language_code": null,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"reservation": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"external_id": "text",
"status": "booked",
"raw_status": null,
"check_in": null,
"check_out": null,
"checked_in_at": null,
"checked_out_at": null,
"channel": null,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
}Last updated
