Endpoint Alias: You can also use /api/v1/records instead of /api/v1/leads. Both endpoints are functionally identical - use whichever naming convention fits your integration.
The API supports two lead import patterns depending on your data availability:
Standard Mode
Phone number known at import timeProvide phoneNumber directly. The system will call this number when the lead is processed.Best for: CRM exports, contact lists, manual imports
Prefetch Mode
Phone number fetched just-in-timeProvide externalId only. The phone number is fetched from your CRM via a predial function before each call.Best for: CRM integrations where phone numbers change frequently or require real-time validation
At least one of phoneNumber or externalId is required. You can provide both if you want to track the external reference alongside the phone number.
Prefetch Mode Requirements: To use prefetch mode (externalId only), your campaign must have a predial function configured. Contact support to set this up.
Duplicate Prevention: Leads are deduplicated by externalId first, then by phoneNumber. If a lead with the same identifier already exists in the campaign, the request will fail.
Scheduling: If you don’t provide scheduledFor, the lead will be called as soon as possible based on business hours and priority.
Phone Format: When providing a phone number, it must be in E.164 format (+ and country code). Example: +15555551234