story
[BETA] post a text or media status/story
Publishes a status update visible to contacts per the user's privacy settings. Provide content for a text status (with optional backgroundColor ARGB integer and fontStyle 0-7) or mediaUrl (plus optional mediaCaption) for an image/video/audio status. Note: This endpoint is currently in beta and may change without notice.
post/instances/{id}/client/action/post-status
Request
- Base URL: https://waapi.app/api/v1
- URL: https://waapi.app/api/v1/instances/{id}/client/action/post-status
- Auth: HTTP bearer
Path parameters
idinteger required
Instance ID
Request body
Example request
{
"content": "Hello from WaAPI!",
"mediaUrl": "https://example.com/image.jpg",
"backgroundColor": 4286070949
}Response
Request reached the instance. data.status reports whether the action was carried out; on error data carries message and explanation. Payload: Status posted successfully.
Example response
{
"status": "success",
"data": {
"status": "success",
"data": {
"posted": true
}
},
"links": {
"self": "https://waapi.app/api/v1/instances/1/client/action/post-status"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.