Threads
Find thread
Changed onFinds the discussion thread attached to a conversation item. Returns zero or one thread — each item has at most one thread.
get/v2/api/threads
Request
- Base URLhttps://api.withallo.com
- URLhttps://api.withallo.com/v2/api/threads
- AuthAPI key in header Authorization
Query parameters
entity_type'CALL' | 'TEXT_MESSAGE' | 'CONVERSATION_NOTE' required
Type of the conversation item
entity_idstring required
Example:cll-abc123
ID of the conversation item (cll-*, msg-*, or not-*)
Response
The item's thread, or an empty list if none exists
Example response
{
"data": [
{
"id": "cth-abc123",
"entity_id": "cll-abc123",
"contact_number": "+14155551234",
"resolved_by": {
"id": "usr-def456",
"name": "John Smith"
},
"comments": [
{
"id": "thc-abc123",
"user": {
"id": "usr-def456",
"name": "John Smith"
},
"mentions": [
{
"user_id": "usr-abc123",
"name": "Jane Doe"
}
]
}
]
}
]
}Changes
- info
endpoint added
- info