send media message
Send a media message (image only: PNG, JPEG, GIF, WebP). Must provide either mediaUrl or mediaBase64, but not both. Maximum file size: 10MB.
Documentation Index
Fetch the complete documentation index at: https://docs.chatlevel.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key authentication. Provide your API key as: Authorization: Bearer <api_key>
Path Parameters
Device ID Numeric device identifier
Body
- Option 1
- Option 2
Full WhatsApp JID. Use for LIDs (e.g., '138087493537914@lid'), groups (e.g., '[email protected]'), or full phone JIDs (e.g., '[email protected]'). Mutually exclusive with toNumber.
WhatsApp phone number (digits only, 8-15 digits). Will be formatted as [email protected]. Mutually exclusive with 'to'.
"31620292537"
URL of the media file
Base64 encoded media content
Optional caption for the media
