Skip to main content
Upload against the bot itself — no conversation, no time limit. Use it when the response_url has expired, or to prepare a file ahead of time.

Authorization

Authorization
string
required
Bearer mac_live_…

Path parameters

chatbot_id
string
required
Must match the bot your key belongs to, or you get 403 wrong_chatbot.

Body

multipart/form-data.
file
file
required
The file itself.
filename
string
Replaces the file’s own name.

Response

ok
boolean
true on success.
file
object
The stored file.

Errors