API Reference
Dialer

List a campaign's call attempts

GET
/v1/dialer/campaigns/{id}/attempts

The per-contact attempt log: times, outcome, call id and costs. Newest first.

Authorization

bearerAuth
AuthorizationBearer <token>

Long-lived ES256 JWT minted from the dashboard (https://app.sautikit.com/developers/api-keys). Signed by the platform keyring. Carries workspace_id and scopes claims; revoked via the platform deny-list.

In: header

Path Parameters

id*string
Formatuuid

Query Parameters

cursor?string

Opaque next_cursor from the previous page.

limit?integer
Range1 <= value <= 200
Default50
contact_id?string

Only this contact's attempts.

Formatuuid
include?"summary"

summary adds each attempt's post-call summary and suggested_outcome (when it has one).

Value in

  • "summary"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/dialer/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/attempts"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",      "attempt_n": 0,      "client_request_id": "string",      "call_id": "0d0a16ab-a508-4d58-bf24-5dc3cb248f3e",      "originated_at": "2019-08-24T14:15:22Z",      "answered_at": "2019-08-24T14:15:22Z",      "ended_at": "2019-08-24T14:15:22Z",      "amd_verdict": "",      "amd_tokens": 0,      "amd_reason": "string",      "amd_seconds": 0,      "outcome": "string",      "telco_cost_minor": 0,      "amd_cost_minor": 0,      "ai_cost_minor": 0,      "summary": "string",      "suggested_outcome": "string"    }  ],  "next_cursor": "string"}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string",    "details": [      "string"    ],    "resolution": "string",    "reason": "invalid_characters",    "suggested_e164": "+254727524723"  }}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string",    "details": [      "string"    ],    "resolution": "string",    "reason": "invalid_characters",    "suggested_e164": "+254727524723"  }}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string",    "details": [      "string"    ],    "resolution": "string",    "reason": "invalid_characters",    "suggested_e164": "+254727524723"  }}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string",    "details": [      "string"    ],    "resolution": "string",    "reason": "invalid_characters",    "suggested_e164": "+254727524723"  }}