# InboxActionContext

Type: object

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

- `sessionId` (string, required)
- `ownerType` (string, required) - Empty for unassigned; otherwise user, chatbot, journey, service_account, or inbox.
- `ownerId` (string, required)
- `lastSubstantiveMessageId` (string, required) - Changes when a new message arrives in the current session.
- `substantiveVersion` (string, optional) - Opaque substantive edit generation. Return unchanged in reviewed actions; receipt updates do not change it.

