Respond to Status with GIF
Method#
/reply-status-gif#
POST https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/reply-status-gif
Header#
| Key | Value |
|---|---|
| Client-Token | ACCOUNT SECURITY TOKEN |
Concept#
Method responsible for sending a gif response to a status.
Attributes#
Required#
| Attribute | Type | Description |
|---|---|---|
| phone | String | Phone number of the person who sent the status |
| gif | String | Link to your GIF file (The file needs to be an mp4) |
| statusMessageId | String | Status 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-gif
Body#
Response#
200#
| Attribute | Type | Description |
|---|---|---|
| zaapId | string | id in z-api |
| messageId | string | id in WhatsApp |
| id | string | Added for compatibility with Zapier, it has the same value as messageId |
Example
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.