Skip to main content
POST

Authorizations

X-API-Key
string
header
required

Path Parameters

phoneNumber
string
required

Phone number in E.164 format to use for the upload.

Example:

"+16315551111"

Body

multipart/form-data
file
file
required

The media file to upload. Only one file is supported. If multiple files are uploaded, only the first file will be processed.

Response

Successfully uploaded the media.

id
string

The ID of the uploaded media that can be used in subsequent message requests.