Skip to main content
POST
Upload Media

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required
media_type
string
default:photo

File type: photo, video, or document

Response

Successful Response

Response after successful media upload.

media_type
string
required
file_id
string
required
media_url
string
required
file_unique_id
string | null