Get conversation

GET
/v1/conversations/{conversationId}

Get a conversation by id.

Authorization

ApiKeyAuth
headerAuthorization<token>

Path Parameters

conversationId*integer
Formatint64

Response Body

The conversation

application/json
  1. response
data*||||||||||
Example Request
curl -X GET 'https://dev.dixa.io/v1/conversations/{conversationId}' \  -H 'Authorization: <API token>'
{
"data": {
"id": 1,
"requesterId": "d58c8b1c-85ad-4678-a6c8-7442945f3836",
"channel": "WidgetChat",
"createdAt": "2020-12-16T09:41:43Z",
"direction": "Outbound",
"state": "Open",
"stateUpdatedAt": "2020-12-16T09:41:43Z",
"assignment": {
"agentId": "0e4d0ead-dc69-470a-9b3a-e7eb16a56453",
"assignedAt": "2020-12-16T11:00:34Z"
},
"queue": {
"id": "cd87b232-64c8-4ad5-b81a-6f9233352d97",
"queuedAt": "2020-12-16T10:40:40Z"
},
"browserInfo": {
"name": "Chrome 9",
"version": "91.0.4472.114",
"ipAddress": "127.0.0.1",
"originatingUrl": "http://localhost:3000/"
},
"language": "en",
"link": {
"parentId": 1234,
"_type": "SideConversation"
},
"customAttributes": [
{
"id": "e14708a6-eed9-495c-9d88-c72331e9e247",
"name": "My Attribute",
"identifier": "my_attribute",
"value": "My Attribute Value"
}
],
"_type": "ChatConversation"
}
}