Skip to content
SisBird
DID Numbers

Customer guide · Developers

API keys & public API

Create API keys, scopes, conventions, pagination, idempotency and rate limits.

Open the customer portal

The public API lets your own systems read your numbers, call records, SMS and wallet, and change number labels and destinations. Open API & Webhooks.

Create an API key

  1. API & Webhooks → API keys → create a key.
  2. Give it a name and choose its scopes (below).
  3. Confirm with your authenticator code.
  4. Copy the key — it is shown only once and looks like didk_xxxxxxxx_…. We store only a hash.

You can have up to 10 active keys and revoke any key at any time. We email you whenever a key is created.

ScopeAllows
numbers:readRead numbers and their destinations
numbers:writeChange number labels and destinations
cdr:readRead call records
sms:readRead received SMS
wallet:readRead wallet balances

Make a request

Base URL: https://api.did.sisbird.com/v1/api

curl https://api.did.sisbird.com/v1/api/numbers \
  -H "Authorization: Bearer didk_your_key_here"
Method and pathScope
GET /numbers, GET /numbers/{id}numbers:read
PATCH /numbers/{id} (label)numbers:write
GET /numbers/{id}/destinationsnumbers:read
PUT /numbers/{id}/destinationsnumbers:write
GET /cdrscdr:read
GET /smssms:read
GET /walletwallet:read

The full machine-readable description (OpenAPI 3.1) is at api.did.sisbird.com/v1/openapi.json.

  • API keys work only on /v1/api; portal logins do not work there, and keys do not work in the portals.
  • While an account is suspended the API is read-only.

Conventions

  • JSON with camelCase field names.
  • Money is a decimal string, never a number: "12.50" (rates may have more decimals, e.g. "0.012000"). Currency is USD.
  • Times are ISO-8601 in UTC; phone numbers are E.164 (+447…); ids are UUIDs.
  • Errors look like {"error": {"code": "…", "message": "…", "details": …, "requestId": "…"}}. Quote the requestId when you contact support.
  • Pagination: ?limit=25&cursor=… (limit up to 100); use the cursor returned in the response for the next page.
  • Idempotency: send an Idempotency-Key header (a UUID) on requests that move money or create billable objects. Repeating the same key returns the original response; the same key with a different body is refused with 409.

Rate limits

Each key has a per-minute request limit set by your provider. Above it you get 429 with a Retry-After header — wait that many seconds and retry.