Get spend and limits

What the Spend and limits page shows: this calendar month's spend (UTC, from the 1st) on texts (SMS), one-time codes (OTP), pay-as-you-go email (EMAIL)…

GEThttps://app.usenotix.dev/api/v1/billing/spend

Full access and read only keys can call this. Sending access keys cannot. Key permissions lists the extra rules some calls have.

What the Spend and limits page shows: this calendar month's spend (UTC, from the 1st) on texts (SMS), one-time codes (OTP), pay-as-you-go email (EMAIL) and the plan, each channel's monthly budget and how much of it is used, the month's forecast at this pace, the wallet, the alerts (recipients by name), and each API key's daily spend limit and this month's spend. Amounts are in the wallet currency's minor unit with a formatted string beside each. A key's spend counts texts and codes it sent since Spend and limits went live.

Who can call it

A full access or read only key made by someone who is a team admin today (the team owner always is), as the billing page is for admins. A key made by a member answers 403 FORBIDDEN, and so does a key made before Notix recorded who made each key. Send-only and live AI keys answer 403 SCOPE_DENIED; a key limited to one domain answers 403 DOMAIN_PINNED. Every read is recorded in the key's audit log (GET /v1/audit-log).

The team can make 60 billing reads a minute through the API (20 for invoices, which are read from Stripe, within a limit shared by every team); when Notix cannot count them the answer is 503 SERVICE_UNAVAILABLE (try again shortly), never a 429.

Headers

Authorizationstringrequired

Bearer followed by your API key.

Errors

403

`SCOPE_DENIED`: a send-only, read-only (on a change) or live AI key. `DOMAIN_PINNED`: a key limited to one domain. `FORBIDDEN`: the key was made by a member who is not a team admin, or before Notix recorded who made each key.

429

The team read billing 60 times in the last minute.

503

The rate counters cannot be read just now; try again shortly.

Every error has the same shape. See all error codes.

curl -X GET "https://app.usenotix.dev/api/v1/billing/spend" \
  -H "Authorization: Bearer $NOTIX_API_KEY"
Response200
{
  "currency": "USD",
  "month": {
    "key": "2026-10",
    "start": "2026-10-17T00:00:00.000Z",
    "end": "2026-10-17T00:00:00.000Z"
  },
  "spent": {
    "minor": 1,
    "formatted": "string"
  },
  "budget": {
    "minor": 1,
    "formatted": "string"
  },
  "forecast": {
    "minor": 1,
    "formatted": "string",
    "withinBudget": true
  },
  "wallet": {
    "balanceMinor": 1,
    "balanceFormatted": "string",
    "renewsAt": "2026-10-17T00:00:00.000Z"
  },
  "channels": [
    {
      "channel": "SMS",
      "spentMinor": 1,
      "spentFormatted": "string",
      "count": 1,
      "percent": 1,
      "budget": {
        "amountMinor": null,
        "amountFormatted": null,
        "stopAtLimit": null
      }
    }
  ],
  "alerts": [
    {
      "id": "cm1x8f3k20001qz7v5b9d2e4a",
      "kind": "BUDGET_PERCENT",
      "percent": 1,
      "amountMinor": 1,
      "enabled": true,
      "recipients": [
        null
      ]
    }
  ],
  "keys": [
    {
      "id": 1,
      "name": "Acme",
      "dailySpendLimitMinor": 1,
      "spentThisMonthMinor": 1,
      "paused": true
    }
  ]
}
Open in ClaudeOpen in ChatGPT