Upload a ticket attachment
Attaches a base64-encoded file to the ticket.
Availability: Full version only β a Clock instance answers 404 for this endpoint.
Request
POST /api/v1/tickets/{id}/attachments
curl --request POST \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/tickets/{id}/attachments' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}' \
--header 'Content-Type: application/json' \
--data '{
"file_contents": "string",
"filename": "string"
}'Path parameters
- Name
id- Type
- integer
- Description
The ticket ID
Request body
- Name
file_contents- Type
- string, required
- Description
The fileβs bytes, base64-encoded.
- Name
filename- Type
- string, required
- Description
The name to store the file under.
Response
{
"success": true
}Response fields
- Name
success- Type
- boolean
- Description
Whether the upload succeeded.