cURL
curl --request GET \ --url https://api.buildwithchirp.com/v1/organization/billing/summary \ --header 'Authorization: Bearer <token>'
{ "total_cost": 5.43, "currency": "USD", "period": { "start": "<string>", "end": "<string>" }, "by_product": { "messaging": 123, "sip-trunking": 123, "webrtc": 123, "recording": 123, "media-storage": 123, "whatsapp": 123, "phone-numbers": 123 }, "by_channel": { "sms": 123, "mms": 123, "whatsapp": 123, "voice": 123, "other": 123 }, "by_direction": { "inbound": 123, "outbound": 123 }, "record_count": 123 }
Get aggregated cost totals by product, channel, and direction for a date range
Admin API key (format: sk_admin_*) for organization-level operations
Start date (YYYY-MM-DD)
"2026-02-01"
End date (YYYY-MM-DD)
"2026-02-28"
Filter by specific app
Aggregated billing summary
5.43
USD
Show child attributes