Error
A valid request URL is required to generate request examples[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "direct",
"title": "<string>",
"created_by": "<string>",
"lead_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_message": "<string>",
"last_author_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]API Reference
List chat threads
Lists threads the caller participates in. Admin sees all threads. Returns last message preview (truncated to 100 chars).
GET
/
chat
/
threads
Error
A valid request URL is required to generate request examples[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "direct",
"title": "<string>",
"created_by": "<string>",
"lead_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_message": "<string>",
"last_author_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Thread list
Available options:
direct, group Lead agent for collaborative dispatch (null = broadcast)