listBulkCallLines
Retrieve per-contact call results for a bulk call campaign, including call outcomes, sent variables, and recording IDs, with cursor-based paging, status filters, and phone search.
Instructions
List per-contact results for a campaign.
Each row has what happened on the call, the variables you sent, and
call.recording_id.
Paging
Call with no cursor. Then pass back the next_cursor you were given until
it is null. Rows come oldest first. pagesize defaults to 30 and goes up
to 150. Cursors are opaque, so never build one. No contact is skipped or
returned twice, even while the campaign dials.
cursor = None
while True:
page = GET /lines?pagesize=150&cursor={cursor}
handle(page["records"])
cursor = page["next_cursor"]
if not cursor: breakTranscripts are not in the row
Transcripts reach 212 KB, so rows carry only call.recording_id. Fetch the
transcript from GET /calls/logs/{recording_id}.
(Tags: Bulk calls)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bulk_call_id": "<bulk_call_id>"
},
"name": "listBulkCallLines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | The `next_cursor` from your previous response. Omit it on the first request. Opaque: pass it back unchanged. | |
| search | No | An exact phone number, matched against the contact's number and the number that called it. Not a substring search. | |
| pagesize | No | Rows per page. Above 150 the request is refused. | |
| call_status | No | Return only contacts in this state. | |
| bulk_call_id | Yes | Id of the bulk call campaign. | |
| include_total | No | Add `total_records` to the response. It costs a count over the whole filtered campaign, so it is off unless you ask. Ask for it once to fill a header, not on every page of a walk. | |
| interaction_status | No | Return only contacts with this interaction outcome. |