Customer guide · Developers
API keys & public API
Create API keys, scopes, conventions, pagination, idempotency and rate limits.
Open the customer portalThe 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
- API & Webhooks → API keys → create a key.
- Give it a name and choose its scopes (below).
- Confirm with your authenticator code.
- 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.
| Scope | Allows |
|---|---|
numbers:read | Read numbers and their destinations |
numbers:write | Change number labels and destinations |
cdr:read | Read call records |
sms:read | Read received SMS |
wallet:read | Read 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 path | Scope |
|---|---|
GET /numbers, GET /numbers/{id} | numbers:read |
PATCH /numbers/{id} (label) | numbers:write |
GET /numbers/{id}/destinations | numbers:read |
PUT /numbers/{id}/destinations | numbers:write |
GET /cdrs | cdr:read |
GET /sms | sms:read |
GET /wallet | wallet: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 therequestIdwhen 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-Keyheader (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.