List recurring SMS charges
GET/api/v1/sms/billing/resources
GET /sms/billing/resources
curl -X GET 'https://www.unitpost.com/api/v1/sms/billing/resources' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'User-Agent: my-app/1.0'Response · 200
{
"object": "list",
"has_more": false,
"data": [
{
"object": "sms_billable_resource",
"id": "id_123",
"label": "string",
"resource_type": "string",
"phone_number": "string",
"country": "string",
"monthly_price_cents": 0,
"status": "queued",
"billing_started_at": "2026-01-01T00:00:00.000Z",
"next_charge_at": "2026-01-01T00:00:00.000Z",
"grace_until": "string",
"billable_to_customer": false,
"created_at": "2026-01-01T00:00:00.000Z"
}
]
}What your workspace pays for SMS every month: each number and 10DLC campaign, its monthly price, status, next charge and, for a past-due number, the date it is released. Buying a carrier resource is an SMS quote, then its confirm. Requires the sms:read capability.
Parameters3 fields
| Field | Type | Description |
|---|---|---|
limit | integer · query | Max rows to return (default 20, max 100). |
after | string · query | Return rows after this id (forward paging). |
before | string · query | Return rows before this id (backward paging). |
Response · 200 fields13 fields
| Field | Type | Description |
|---|---|---|
objectrequired | string | — |
idrequired | string | — |
labelrequired | string | What the charge is for (a local number, a 10DLC campaign, …). |
resource_typerequired | string | — |
phone_numberrequired | string | null | For a number, which one. |
countryrequired | string | null | — |
monthly_price_centsrequired | integer | — |
statusrequired | string | — |
billing_started_atrequired | string | null | — |
next_charge_atrequired | string | null | — |
grace_untilrequired | string | null | A past-due number is released after this. |
billable_to_customerrequired | boolean | — |
created_atrequired | string | — |
200401403404422