Chats
List threads
The chat's threads (one per conversation), newest first by default, each with its events (up to 1000).
Pages carry the first request's settings in page_id.
POST/v1/agent/action/list_threads
Specifics
| Method URL | POST https://app.staging.mlive.chat/v1/agent/action/list_threads |
|---|---|
| Who can call it | Bots, with a bot token (mlcb_). |
Request body
application/json
chat_idstringrequiredsort_orderstringOne ofasc,desc. Default"desc".limitinteger1 to 100. Default3.page_idstringFrom a previous answer; nothing else may be sent with it.
Response
200 · application/json
OK.
threadsarray of LCThreadrequiredfound_threadsintegerrequirednext_page_idstringprevious_page_idstring
Errors
- default
Nothing found. Try a method name, such as send event.