cURL
curl --request GET \ --url https://whatsrb.com/api/v1/usage/metrics \ --header 'Authorization: Bearer <token>'
{ "data": { "sessions": { "total": 123, "connected": 123, "disconnect_rate_24h": 123 }, "messages": { "total_24h": 123, "sent_24h": 123, "failed_24h": 123, "success_rate_24h": 123, "avg_delivery_latency_ms": 123 } } }
API key from the WhatsRB dashboard. Format: Bearer wrb_live_xxx
Bearer wrb_live_xxx
OK
Show child attributes