Skip to main content
POST
Upload attachment

Authorizations

Authorization
string
header
required

Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.

Path Parameters

transactionID
string<uuid>
required

Unique object identifier

Example:

"42e113f9-9353-4e89-9f68-69b92f423b0c"

Body

multipart/form-data
agentID
string<uuid>

Unique object identifier

Example:

"42e113f9-9353-4e89-9f68-69b92f423b0c"

attachments
file[]

File content

Response

200 - application/json

Successful response.

ID
string<uuid>

Unique object identifier

Example:

"42e113f9-9353-4e89-9f68-69b92f423b0c"

url
string<url>

The attachment URL.

cid
string

The attachment CID for inline use.

name
string

The attachment name.

size
integer

The attachment size.

type
string

The attachment MIME type.