Get usage
Account
Get usage
GET /v1/usage
GET
Get usage
Returns usage statistics for your account: total minutes, calls, SMS, and current credit balance.
Request
Query parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
period | enum | month_to_date | today, month_to_date, last_30_days, all_time |
since | ISO date | — | Custom start date (overrides period) |
until | ISO date | now | Custom end date |
Response
200 OK:
Field notes
minutesis fractional —4218.5= 4218 minutes 30 secondscost_usdis Nixflex’s charge (does not include Twilio costs which billed directly to you)balance.credit_usdupdates in near-real-time after each call
Use cases
- Monitor usage in a dashboard or admin panel
- Trigger alerts before running out of credit
- Reconcile Nixflex charges against your records
- Track cost-per-call by date range