Request test
Phone with international format e.g. +1408XXXXXXX , or chatID for contact or group
Request URL
https://api.ultramsg.com/{{instance_id}}/messages/image
Request body
token *Required
to *Required

Phone number with international format e.g. +14155552671
or
chatID for contact or group e.g [email protected] or [email protected]

image *Required

HTTP link image or base64-encoded file

Supported extensions ( jpg , jpeg , gif , png , webp , bmp ) .

Max file size : 16MB .

Max Base64 length : 10,000,000 More info

example images links :

jpg : https://file-example.s3-accelerate.amazonaws.com/images/test.jpg

jpeg : https://file-example.s3-accelerate.amazonaws.com/images/test.jpeg

png : https://file-example.s3-accelerate.amazonaws.com/images/test.png

gif : https://file-example.s3-accelerate.amazonaws.com/images/test.gif

bmp : https://file-example.s3-accelerate.amazonaws.com/images/test.bmp

webp : https://file-example.s3-accelerate.amazonaws.com/images/test.webp

caption *Required

The text under the file .
Data type : text, UTF-8 or UTF-16 string with emoji .
Max length : 1024 char .


								
Request samples
Note : don't forget to URL encode your query params like base64 or utf-8
WhatsApp Chat WhatsApp Chat Hello, how can I help you ?