Skip to main content
POST
Upload a media file

Authorizations

Authorization
string
header
required

Your API key from the Wave dashboard. Sandbox keys start sk_sandbox_; production keys start sk_live_. Send as Authorization: Bearer <key>. Some endpoints require a production key and specific scopes.

Body

application/json
base64
string
required
Required string length: 1 - 10000000
fileName
string
required
Required string length: 1 - 255
contentType
string
required
Required string length: 1 - 255
channel
enum<string>
default:whatsapp
Available options:
whatsapp,
sms,
webchat,
email

Response

The file is uploaded

url
string<uri>
contentType
string
sizeBytes
integer