Conversations


Fetch a Conversation

Return json data about a conversation.

URL

/conversations/:id

Method

GET

Success Response

Code: 200
Content:

{
"chat_handle": "+1234567890",
"subject": "Dave Davidson",
"customer_id": "1234",
"created_at": "yyyy-MM-dd'T'HH:mm:ss'Z'",
"updated_at": "yyyy-MM-dd'T'HH:mm:ss'Z'",
"id": "123f2db6-4558-46f9-90d8-8e6765c5b857"
}

Fetch Conversations

Return json data about Conversations.

URL

/conversations

Method

GET

Data parameters

search=[string] A term to filter conversations.

page=[integer] Page number to return.

items=[integer] How many items per page.

order=[string] Direction to sort.

order_by=[string] Field to sort on.

Success Response

Code: 200
Content:

[
{
"chat_handle": "+1234567890",
"subject": "Dave Davidson",
"customer_id": "1234",
"created_at": "yyyy-MM-dd'T'HH:mm:ss'Z'",
"updated_at": "yyyy-MM-dd'T'HH:mm:ss'Z'",
"id": "123f2db6-4558-46f9-90d8-8e6765c5b857"
}
]