Sending Media
Last updated
Last updated
POST
This API enables users to send Images, Videos, or Audio.
Headers
Content-Type
application/json
apiKey
Body
messageId
string
A unique identifier for the message. This will be used to track the message status and for deduplication purposes.
mediaType
string
Pass value as IMAGE, VIDEO or AUDIO
mediaUrl
string
URL of an image to be sent. Must be a valid URL starting with https://...
caption
string
Image caption. Optional.
from
string
Sandbox number +254110090747 or your own WABA phone number.
to
string
Receiver phone number. It should start with a country code.
Response
Get apiKey from App portal settings tab