Skip to main content
POST
Credit cost: Free. This call only pushes contacts the search already fetched. It never fetches or charges.
This endpoint requires your API key: pass it as the api_key query parameter, or in an X-API-Key or Authorization: Bearer header (see Authentication).
After a Fetch Contacts call, push the search’s contacts straight into one of your lead lists. Each call pushes one page of up to 1,000 contacts; send nextOffset back as offset until it is null, and send historyId back as history_id so the lead list shows the whole push as one import. The same rules as pushing from the Smart Prospect app apply:
  • Contacts with a valid email are pushed.
  • Catch-all emails are pushed only when include_catch_all is true.
  • Invalid and unverified emails, and contacts without an email, are never pushed. They are counted in leftOut.
  • A phone number found for a contact goes with it.
  • A contact already in the lead list is not added twice (already).
Push right after the fetch finishes: contacts whose email lookup is still running have no email yet and are left out (leftOut.noEmail). Check Fetch Progress first.

Putting the contacts in a campaign

There is no campaign target on this endpoint. Push the contacts into a lead list first (every page, until nextOffset is null), then copy that list into the campaign with Push Leads to Campaign. That call copies the whole list, so push into a new, empty lead list when only these contacts should go to the campaign:
cURL
That call runs in the background and returns no counts. Read the campaign’s leads afterwards to confirm them.

Request Body

number
required
The fetched search’s ID.
number
required
ID of one of your lead lists.
number
Contacts to skip (default 0). Use the previous call’s nextOffset.
number
Contacts in this page, 1 to 1000 (default 1000).
boolean
Also push catch-all emails (default false).
number
The historyId from the first page of this push, so the lead list records one import.

Response Fields

All fields are under data.
number
Contacts the lead list took
number
Contacts new to the lead list
number
Contacts that were in the lead list already
number
Contacts in this page
object
Contacts not pushed, by reason: noEmail, catchAll, invalid, unverified
number | null
The lead list’s import record. Send it back as history_id with the next page
number
Contacts the search has fetched in total
number | null
offset for the next page, or null when this was the last page

Response Codes

Success
Page pushed
Bad Request
A required field is missing or out of range, or the lead list refused the push
Unauthorized
Missing or invalid API key
Forbidden
Called with a client (agency sub-account) API key, or by a view-only team member
Not Found
The search or the lead list is not on your account