Add lead to campaign
Lead Sources
Add Lead to Campaign
Adds a single lead to a lead source (campaign). Supports three import types: username (Twitter handle), profile_url (x.com profile URL), or json (full Twitter user object).
Lead Credits: Adding a lead by username or profile_url consumes Lead Credits, as the system looks up the Twitter profile. Adding by json does not consume Lead Credits.
POST
Add lead to campaign
Adds a single lead to a lead source (campaign). You can add a lead in three ways:
- By username — Pass a Twitter username; the system looks up the profile. Consumes Lead Credits.
- By profile URL — Pass an x.com profile URL (e.g.
https://x.com/username); the username is extracted and the profile is looked up. Consumes Lead Credits. - By JSON — Pass a full Twitter user object. Does not consume Lead Credits.
The
username and profile_url import options use Lead Credits. Use json when you already have the user data (e.g., via the enrichment API) to avoid spending Lead Credits.Authorizations
API key for authentication
Path Parameters
Lead Source ID (campaign ID)
Body
application/json
- Option 1
- Option 2
- Option 3
Request body for adding a lead. Use one of: username (consumes Lead Credits), profile_url (consumes Lead Credits), or json (no Lead Credits).