Skip to main content
POST
Attach a media library file to a new support ticket

Authorizations

Authorization
string
header
required

An API key (utk_live_...) or an app's OAuth access token (uto_...).

Headers

Idempotency-Key
string

Any 1 to 255 printable ASCII characters, without a space at either end. The answer to the first request with a key is kept for 24 hours per credential: the same request again gets it back (Idempotent-Replayed: true), another request with the key is 409 PUB-002-002, and while the first still runs 409 PUB-002-003. A server error is not kept, and a request that never answered frees its key after 2 minutes: a retry with the key then runs again.

Maximum string length: 255

Body

application/json
mediaId
string<uuid>
required

The id of a file GET /media lists: one of the organization's library or one of the member's own uploads.

Response

Copied.

A file waiting for its message. Nobody else sees it until the message is sent, and one that no message takes within 24 hours is deleted.

id
string<uuid>
required

Send it in uploadIds of the message the file goes with.

fileName
string
required

The name the file is kept under: the path is dropped, and the name ends with an extension of its type.

contentType
enum<string>
required

The type the file's content shows, whatever the request said.

Available options:
image/png,
image/jpeg,
image/webp,
image/gif,
application/pdf,
text/plain,
text/csv
byteSize
integer
required
Last modified on November 25, 2026