List end user conversations

GET
/beta/endusers/{userId}/conversations

Lists conversations requested by an end user.
Note: Custom attributes are not part of the response at this point. If you need to get custom attributes for a conversation use the GET /conversations/{conversationId} endpoint

Authorization

ApiKeyAuth
headerAuthorization<token>

Path Parameters

userId*string
Formatuuid

Query Parameters

pageLimit?integer

Maximum number of results per page. May be used in combination with pageKey to change the number of results in between page requests.

Formatint32
pageKey?string

Base64 encoded form of pagination query parameters. Do not try to construct or change programmatically as the internal structure may change without notice.

Response Body

The list of conversations requested by an EndUser

application/json
  1. response
data?array<||||||||||>
meta?
Example Request
curl -X GET 'https://dev.dixa.io/beta/endusers/{userId}/conversations' \  -H 'Authorization: <API token>'
{
"data": [
{
"id": 1,
"requesterId": "9deb936b-52e5-4c44-828d-4c8d48fe0c7e",
"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"
},
"_type": "ChatConversation"
}
]
}