WASendMedia
Intro
Media (with text caption) can be sent using this endpoint. The media file must be available on static URL to be downloaded by our system.
info
This endpoint will consume 2 WA Credits.
File Types
The allowed file types are:
- Document:
docxandpdf - Image:
jpg,jpegandpng - Video:
webmandmp4
Parameter Usage Notes
Queueis set ofSenders. The Sender picked randomly from the set list.- If none of Queue or Sender argument is set,
the sender will be randomly chosen from your WA Sender (if you have any)
or from our WA Senders.
Default:null - timeout is the message timeout in
seconds. If the message exceeds the timeout before it has being sent, the status of the message is going to beF(Failed).
Default:86400seconds media_urlis any HTTP URL of a file that can be directly downloaded- When using
media_base64as media file parameter,
max length: 1024 Kilobytes - If both
media_base64andmedia_urlvalue is provided, the API will usemedia_base64to be media parameter. include_unsubscribeis flag that if the value istrue, an un-subscription text (with un-subscription link) will be added and to be sent to the message recipient. Later on, after clicked the un-subscription link, the recipient will not received any message from you (on this API). You can not send message to the recipient because the number have been added to your recipient exclusion list.
Default:false