Sending video Status
#
Method#
/send-video-statusPOST
https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/send-video-status
#
HeaderKey | Value |
---|---|
Client-Token | ACCOUNT SECURITY TOKEN |
#
ConceptThis 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#
RequiredAttributes | Type | Description |
---|---|---|
video | String | Video link or its Base64 |
#
OptionalAttributes | Type | Description |
---|---|---|
caption | string | Caption that will be sent along with the video in the status |
#
Request Body#
URLMethod
POST
https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/send-video-status
#
Body#
Response#
200Attributes | Type | Description |
---|---|---|
zaapId | string | ID in z-api |
messageId | string | ID in WhatsApp |
Example
#
405In 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.