Usage & limits
Usage & limits
Check your usage
GET /api/v1/usage returns activity analytics for your account over a selected
window — headline metrics with per-day spark series and deltas, a daily activity
series, voice-call duration stats, your most active numbers, and fixed-window
breakdown totals. Choose the window with days (7, 30, or 90; defaults to 30).
deltaPct is null when the previous equal window had no activity (for example, an
account younger than the selected window) — there’s no baseline to compare against.
currentPeriod is independent of the days window: it’s a monthly cycle anchored to
your account’s creation date (a stand-in until billing and pricing are defined). Each
number’s usage — plus an all aggregate — is split by direction (outbound/inbound) and
geography (domestic/international, by country calling code relative to the Dial number).
Limits to know
- Event waits —
POST /api/v1/events/waitaccepts atimeoutof 1–60 seconds. To wait longer, loop the request or keep a live stream open. - History lists —
GET /api/v1/messagesandGET /api/v1/callsreturn up to the 100 most recent records, newest first. Use thesinceanddirectionfilters on messages to narrow results. - Phone number format —
toandfromnumbers must be E.164 (e.g.+14155550123).
Treat a wait 408 as “try again,” not an error. Reads are safe to retry, but writes aren’t idempotent — retrying a failed POST can send a duplicate message or place a duplicate call, so confirm before re-sending.