Skip to main content

Respond to Status with Sticker

Method#

/reply-status-sticker#

POST https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/reply-status-sticker

Header#

KeyValue
Client-TokenACCOUNT SECURITY TOKEN

Concept#

Method responsible for sending a sticker response to a status.


Attributes#

Required#

AttributeTypeDescription
phoneStringPhone number of the person who sent the status
stickerStringLink to the sticker or its Base64
statusMessageIdStringStatus message ID. It can be obtained from the received message webhook -> webhook

Request Body#

URL#

Method

POST https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/reply-status-sticker

Body#

{
"phone": "5544999999999",
"sticker": "https://www.z-api.io/wp-content/themes/z-api/dist/images/logo.svg",
"statusMessageId": "1F606398F2ECAA4846269F659B6003A9"
}

Response#

200#

AttributeTypeDescription
zaapIdstringid in z-api
messageIdstringid in WhatsApp
idstringAdded for compatibility with Zapier, it has the same value as messageId

Example

{
"zaapId": "3999984263738042930CD6ECDE9VDWSA",
"messageId": "D241XXXX732339502B68",
"id": "D241XXXX732339502B68"
}

405#

In this case, ensure you are sending the method specification correctly. Check if you sent POST or GET as specified at the beginning of this topic.

415#


Code#