campaign
Get one voice job's status and per-item outcomes
GET
/v1/campaign/voice/{job_id}
const url = 'https://aggregator.example.com/v1/campaign/voice/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://aggregator.example.com/v1/campaign/voice/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Returns the job status (derived from item counts) and each item id with its status, provider ref and skip/error reason. Scoped to this org and to the voice channel — a job belonging to another org or channel returns 403.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”job_id
required
string format: uuid
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
job_id
required
string format: uuid
channel
required
string
status
required
string
counts
required
object
total
required
integer
pending
required
integer
resolved
required
integer
submitted
required
integer
sent
required
integer
skipped_not_owned
required
integer
skipped_no_contact
required
integer
duplicate_active
required
integer
failed
required
integer
created_at
required
string
updated_at
required
string
metadata
required
Array<object>
object
key
required
string
value
required
string
provider_response
items
required
Array<object>
object
item_id
required
string
status
required
string
provider_ref
required
string
provider_batch_ref
required
string
skip_reason
required
string
error_reason
required
string
Example
{ "channel": "export", "status": "queued", "items": [ { "status": "pending" } ]}Default Response
Media typeapplication/json
object
error
required
object
code
required
string
title
required
string
detail
required
string
docs
string
fields
object
key
additional properties
requestId
required
string
timestamp
required
string
key
additional properties
any
key
additional properties
any
Examplegenerated
{ "error": { "code": "example", "title": "example", "detail": "example", "docs": "example", "fields": { "additionalProperty": "example" }, "requestId": "example", "timestamp": "example" }}Default Response
Media typeapplication/json
object
error
required
object
code
required
string
title
required
string
detail
required
string
docs
string
fields
object
key
additional properties
requestId
required
string
timestamp
required
string
key
additional properties
any
key
additional properties
any
Examplegenerated
{ "error": { "code": "example", "title": "example", "detail": "example", "docs": "example", "fields": { "additionalProperty": "example" }, "requestId": "example", "timestamp": "example" }}
