Diska
Campaigns

List recipients

The recipients with their state, the call outcome (outcome), the attempts and the call's call_session_id (the id of GET /v1/calls/{call_id}).
GET https://api.diska.ai/v1/campaigns/{campaign_id}/recipients

Scope: campaigns:read

Parameters

Path

NameTypeRequiredDescription
campaign_idstringYesThe campaign's ID.

Query string

NameTypeRequiredDescription
statusstring | nullNoOnly recipients in this state. One of: pending, reserved, calling, in_call, completed, failed, cancelled, excluded. Up to 20 characters.
limitintegerNoHow many per page. Between 1 and 200. Default: 50.
offsetintegerNoHow many to skip. Minimum 0. Default: 0.

Examples

curl "https://api.diska.ai/v1/campaigns/<campaign_id>/recipients" \
  -H "Authorization: Bearer $DISKA_API_KEY"

Try it

Send the request from this page, with your key. The key stays on this page: it is not stored and is only sent to api.diska.ai. Use a test key with the fewest scopes you need.

GEThttps://api.diska.ai/v1/campaigns/{campaign_id}/recipients
Starts with dsk_. It stays in this browser tab only.
path
query
query
query
Enter an API key (dsk_…).

Response 200

FieldTypeDescription
itemsarrayThe recipients.
items[].idstringRecipient ID.
items[].phone_e164stringNumber.
items[].namestring | nullName.
items[].emailstring | nullEmail.
items[].variablesobjectVariables.
items[].external_idstring | nullYour own ID.
items[].statusstringpending, reserved, calling, in_call, completed, failed, cancelled or excluded.
items[].outcomestring | nullanswered, no_answer or unavailable, when the call reached the network.
items[].attemptsintegerAttempts made. Default: 0.
items[].failure_codestring | nullFailure code.
items[].failure_reasonstring | nullFailure reason.
items[].call_session_idstring | nullThe call in GET /v1/calls/{call_id}.
items[].session_idstring | nullThe voice session (the webhooks' session_id).
items[].duration_secondsinteger | nullCall duration.
items[].next_attempt_atstring | nullNext attempt.
items[].last_attempt_atstring | nullLast attempt.
items[].answered_atstring | nullWhen answered.
items[].ended_atstring | nullWhen it ended.
items[].created_atstring | nullCreation date (ISO 8601).
items[].has_recordingbooleantrue when the call has a recording. Default: false.
totalintegerTotal with this filter.
limitintegerPage size.
offsetintegerThis page's offset.
{
  "items": [
    {
      "id": "5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93",
      "phone_e164": "…",
      "name": "Exemplo",
      "email": "…",
      "variables": {},
      "external_id": "5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93",
      "status": "pending",
      "outcome": "answered",
      "attempts": 0,
      "failure_code": "…",
      "failure_reason": "…",
      "call_session_id": "5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93",
      "session_id": "5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93",
      "duration_seconds": 95,
      "next_attempt_at": "2026-10-25T18:40:00Z",
      "last_attempt_at": "2026-10-25T18:40:00Z",
      "answered_at": "2026-10-25T18:40:00Z",
      "ended_at": "2026-10-25T18:41:35Z",
      "created_at": "2026-10-25T18:40:00Z",
      "has_recording": false
    }
  ],
  "total": 1,
  "limit": 50,
  "offset": 0
}

Errors

CodeWhen
404Campaign not found.

Errors common to every endpoint (401, 403, 422, 429 and 5xx) are in Errors.

Copyright © 2026