Skip to content

Close conversation

Request

Mark a conversation as closed by providing its id.

Security
ApiKeyAuth
Path
conversationIdinteger, (int64)required
Bodyapplication/json

An optional agent/admin to close the conversation

userIdstring, (uuid)
PUT
/v1/conversations/{conversationId}/close
curl -i -X PUT \
  'https://dev.dixa.io/v1/conversations/{conversationId}/close' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "userId": "5a556159-9c21-4f3e-a44f-d323deb80d16"
  }'

Responses

The conversation was successfully closed

Response
No content