List recurring SMS charges

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
FieldTypeDescription
limitinteger · queryMax rows to return (default 20, max 100).
afterstring · queryReturn rows after this id (forward paging).
beforestring · queryReturn rows before this id (backward paging).
Response · 200 fields13 fields
FieldTypeDescription
objectrequiredstring—
idrequiredstring—
labelrequiredstringWhat the charge is for (a local number, a 10DLC campaign, …).
resource_typerequiredstring—
phone_numberrequiredstring | nullFor a number, which one.
countryrequiredstring | null—
monthly_price_centsrequiredinteger—
statusrequiredstring—
billing_started_atrequiredstring | null—
next_charge_atrequiredstring | null—
grace_untilrequiredstring | nullA past-due number is released after this.
billable_to_customerrequiredboolean—
created_atrequiredstring—
200401403404422

Search docs and guides

Search the docs and product guides.