Statuses
Publish and manage WhatsApp statuses (Stories) with Wazend: text, image, video, voice note and deletion.
WhatsApp statuses (also known as Stories) are temporary posts. With Wazend you can publish text, image, video and voice note statuses.
Publish text status
POST /api/{session}/status/text{
"text": "Today's news!",
"backgroundColor": "#000000",
"font": 0
}Publish status with image
POST /api/{session}/status/image{
"file": {
"mimetype": "image/jpeg",
"url": "https://ejemplo.com/foto.jpg"
},
"caption": "Mira esta foto"
}Publish status with video
POST /api/{session}/status/video{
"file": {
"mimetype": "video/mp4",
"url": "https://ejemplo.com/video.mp4"
},
"convert": true
}Publish status with voice note
POST /api/{session}/status/voice{
"file": {
"mimetype": "audio/ogg; codecs=opus",
"url": "https://ejemplo.com/audio.ogg"
},
"convert": true,
"backgroundColor": "#38b42f"
}Delete status
POST /api/{session}/status/delete{
"id": "status-id"
}Read statuses
Statuses are received as messages from the status@broadcast chat:
GET /api/{session}/chats/status%40broadcast/messages