InboxActionContext
The conversation state a client acted on. Pass the `actionContext` you received back unchanged as `expectedContext`. Every field is compared for exact equality (`substantiveVersion` only when you send it). If the conversation changed, for example a new session started, the owner changed or a new message arrived, the request fails with `409` and code `messaging_inbox_context_changed`. Reload the conversation and retry; for message sends, use a new `Idempotency-Key`.
Properties
- Name
sessionId- Type
- string
- required
- Name
ownerType- Type
- string
- required
user,chatbot,journey,service_accountorinbox. Empty when the session is unassigned.- Name
ownerId- Type
- string
- required
- Name
lastSubstantiveMessageId- Type
- string
- required
Changes when a message is sent or received in the current session.- Name
substantiveVersion- Type
- string
Opaque version that changes when a message in the conversation is edited or deleted. Delivery and read receipts don't change it.
Used by
- POSTSend message/messages
- GETGet message/messages/{id}
- GETList conversations/conversations
- GETGet conversation/conversations/{id}
- GETList conversation messages/conversations/{id}/messages
- POSTSend message in conversation/conversations/{id}/messages
- POSTMark conversation as read/conversations/{id}:markRead
- POSTClose conversation/conversations/{id}:close
- POSTBan conversation customer/conversations/{id}:ban
- POSTUnban conversation customer/conversations/{id}:unban
- POSTWebhook payloads{configured webhook URL}