Create a presigned upload URL for an attachment

Returns a short-lived presigned URL that the caller can PUT a file to,
along with the canonical downloadUrl to reference once uploaded.

Pass the returned downloadUrl as attachments[].url on any endpoint
that accepts an attachments array — currently POST /tickets/{id}/messages
and POST /timeline_comments. Both consumers use the same shape:
{ url, name, contentType, sizeBytes }.

The caller must hold at least one write scope for a surface that
consumes attachments (write:tickets or write:customers).

The signed URL is valid for one hour. After that the upload must be
re-requested.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Original filename. Used to derive the storage key and is preserved as object metadata.

string

MIME type of the file. Optional hint; the actual Content-Type is set by the client when PUTting to the signed URL.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json