Upload an attachment
Uploads a single file (max 25MB) and attaches it to the ticket as an agent message. Send multipart/form-data with one part named file.
| Path Parameters |
|---|
id string — REQUIREDThe ticket ID. |
| Query Parameters |
|---|
bot string — REQUIREDThe unique ID of the bot. |
| Request Body — REQUIRED |
|---|
file binary — REQUIREDThe file to upload (max 25MB). |
| Responses | ||||||
|---|---|---|---|---|---|---|
201File uploaded and attached.
| ||||||
400No file provided, file exceeds 25MB, wrong field name, or more than one file sent.
| ||||||
401Missing/invalid API key.
| ||||||
404Ticket not found.
| ||||||
429Rate limit exceeded.
| ||||||
500Internal server error.
|