Metrics and overview
The account's counts for a dashboard: the overview the console opens on, and metrics per hour or day with categories and verdicts.
On this page
The overview
GET /v1/overview is what the console's first page shows, in one call with account scope (an inbox key gets 403 forbidden). It answers an Overview:
inboxes- Active inboxes against the plan's allowance;
limitis null when the plan has none. keys- Active account keys and active inbox keys.
mail- Messages received and sent in the last 7 days, unread threads across live inboxes, and when mail last arrived and last left. Mail counts cover every inbox the account has had.
webhooks- How many inbox webhooks and endpoints exist, and deliveries that succeeded and failed in the last 24 hours.
checklist- What has happened at least once: an inbox created, a key created, a message received, a webhook connected (true while one exists), a message sent.
{
"inboxes": {
"active": 1,
"limit": 1
},
"keys": {
"account": 2,
"inbox": 1
},
"mail": {
"receivedLast7Days": 1204,
"sentLast7Days": 312,
"unreadThreads": 3,
"lastReceivedAt": "2026-11-05T10:05:00.000Z",
"lastSentAt": "2026-11-05T10:05:00.000Z"
},
"webhooks": {
"inboxWebhooks": 1,
"endpoints": 2,
"deliveredLast24Hours": 118,
"failedLast24Hours": 2
},
"checklist": {
"createdInbox": true,
"createdKey": true,
"receivedMessage": true,
"connectedWebhook": true,
"sentMessage": false
},
"services": {
"total": 7,
"pending": 1,
"paid": 2
}
}Metrics
GET /v1/metrics answers received, sent, delivered and failed per UTC bucket over a range, plus message categories and verdicts over the inbound mail of the range. Any credential may call it; an inbox key always gets its own inbox.
| Parameter | Meaning |
|---|---|
from, to | ISO instants. to defaults to now, from to 7 days before to. A range may span 90 days, or 7 with hour buckets; anything else is 400 validation_error. |
interval | hour or day, the bucket size. Defaults to day. |
inboxId | Only this inbox; omit for the whole account. |
curl -s "https://api.doorman.fyi/v1/metrics?interval=hour&inboxId=inb_01jc4q7w9k2m5n8p3r6t1v4x7z" \
-H "authorization: Bearer $DOORMAN_API_KEY"The answer is a Metrics: the range as applied, series with one entry per bucket covering [from, to) (buckets with no activity are present with zeros), totals over the range, categories (personal, automated, marketing, bounce, spam, malicious) and verdicts (clean, unverified, suspicious) over inbound mail.
{
"from": "2026-10-30T00:00:00.000Z",
"to": "2026-11-06T04:00:00.000Z",
"interval": "day",
"inboxId": null,
"series": [
{
"at": "2026-10-30T00:00:00.000Z",
"received": 140,
"sent": 38,
"webhookDelivered": 139,
"webhookFailed": 1
}
],
"totals": {
"received": 1204,
"sent": 312,
"webhookDelivered": 1192,
"webhookFailed": 12
},
"categories": {
"personal": 612,
"automated": 341,
"marketing": 188,
"bounce": 19,
"spam": 38,
"malicious": 6
},
"verdicts": {
"clean": 1071,
"unverified": 112,
"suspicious": 21
}
}
