Agent Chat APIUpload a file

Events

Upload a file

Uploads a file (multipart, field file, at most 10 MB) for a chat and answers its URL.

Send it with send_event as a file event (url).

POST/v1/agent/action/upload_file

Specifics

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

Response

200 · application/json

OK.

  • urlstringrequired

Errors

  • default