Agent Chat APIList threads

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 URLPOST https://app.staging.mlive.chat/v1/agent/action/list_threads
Who can call itBots, with a bot token (mlcb_).

Request body

application/json

  • chat_idstringrequired

  • sort_orderstring

    One of asc, desc. Default "desc".
  • limitinteger

    1 to 100. Default 3.
  • page_idstring

    From a previous answer; nothing else may be sent with it.

Response

200 · application/json

OK.

  • threadsarray of LCThreadrequired

  • found_threadsintegerrequired

  • next_page_idstring

  • previous_page_idstring

Errors

  • default