Adds up to 1000 leads to either a campaign or a list. You must provide a campaign_id or a list_id, but not both. The endpoint validates emails, checks against blocklists and existing leads.
Requires one of the following scopes: leads:create, leads:all, all:create, all:all
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
An array of lead objects to create. When using campaign_id: Each lead object must contain an email. When using list_id Each lead object must contain at least one of the following: email, first_name, or last_name.
1 - 1000 elementsThe unique identifier for the campaign to add leads to. Use this field OR list_id, but not both.
"019cc043-e39c-7d91-a325-6615db0e1b14"
The unique identifier for the list to add leads to. Use this field OR campaign_id, but not both.
"019cc043-e39c-7d91-a325-661689b388af"
Optional blocklist ID to check leads against. If omitted, the workspace default blocklist is used.
"019cc043-e39c-7d91-a325-66171b5e6f00"
Optional user ID to assign all imported leads to. If omitted, leads are assigned to the campaign owner when campaign_id is defined, or the user making the request.
"019cc043-e39c-7d91-a325-661890f3723b"
If true, a background job will be created to verify the email addresses of the imported leads.
false
If true, any lead that already exists anywhere in your workspace (in any campaign or list) will be skipped. This option overrides the other "skip_if" flags.
true
If true, any lead that already exists in ANY campaign in your workspace will be skipped.
false
If true, any lead that already exists in ANY list in your workspace will be skipped.
false
A summary of the bulk import operation.
A summary of the bulk import operation.
Indicates the request was processed.
"success"
The total number of leads included in the request payload.
10
The number of leads that were successfully created.
7
The number of leads that were skipped because their email was found on the blocklist.
1
The ID of the blocklist that was used for the check.
"019cc043-e39c-7d91-a325-66191be14c42"
The number of leads that were already in this specific campaign or list and were not re-added.
0
The number of leads skipped due to the skip_if_in_... flags being enabled.
1
The number of leads skipped due to an invalid email format or a missing email address.
1
The number of leads skipped due to missing email and names. Only calculated for lists.
1
The number of leads skipped because their email was duplicated within the request payload itself.
0
The remaining lead uploads in the current billing plan. This value is only present in the response when a campaign_id is provided.
9993
A list of created leads with their summary information. You can use this to map your input to the created leads.
[
{
"id": "019cc043-e39c-7d91-a325-661c7a29083c",
"email": "test@example.com",
"index": 0
}
]