WatificationDocs
Conversations

Change a conversation status

Sets the conversation to open, pending, resolved or closed. Requires the conversations.write scope. closingNote is only allowed with resolved or closed. Returns the updated conversation. Errors: 404 CONVERSATION_NOT_FOUND, 409 CONVERSATION_CHANNEL_FROZEN when the channel is frozen, 422 DEVELOPER_INVALID_INPUT for an invalid body or a closingNote on another status.

Responses

StatusMeaning and codes
200The updated conversation.
401undefined
403undefined
404undefined
422undefined
429undefined

Success and handled error responses send Cache-Control: no-store and X-Correlation-ID (the resolved/generated UUID). Errors use application/problem+json and the reusable ProblemDetails schema below. Retry-After: 1 is sent only for RATE_LIMITED. Request examples read your key from a server environment variable; replace all fictional values.

Schemas and examples

POST
/conversations/{conversationId}/status

Authorization

ApiKey
headerAuthorizationBearer <token>

Server-side API key. publicId is 12 lowercase base32 characters (a-z, 2-7); secret is 43 base64url characters from 32 random bytes. Use Authorization: Bearer <complete key>. The API key determines the workspace; requests cannot select another workspace. All public routes share 20 requests per second per key. See API-key authentication.

Path Parameters

conversationId*string

Conversation ID whose status changes.

Formatuuid

Header Parameters

X-Correlation-ID?string

Optional tracing ID. A UUID-shaped value is echoed in the response. Missing or invalid values are replaced with a generated UUID, not rejected.

Request Body

application/json
  1. body
status*string
Value in"open""pending""resolved""closed"
closingNote?string

Only allowed when status is resolved or closed.

Length1 <= length <= 1000

Response Body

The updated conversation.

application/json
  1. response

Conversation snapshot returned by get, assign and status change.

id*string
Formatuuid
status*string
Value in"open""pending""resolved""closed"
channelType*|

Channel type of the conversation's connection, or null when the connection is not found.

channelConnectionId*string
Formatuuid
contactId*string
Formatuuid
assigneeMembershipId*|
Formatuuid
teamId*|
Formatuuid
lastInboundAt*|
Formatdate-time
replyWindow*