Send A Image To Phone Number Or Group

Request test
to
image
image_file
caption
Request URL
https://connectivity.pk/api/messages/image?instance_id={{instance_id}}&token={{token}}
Request body
token *Required
Your API Authorization code
to *Required
Phone number with international format e.g. +14155552671
or
chatID for contact or group e.g 14155552671@c.us or 14155552671-441234567890@g.us
image
HTTP link image or base64-encoded file

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

Max file size : 16MB.

Max Base64 length : 25,000,000

Example image 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
Contact Us
image_file
Use this as an alternative to image URL.
Allowed: jpg, jpeg, gif, png, webp, bmp.
Max file size: 16MB.
caption
The text under the file.
Data type: text, UTF-8 or UTF-16 string with emoji.
Max length: 1024 char.
Response
No response yet.
Request samples