Respond to Status with Text
Method#
/reply-status-text#
POST https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/reply-status-text
Header#
| Key | Value |
|---|---|
| Client-Token | ACCOUNT SECURITY TOKEN |
Concept#
Method responsible for sending a text response to a status.
Attributes#
Required#
| Attribute | Type | Description |
|---|---|---|
| phone | String | Phone number of the person who sent the status |
| message | String | Response message |
| 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-text
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.