Fetch Outbound Communication Batch Results
/api/v1/outbound/batches/{batch_id}/resultsAuthentication
Syllable-API-KeyrequiredSend Syllable-API-Key in the header.
Need a credential? Create or manage an API token in the Syllable Console.
Parameters
Path parameters
batch_id
string
path
required
Query parameters
reference_id
string | null
query
optional
status
string | null
query
optional
insights_status
string | null
query
optional
Responses
200Successful Response
application/json
response
CommunicationRequestResult[]
required
Item schema
itemsCommunicationRequestResultrequired15 fields
reference_idstringrequiredID for target outreach (unique within batch)
targetstringrequiredTarget phone number
request_variablesobjectrequiredVariables for request
1 field
{key}stringoptionalchannel_manager_sidstring | nulloptionalChannel manager SID
created_atstring (date-time)optionalTimestamp of request creation
sent_atstring (date-time) | nulloptionalTimestamp at which request was sent
attempt_countintegeroptionalNumber of attempts for request
0session_idinteger | nulloptionalUnique ID for call session
conversation_idinteger | nulloptionalUnique ID for conversation
request_statusenum<string>optionalStatus of request
["PENDING","DUPLICATE","INITIATED","CONNECTED","COMPLETED","FAILED","CANCELED","INVALID","SKIPPED"]Default PENDINGchannel_manager_statusstring | nulloptionalStatus of request in channel manager (see ChannelManagerStatus)
insights_statusstring | nulloptionalStatus of session in insight workflow
insightsobject | nulloptionalInsights from call
1 options
{key}string | integer | numberoptional3 options
Option 1stringoptionalOption 2integeroptionalOption 3numberoptionalline_typestring | nulloptionalRaw Twilio Lookup v2 line type of the target number (e.g. 'mobile', 'landline', 'fixedVoip', 'tollFree'); resolved at ingestion. 'unknown' means Twilio answered but could not determine the line type; None means no lookup data at all. See ALL_LINE_TYPES in lib/twilio/line_type_lookup.py for the full vocabulary.
enrichmentobject | nulloptionalFull Twilio Lookup v2 line_type_intelligence payload resolved at ingestion (line_type / carrier_name / mcc / mnc / error_code). None when no lookup was performed.
Response example
[
{
"reference_id": "string",
"target": "string",
"request_variables": "string",
"channel_manager_sid": "string",
"created_at": "string",
"sent_at": "string",
"attempt_count": 0,
"session_id": "string",
"conversation_id": "string",
"request_status": "PENDING",
"channel_manager_status": "string",
"insights_status": "string",
"insights": "string",
"line_type": "string",
"enrichment": "string"
}
]422Validation Error
application/json
response
HTTPValidationError
required
1 field
detailValidationError[]optionalItem schema
itemsValidationErrorrequired3 fields
locstring | integer[]requiredItem schema
itemsstring | integerrequired2 options
Option 1stringrequiredOption 2integerrequiredmsgstringrequiredtypestringrequiredResponse example
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
