Skip to main content
GET
/
usage
/
metrics
Get usage metrics
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
    }
  }
}

Authorizations

Authorization
string
header
required

API key from the WhatsRB dashboard. Format: Bearer wrb_live_xxx

Response

OK

data
object