Agent Chat APIGet a chat

Chats

Get a chat

One chat with one thread (its latest, or thread_id) and that thread's events, notes included, up to 1000.

A file event's url downloads with the same token.

POST/v1/agent/action/get_chat

Specifics

Method URLPOST https://app.staging.mlive.chat/v1/agent/action/get_chat
Who can call itBots, with a bot token (mlcb_).

Request body

application/json

  • chat_idstringrequired

  • thread_idstring

Response

200 · application/json

OK.

  • idstringrequired

  • threadLCThreadrequired

  • usersarray of LCUserrequired

  • propertiesobjectrequired

  • accessLCAccessrequired

  • is_followedbooleanrequired

    Always false (no following).

Errors

  • default