# Get single conversation
You can return details about a specific conversation.
GET
/conversations/:id/
Attributes | Type | Required | Description |
---|---|---|---|
id | integer | yes | A unique identifier for the conversation which is given by User.com automatically. |
# Request
- CURL
- JavaScript
- PHP
- Python
curl -X GET -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2"
-H "Accept: */*; version=2" "https://<your_app_subdomain>.user.com/api/public/conversations/:id/"
# Response
{
"results": {
"active": true,
"messages": [
{
"user": {
"key": null,
"id": 382,
"email": "agent@gmail.com",
"name": "Agent Name"
},
"content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit...",
"chat": 339461,
"source": "chat",
"source_context": {},
"id": 790087,
"timestamp": "2017-05-24T11:06:40.378842Z"
}
],
"user": {
"key": "KQB9EPEd04Sx",
"id": 11768499,
"email": "changed16@email.com",
"name": "Jane Doe"
},
"id": 339461,
"agent": null
},
"previous": null,
"count": 1,
"next": null
}