Messages

Upload media file

Upload a media file using API key authentication and get back a publicly accessible URL. The URL can be used as attachmentUrl when sending inbox messages.

Files are stored in temporary storage and auto-delete after 7 days. Maximum file size is 25MB.

Unlike /v1/media/upload (which uses upload tokens for end-user flows), this endpoint uses standard Bearer token authentication for programmatic use.

post/v1/media/upload-direct

Response

File uploaded successfully

urlstring

Publicly accessible URL for the uploaded file

filenamestring

Generated unique filename

contentTypestring

MIME type of the file

sizeinteger

File size in bytes

Changes

No recorded changes to this endpoint across all 28 revisions of this API.