Authorizations
Bearer token authentication. Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Body
application/json
Recipient's WhatsApp phone number in international format (E.164)
Example:
"+919856784357"
Type of media being sent
Available options:
image
, video
, document
, audio
Example:
"image"
Direct URL to the media file (must be publicly accessible)
Example:
"https://images.pexels.com/photos/276267/pexels-photo-276267.jpeg"
Caption text for the media (required for all media types)
Maximum length:
1024
Example:
"Check out our latest product collection!"
Custom filename for the media file
Maximum length:
240
Example:
"product_catalog_2025"