Skip to main content
POST
Credit cost: Free. This call only pushes contacts you already fetched. It never fetches or charges.
This endpoint is on the main Smartlead API host (server.smartlead.ai), not the Smart Prospect host. Pass your API key as the api_key query parameter (see Authentication).
After a Fetch Contacts call, push the fetched contacts straight into a campaign. This is the same push the Smart Prospect app runs for Add to campaign: the same checks, the same lead import settings. Send either filterId (every fetched contact of that search) or leadIds (specific fetched contacts), not both. The leads are added in the background, so the reply does not say how many were inserted. Read the campaign’s leads afterwards to confirm them.
A 200 with success: true does not always mean contacts were pushed. If none of your fetched contacts match the filterId or leadIds (and filters) you sent, the reply is still 200, but data.leadList is null or empty and nothing is added. Check that data.leadList has entries before you treat the push as started.
To push into a lead list instead, use Push Fetched Contacts to a Lead List.

Request Body

number
required
ID of one of your campaigns.
number
The fetched search’s ID. Pushes every contact that search fetched. Send filterId or leadIds.
string[]
IDs of fetched contacts (1 to 10,000), as returned by Get Contacts. Send filterId or leadIds.
string
Only push contacts with this email status: valid, catch_all or invalid. Default: all.
string
Only push catch-all contacts with this status, for example catch_all_verified. Default: all.
object
Lead import checks, as for Add Leads to a Campaign.

Response Fields

boolean
true when the push started
string
Status message
object
The push that was started.

Response Codes

Success
Push started
Bad Request
campaignId is missing, both or neither of filterId and leadIds were sent, or the campaign is not on your account
Unauthorized
Missing or invalid API key, or a client (agency sub-account) API key: this endpoint is for the main account only
Internal Server Error
The push could not be started, for example the contact lookup did not answer or rejected a filter value such as verification_status. Nothing is added; check your values and retry

MCP

The Smartlead MCP tool sp_push_contacts_to_campaign calls this endpoint. Its reply keeps success, message and, under data, the campaign id, campaignName, csvSettings and leads_found (the number of contacts sent) instead of the full leadList.