Skip to main content
Conversations

Send a message to a guest

Sends one message to the guest through the conversation's channel (Airbnb, Vrbo, your PMS, text and so on). The guest receives it immediately and it can't be unsent. Pass the id of the newest message from GET /conversations/{id} as expected_last_message_id: the send is refused with conversation_changed if a newer message has arrived. Plain text only, up to 2,000 characters; door codes, unknown contact details and shortened links are refused. Works only when the guest has written in the last 30 days, and at most three messages from AI apps and API keys reach one guest in 15 minutes. Send an Idempotency-Key header to retry safely. Needs the Conversations product on the account. Needs a key with the sparrow.send scope. Needs the key's creator to hold the MessageGuests permission.

POST
/conversations/{id}/messages
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

idstringrequired

The guest conversation id.

Idempotency-Keystringheader

Any unique value, up to 255 characters. A retry with the same key within 24 hours returns the first response without sending again; reusing it for a different request is refused.

Body

application/json
draft_idstring

A Chirp draft id when sending, or editing, a suggested reply.

expected_last_message_idstringrequired

The id of the conversation's newest message, from GET /conversations/{id}.

textstringrequired

The message, as plain text.

Response

application/json

Success

dataany
metaobject