Send WhatsApp Document Message by HTTP link or ID or base64
Request test
Request URL
https://api.alvochat.com/{{instance_id}}/messages/document
Request body
Token
*Required
|
|
to
*Required
|
Phone number with international format e.g. 16315555555 or +1 631-555-555 |
document
*Required
|
HTTP link file or base64-encoded file or media IDSupported most extensions like ( zip , xlsx , csv , txt , pptx , docx ....etc ) .Max file size : 100MB .Max Base64 length : 2,000,000 |
filename
*Required
|
File name, for example 1.jpg or Hello.pdf filename Max length : 255 char . |
caption
*Required
|
The text under the file . Data type : text, UTF-8 or UTF-16 string with emoji . Max length : 4096 char . |
Request samples
Note : don't forget to URL encode your query params like base64 or utf-8