WatificationDocs
Conversations

Assign a conversation to a member or team

Assigns the conversation to a workspace member, to a team, or clears the assignment with null. Send at least one of membershipId or teamId. Requires the conversations.write scope. Returns the updated conversation. Errors: 404 CONVERSATION_NOT_FOUND, 404 MEMBER_NOT_FOUND, 404 TEAM_NOT_FOUND, 409 CONVERSATION_CHANNEL_FROZEN when the channel is frozen, 422 DEVELOPER_INVALID_INPUT for an empty or unknown body field.

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}/assign

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 to assign.

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

Send at least one of membershipId or teamId. Use null to clear that assignment.

membershipId?|
Formatuuid
teamId?|
Formatuuid

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*