Sending image status
#
Method#
/send-image-statusPOST
https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/send-image-status
#
HeaderKey | Value |
---|---|
Client-Token | ACCOUNT SECURITY TOKEN |
#
ConceptMethod responsible for sending an image to your status, remember that statuses disappear after 24 hours.
#
Attributes#
RequiredAttributes | Type | Description |
---|---|---|
image | String | Images link or Base64 |
#
OpcionaisAttributes | Type | Description |
---|---|---|
caption | string | Caption that will be sent along with the image in the status |
#
Request Body#
URLMethod
POST
https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/send-image-status
#
BodySend base64 image
If you have doubts about how to send a Base64 image, access the "Send Image" message topic, there you will find everything you need to know about sending in this format.
#
Response#
200Attributos | Type | Description |
---|---|---|
zaapId | string | id on z-api |
messageId | string | id on whatsapp |
Exemplo
#
405In this case certify that you are sending the correct specification of the method. This means, verify if you sent a POST or GET as specified at the beginning of this topic.