cURL
Media
Upload media
Upload a media file (image, video, audio, document, or sticker). Returns a mediaId that can be used when sending messages.
POST
cURL
Authorizations
App API key (format: sk_live_app_* or sk_test_app_*) for app-level operations
Body
multipart/form-data
Response
Media uploaded successfully
Unique media ID
Original file name
MIME type of the file
File size in bytes
Type of media
Available options:
image, video, audio, document, sticker Presigned URL for downloading (expires in 1 hour)
When the media will be deleted
When the media was uploaded
URL expiration time in seconds