Sending video Status
Method#
/send-video-status#
POST https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/send-video-status
Header#
| Key | Value |
|---|---|
| Client-Token | ACCOUNT SECURITY TOKEN |
Concept#
This method is responsible for sending a video to your status. Remember that statuses disappear after 24 hours.
caution
The maximum size for videos in status is 10MB.
Attributes#
Required#
| Attributes | Type | Description |
|---|---|---|
| video | String | Video link or its Base64 |
Optional#
| Attributes | Type | Description |
|---|---|---|
| caption | string | Caption that will be sent along with the video in the status |
Request Body#
URL#
Method
POST https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/send-video-status
Body#
Response#
200#
| Attributes | Type | Description |
|---|---|---|
| zaapId | string | ID in z-api |
| messageId | string | ID in WhatsApp |
Example
405#
In this case, ensure that you are correctly following the method specification, i.e., check if you are sending a POST or GET request as specified at the beginning of this topic.