delete_lead
Unsubscribe a lead from its campaign by default, or permanently remove that campaign lead when permanentlyDelete is true. Unsubscribing preserves the lead record. Permanently removing the lead does not delete its separate global contact or undo external CRM effects.
create_campaign
Create an outreach campaign with an empty sequence and a default schedule. Returns its identifiers and provider-reported state. Review the campaign before adding or launching leads; creating it does not prove that messages can be sent.
list_campaigns
Retrieve a list of outreach campaigns. Filter by status (running, draft, archived, ended, paused, errors) and control pagination with offset and limit.
list_campaign_leads
Retrieve the list of leads enrolled in a specific campaign. Optionally filter by lead state such as contacted, interested, not interested, etc.
get_campaign_stats
Retrieve detailed performance statistics for a campaign within a date range. Includes metrics on leads reached, opens, clicks, replies, bounces, meetings booked, and more.
add_lead_to_campaign
Add a new lead to a specific campaign. Supports setting lead details like name, email, company, job title, LinkedIn URL, and phone. Optionally enable deduplication, enrichment, email finding, and verification.
update_campaign
Update settings for an existing campaign. Can modify the name, tracking options, stop conditions, and interest settings. Can also start or pause the campaign.
get_lead
Look up a lead by email address across all campaigns. Returns all campaign enrollments, current status, custom variables, and enrichment data for the lead.
manage_unsubscribes
DEPRECATED — use `manage_subscriptions` instead. These legacy routes stop working on November 1, 2026. Add or remove emails from the global unsubscribe list, check the unsubscribe status of a specific email, or list all unsubscribed contacts. Used for maintaining compliance and managing opt-outs.
get_activities
Retrieve activity logs for campaigns and leads. Filter by activity type (email, LinkedIn, phone, API events), campaign, or lead. Returns events like sends, opens, clicks, replies, bounces, and more.
get_campaign
Retrieve detailed information about a specific campaign including its configuration, sequence, schedule, senders, and error state.
update_lead
Update a lead's information within a campaign. Can modify contact details. Can also mark the lead as interested or not interested, or pause/resume the lead.
search_people_database
Search the Lemlist people database to find prospects by criteria such as job title, company, location, industry, and technologies. Returns matching people with their professional details. Useful for building targeted lead lists.
get_team_info
Identify the team authenticated by this API key and retrieve its member IDs, creation metadata and available credit balance.
manage_subscriptions
Check, add or remove current multichannel opt-outs, or list unsubscribed variables. A variable can be an email, domain beginning with @, phone number or LinkedIn URL. A contact opt-out blocks that contact on every channel.
get_campaign_sequences
Read the main and conditional sequences of a campaign, including step IDs, ordering, delays in days, message content and branch sub-sequence IDs. This does not launch or modify outreach.
get_database_filters
Discover valid database filter IDs, meanings, input types, accepted values and numeric ranges before searching for people. Returns API-oriented filter definitions.