Query Parameters
statusstring
Filter leads by status. Possible values: created, scheduled, processing, completed, rescheduled, reached-max-retries, blacklisted
campaign_id integer
Filter leads by campaign ID
phone_number string
Filter leads by phone number (partial match supported)
date_from string
Filter leads created from this date (YYYY-MM-DD format)
date_to string
Filter leads created until this date (YYYY-MM-DD format)
per_page integer
Number of leads per page (1-100, default: 15)
page integer
Page number (default: 1)
Response fields
dataarray
properties
id integer
The id of the lead
campaign_id integer
The ID of the campaign this lead belongs to
phone_number string
The phone number of the lead in E.164 format
variables object
The variables associated with the lead
status string
The status of the lead
fallback_sent_at string
When a call→text fallback was sent for this lead, or null
created_at string
The created at date of the lead
updated_at string
The updated at date of the lead
campaign object
The campaign information
campaign properties
id integer
The id of the campaign
name string
The name of the campaign
channel string
call, whatsapp, or sms
secondary_contacts array
Array of secondary contact leads associated with this lead
secondary_contacts properties
id integer
The id of the secondary contact lead
phone_number string
The phone number of the secondary contact in E.164 format
variables object
The variables associated with the secondary contact
status string
The status of the secondary contact
created_at string
The created at date of the secondary contact
updated_at string
The updated at date of the secondary contact
current_page integer
The current page number
per_page integer
Number of items per page
total integer
Total number of leads matching the criteria
last_page integer
The last page number
200 Response

