Skip to Content
Outbound calls

List outbound jobs

Permissioncalls:readAuthentication
GET
/outbound-jobs

Lists queued and historical outbound intent in reverse creation order. A job may wait for contact hours or capacity without consuming an attempt.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Query Parameters

cursor?string

Opaque pagination cursor from a previous response's next_cursor.

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

Case-insensitive substring search of destination_e164.

Length1 <= length <= 200
created_from?string

Inclusive created_at lower bound as RFC3339 or YYYY-MM-DD (midnight UTC).

created_to?string

Exclusive created_at upper bound as RFC3339 or YYYY-MM-DD (midnight UTC). Must be after created_from.

status?string

Comma-separated outbound job statuses. Duplicates are ignored; empty or unsupported values are rejected.

Response Body

Matching outbound jobs.

application/json
  1. response
data*array<>
next_cursor*string|null
Example Request
curl -X GET 'https://api.kejue.co/v1/outbound-jobs'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",      "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",      "flow_id": "0746f03b-16cc-49fb-9833-df3713d407d2",      "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",      "group_member_id": "03c46fef-cbe7-4bba-8c49-d666090d0932",      "agent_version_id": "1c2a713c-7248-4a56-a9eb-0bdcb3a41741",      "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",      "destination_e164": "string",      "number_pool_id": "3a45de3c-a4e6-4170-8728-80f90ed3f295",      "phone_number_id": "54afc7b8-17df-415a-9fb0-21ee66219576",      "trunk_id": "d1c0247b-6570-4df5-9107-7986a22149d1",      "transport": "livekit_sip",      "status": "scheduled",      "priority": -100,      "scheduled_at": "2019-08-24T14:15:22Z",      "not_before": "2019-08-24T14:15:22Z",      "expires_at": "2019-08-24T14:15:22Z",      "contact_timezone": "string",      "attempt_count": 0,      "consumed_attempt_count": 0,      "max_attempts": 1,      "variables": {        "property1": "string",        "property2": "string"      },      "metadata": {},      "policy_context": {        "schema_version": 1,        "source": "organization",        "org_policy_version": 0,        "timezone": "string",        "windows": [          {            "weekdays": [              1            ],            "start": "09:00",            "end": "17:00"          }        ]      },      "retry_policy": {        "version": 1,        "source": "organization",        "org_policy_version": 0,        "destination_busy_backoff_seconds": [          1        ],        "destination_unavailable_backoff_seconds": [          1        ],        "destination_declined_backoff_seconds": [          1        ],        "retry_declined": true,        "capacity_retry": {          "minimum_seconds": 1,          "maximum_seconds": 1,          "jitter": true        },        "ambiguous_provider_result": "reconcile_before_retry"      },      "last_failure_class": "string",      "last_provider_code": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "dncr": {        "schema_version": 1,        "requested": {          "mode": "inherit",          "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"        },        "enabled": true,        "enforced": true,        "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",        "policy_version": 0,        "source": "organization"      },      "dncr_result": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "decision": "allowed",        "reason": "string",        "checked_at": "2019-08-24T14:15:22Z",        "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",        "credential_revision": 1,        "transaction_id": "string",        "policy": {          "schema_version": 1,          "requested": {            "mode": "inherit",            "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9"          },          "enabled": true,          "enforced": true,          "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",          "policy_version": 0,          "source": "organization"        },        "detail": "string"      }    }  ],  "next_cursor": "string"}