Skip to content

Uploads one file, to be referenced by a later message on one of your tickets.

POST
/v1/integration/attachments
curl --request POST \
--url https://api.example.com/v1/integration/attachments \
--header 'Content-Type: multipart/form-data' \
--form file=@file

The returned id is usable only by the token that uploaded it, only once, and only within 24 hours. Send it in attachmentIds on POST /v1/integration/tickets/{id}/messages. Size and type limits are the deployment’s own — see GET /v1/attachments/configuration.

Media typemultipart/form-data
object
file
string format: binary

Created

object
data
One of:
object
id
required
/^-?(?:0|[1-9]\d*)$/
objectKey
required
string
originalFileName
required
string
contentType
required
string
fileSize
required
/^-?(?:0|[1-9]\d*)$/
createdAt
required
string format: date-time
success
boolean
error
One of:
object
status
/^-?(?:0|[1-9]\d*)$/
code
string
nullable
details
message
string

Unauthorized

object
type
string
nullable
title
string
nullable
status
nullable /^-?(?:0|[1-9]\d*)$/
detail
string
nullable
instance
string
nullable

Forbidden

object
type
string
nullable
title
string
nullable
status
nullable /^-?(?:0|[1-9]\d*)$/
detail
string
nullable
instance
string
nullable

Too Many Requests

object
type
string
nullable
title
string
nullable
status
nullable /^-?(?:0|[1-9]\d*)$/
detail
string
nullable
instance
string
nullable