cURL
curl --request GET \ --url http://127.0.0.1:3333/v3/webhooks/{botId}/metrics \ --header 'Authorization: Bearer <token>'
{ "scope": { "workspaceId": "<string>", "botId": "<string>", "webhookId": "<string>" }, "timeRange": "24h", "windowStart": "<string>", "windowEnd": "<string>", "deliveries": { "total": 123, "queued": 123, "processing": 123, "success": 123, "failed": 123, "dead": 123 }, "latency": { "sampleSize": 123, "p50Ms": 123, "p95Ms": 123, "p99Ms": 123 } }
Get Metrics with the Sendbot API v3.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
24h
7d
30d
Default Response
Show child attributes