Fill-status board: one row per attempt, most recently updated first
GET
/v1/campaigns/{campaign_id}/attempts
const url = 'https://api.vocapable.com/v1/campaigns/example/attempts?limit=50';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://api.vocapable.com/v1/campaigns/example/attempts?limit=50' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”campaign_id
required
Campaign Id
string
Query Parameters
Section titled “Query Parameters”limit
Limit
integer
next_eligible_at
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
CursorPage[AttemptSummary]
object
data
required
Data
Array<object>
AttemptSummaryOne ContactAttempt row of the fill-status board.
object
id
required
Id
string
contact_id
required
Contact Id
string
contact_phone
required
Contact Phone
string
attempt_number
required
Attempt Number
integer
state
required
AttemptState
string
disposition
Any of:
Disposition
Terminal outcome of a contact attempt (docs/06-campaign-engine.md).
string
null
failure_reason
Any of:
FailureReason
Why an attempt failed. Exactly four values (CANON fact 64).
Machine detection is not here - it lands the attempt in the machine state. A
missing conversation slot is not here either - that is the abandoned_no_slot
disposition.
string
null
updated_at
required
Updated At
string format: date-time
has_more
Has More
boolean
Example
{ "data": [ { "state": "pending", "disposition": "completed_goal", "failure_reason": "wss_dropped" } ], "has_more": false}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}