cURL
curl --request PATCH \ --url https://whatsrb.com/api/v1/sessions/{session_id}/messages/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "sent", "whatsapp_message_id": "<string>", "error": "<string>" } '
{ "data": { "id": "<string>", "direction": "outbound", "to": "<string>", "message_type": "<string>", "content": "<string>", "status": "queued", "whatsapp_message_id": "<string>", "sent_at": "2023-11-07T05:31:56Z", "delivered_at": "2023-11-07T05:31:56Z", "read_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" } }
Used by the WhatsRB connector to report delivery status updates.
API key from the WhatsRB dashboard. Format: Bearer wrb_live_xxx
Bearer wrb_live_xxx
sent
delivered
read
failed
OK
Show child attributes