Calls
List the account's calls, newest first
GET /v1/calls
- Scope
calls:read- Tier
- Tier 1
- Data
- Personal data
- Idempotency
- Idempotency-Key: not used
- Limit
- Up to 100 per page (default 50)
Tenant-wide: a key sees every call of its account (there is no team scope). Order is created_at descending, then id descending. The cursor is bound to the account, the API client and the filters. Known limit: a call moved into the account after a page was read may appear behind a cursor that was already returned.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | no | (min 1; max 100; default 50) |
cursor | query | string | no | page.next_cursor from the previous page. Opaque; bound to your account, API client and filters. (min length 1; max length 1024) |
campaign_id | query | string (CampaignId) | no | |
direction | query | one of inbound, outbound | no | |
X-Correlation-ID | header | string | no | Your own trace value, logged with the request. Metadata only, never identity. (min length 1; max length 128) |
Response
200: One page of calls.
| Header | Meaning |
|---|---|
X-Request-ID | The DialerBee request id. Quote it to support. Every response carries X-Request-ID: req_<ULID>, or edge_<32 hex> when the edge answered before the request reached the API. |
Cache-Control | Always no-store. |
Examples
Request example
curl
curl -sS -X GET \
"https://app.dialerbee.com/api/v1/calls?limit=50" \
-H "Authorization: Bearer $DIALERBEE_API_KEY"
Python (SDK)
from dialerbee import DialerBee
db = DialerBee() # reads DIALERBEE_API_KEY from the environment
page = db.calls.list(limit=50)
for item in page: # this page, then every following page
print(item.id)
Response example
200
{
"data": [
{
"id": "call_0f8fad5b-d9cb-469f-a165-70867728950e",
"direction": "outbound",
"from_number": "+12125550100",
"to_number": "+12125550123",
"status": "completed",
"created_at": "2026-09-29T09:15:00Z",
"answered_at": "2026-09-29T11:58:07Z",
"ended_at": "2026-09-29T11:59:40Z",
"duration_seconds": 93,
"campaign_id": "cmp_0f8fad5b-d9cb-469f-a165-70867728950e",
"disposition": "interested",
"hangup_cause": "NORMAL_CLEARING"
}
],
"page": {
"next_cursor": "c1.example-opaque-cursor",
"has_more": true
}
}
Error examples
400 invalid_cursor
{
"type": "https://docs.dialerbee.com/errors/invalid-cursor",
"title": "Invalid cursor",
"status": 400,
"detail": "The cursor is not valid for this request: it was changed, it belongs to another list or other filters, or it expired.",
"instance": "urn:dialerbee:request:req_01K6BZ3M9X4T7Q2V8N5R6P1W0C",
"code": "invalid_cursor",
"request_id": "req_01K6BZ3M9X4T7Q2V8N5R6P1W0C"
}
403 insufficient_scope
{
"type": "https://docs.dialerbee.com/errors/insufficient-scope",
"title": "Not permitted",
"status": 403,
"detail": "The API client does not hold the scope this operation requires.",
"instance": "urn:dialerbee:request:req_01K6BZ3M9X4T7Q2V8N5R6P1W0C",
"code": "insufficient_scope",
"request_id": "req_01K6BZ3M9X4T7Q2V8N5R6P1W0C"
}
401 invalid_api_key
{
"type": "https://docs.dialerbee.com/errors/invalid-api-key",
"title": "Invalid API key",
"status": 401,
"detail": "The Authorization header is missing, is not Bearer dbk_live_..., or the key is not recognised, has expired or was revoked (one answer for every key problem, so a key's state is never revealed).",
"instance": "urn:dialerbee:request:req_01K6BZ3M9X4T7Q2V8N5R6P1W0C",
"code": "invalid_api_key",
"request_id": "req_01K6BZ3M9X4T7Q2V8N5R6P1W0C"
}
Errors
| Status | Code | Title |
|---|---|---|
| 401 | invalid_api_key | Invalid API key |
| 403 | api_access_disabled | API access disabled |
| 403 | ip_not_allowed | IP address not allowed |
| 403 | insufficient_scope | Not permitted |
| 400 | credential_in_url | Credential in URL |
| 400, 422 | validation_failed | Invalid request |
| 400 | invalid_cursor | Invalid cursor |
| 429 | rate_limit_exceeded | Too many requests |
| 503 | temporarily_unavailable | Temporarily unavailable |
| 503 | upstream_unavailable | Temporarily unavailable |
| 502 | upstream_invalid_response | Upstream error |
| 500 | internal_error | Internal error |
Objects
CallList
| Field | Type | Required | Description |
|---|---|---|---|
data | array of Call | yes | |
page | Page | yes | Pass next_cursor as cursor to get the next page. null means this is the last page. |
Page
Pass next_cursor as cursor to get the next page. null means this is the last page.
| Field | Type | Required | Description |
|---|---|---|---|
next_cursor | string or null | yes | (max length 1024) |
has_more | boolean | yes |
Call
| Field | Type | Required | Description |
|---|---|---|---|
id | string (CallId) | yes | A call. call_ + a lower-case UUID. |
direction | string | yes | |
from_number | string | yes | |
to_number | string | yes | |
status | string | yes | |
created_at | string (date-time) | yes | |
answered_at | string (date-time) or null | yes | |
ended_at | string (date-time) or null | yes | |
duration_seconds | number or null | yes | |
campaign_id | string (CampaignId) or null | yes | |
disposition | string or null | yes | |
hangup_cause | string or null | yes |