Instantly

Manage Instantly leads, campaigns, emails, and lead lists

Usage Instructions

Integrate Instantly API V2 into workflows. Create and list leads, manage lead interest status, delete leads in bulk, list and create campaigns, reply to emails, and manage lead lists.

Tools

instantly_list_leads

Retrieves Instantly V2 leads with search, campaign, list, and pagination filters.

Input

ParameterTypeRequiredDescription
searchstringNoSearch by first name, last name, or email
filterstringNoInstantly lead filter value, such as FILTER_VAL_CONTACTED or FILTER_VAL_ACTIVE
campaignstringNoCampaign ID to filter leads
list_idstringNoLead list ID to filter leads
in_campaignbooleanNoWhether the lead is in a campaign
in_listbooleanNoWhether the lead is in a list
idsarrayNoLead IDs to include
itemsstringNoNo description
excluded_idsarrayNoLead IDs to exclude
itemsstringNoNo description
contactsarrayNoLead email addresses to include
itemsstringNoNo description
limitnumberNoNumber of leads to return, from 1 to 100
starting_afterstringNoForward pagination cursor from next_starting_after
distinct_contactsbooleanNoWhether to return distinct contacts
enrichment_statusnumberNoEnrichment status filter
esg_codestringNoEmail security gateway code filter

Output

ParameterTypeDescription
leadsarrayList of leads
leadjsonLead details
campaignsarrayList of campaigns
campaignjsonCampaign details
emailsarrayList of emails
emailjsonEmail details
lead_listsarrayList of lead lists
lead_listjsonLead list details
countnumberReturned or affected record count
next_starting_afterstringCursor for the next page
idstringRecord ID
namestringRecord name
email_addressstringLead email address
first_namestringLead first name
last_namestringLead last name
statusnumberLead or campaign status
subjectstringEmail subject
thread_idstringEmail thread ID
messagestringOperation message

instantly_get_lead

Retrieves an Instantly V2 lead by ID.

Input

ParameterTypeRequiredDescription
leadIdstringYesLead ID

Output

ParameterTypeDescription
leadsarrayList of leads
leadjsonLead details
campaignsarrayList of campaigns
campaignjsonCampaign details
emailsarrayList of emails
emailjsonEmail details
lead_listsarrayList of lead lists
lead_listjsonLead list details
countnumberReturned or affected record count
next_starting_afterstringCursor for the next page
idstringRecord ID
namestringRecord name
email_addressstringLead email address
first_namestringLead first name
last_namestringLead last name
statusnumberLead or campaign status
subjectstringEmail subject
thread_idstringEmail thread ID
messagestringOperation message

instantly_create_lead

Creates an Instantly V2 lead in a campaign or lead list.

Input

ParameterTypeRequiredDescription
campaignstringNoCampaign ID associated with the lead
list_idstringNoLead list ID associated with the lead
emailstringNoLead email address. Required when adding to a campaign.
first_namestringNoLead first name
last_namestringNoLead last name
company_namestringNoLead company name
job_titlestringNoLead job title
phonestringNoLead phone number
websitestringNoLead website
personalizationstringNoLead personalization text
lt_interest_statusnumberNoLead interest status value
pl_value_leadstringNoPotential value of the lead
assigned_tostringNoOrganization user ID assigned to the lead
skip_if_in_workspacebooleanNoSkip if the lead already exists in the workspace
skip_if_in_campaignbooleanNoSkip if the lead already exists in the campaign
skip_if_in_listbooleanNoSkip if the lead already exists in the list
blocklist_idstringNoBlocklist ID to check for the lead
verify_leads_on_importbooleanNoWhether to verify leads on import
custom_variablesjsonNoCustom variable object with string, number, boolean, or null values

Output

ParameterTypeDescription
leadsarrayList of leads
leadjsonLead details
campaignsarrayList of campaigns
campaignjsonCampaign details
emailsarrayList of emails
emailjsonEmail details
lead_listsarrayList of lead lists
lead_listjsonLead list details
countnumberReturned or affected record count
next_starting_afterstringCursor for the next page
idstringRecord ID
namestringRecord name
email_addressstringLead email address
first_namestringLead first name
last_namestringLead last name
statusnumberLead or campaign status
subjectstringEmail subject
thread_idstringEmail thread ID
messagestringOperation message

instantly_delete_leads

Deletes Instantly V2 leads in bulk from a campaign or lead list.

Input

ParameterTypeRequiredDescription
campaign_idstringNoCampaign ID to delete leads from. Required if list_id is not provided.
list_idstringNoLead list ID to delete leads from. Required if campaign_id is not provided.
statusnumberNoOptional lead status filter
idsarrayNoSpecific lead IDs to delete
itemsstringNoNo description
limitnumberNoMaximum number of matching leads to delete, up to 10000

Output

ParameterTypeDescription
countnumberNumber of leads deleted

instantly_update_lead_interest_status

Submits an Instantly V2 background job to update a lead interest status.

Input

ParameterTypeRequiredDescription
lead_emailstringYesLead email address
interest_valuenumberYesInterest status value. Use null in JSON/tool input to reset to Lead.
campaign_idstringNoCampaign ID for the lead
list_idstringNoLead list ID for the lead
ai_interest_valuenumberNoAI interest value to set for the lead
disable_auto_interestbooleanNoWhether to disable auto interest

Output

ParameterTypeDescription
messagestringBackground job submission message

instantly_list_campaigns

Retrieves Instantly V2 campaigns with search, status, tag, and pagination filters.

Input

ParameterTypeRequiredDescription
limitnumberNoNumber of campaigns to return, from 1 to 100
starting_afterstringNoPagination cursor from next_starting_after
searchstringNoSearch by campaign name
tag_idsstringNoComma-separated campaign tag IDs
ai_sales_agent_idstringNoAI Sales Agent ID filter
statusnumberNoCampaign status enum value

Output

ParameterTypeDescription
leadsarrayList of leads
leadjsonLead details
campaignsarrayList of campaigns
campaignjsonCampaign details
emailsarrayList of emails
emailjsonEmail details
lead_listsarrayList of lead lists
lead_listjsonLead list details
countnumberReturned or affected record count
next_starting_afterstringCursor for the next page
idstringRecord ID
namestringRecord name
email_addressstringLead email address
first_namestringLead first name
last_namestringLead last name
statusnumberLead or campaign status
subjectstringEmail subject
thread_idstringEmail thread ID
messagestringOperation message

instantly_create_campaign

Creates an Instantly V2 campaign using the documented campaign schedule schema.

Input

ParameterTypeRequiredDescription
namestringYesCampaign name
campaign_schedulejsonYesCampaign schedule object with schedules array
sequencesarrayNoCampaign sequence definitions
itemsobjectNoNo description
email_listarrayNoSending email accounts
itemsstringNoNo description
daily_limitnumberNoDaily sending limit
daily_max_leadsnumberNoDaily maximum new leads to contact
open_trackingbooleanNoWhether to track opens
stop_on_replybooleanNoWhether to stop the campaign on reply
link_trackingbooleanNoWhether to track links
text_onlybooleanNoWhether the campaign is text only
email_gapnumberNoGap between emails in minutes
pl_valuenumberNoValue of every positive lead

Output

ParameterTypeDescription
leadsarrayList of leads
leadjsonLead details
campaignsarrayList of campaigns
campaignjsonCampaign details
emailsarrayList of emails
emailjsonEmail details
lead_listsarrayList of lead lists
lead_listjsonLead list details
countnumberReturned or affected record count
next_starting_afterstringCursor for the next page
idstringRecord ID
namestringRecord name
email_addressstringLead email address
first_namestringLead first name
last_namestringLead last name
statusnumberLead or campaign status
subjectstringEmail subject
thread_idstringEmail thread ID
messagestringOperation message

instantly_patch_campaign

Updates documented Instantly V2 campaign fields.

Input

ParameterTypeRequiredDescription
campaignIdstringYesCampaign ID
namestringNoCampaign name
campaign_schedulejsonNoCampaign schedule object with schedules array
sequencesarrayNoCampaign sequence definitions
itemsobjectNoNo description
email_listarrayNoSending email accounts
itemsstringNoNo description
daily_limitnumberNoDaily sending limit
daily_max_leadsnumberNoDaily maximum new leads to contact
open_trackingbooleanNoWhether to track opens
stop_on_replybooleanNoWhether to stop the campaign on reply
link_trackingbooleanNoWhether to track links
text_onlybooleanNoWhether the campaign is text only
email_gapnumberNoGap between emails in minutes
pl_valuenumberNoValue of every positive lead

Output

ParameterTypeDescription
leadsarrayList of leads
leadjsonLead details
campaignsarrayList of campaigns
campaignjsonCampaign details
emailsarrayList of emails
emailjsonEmail details
lead_listsarrayList of lead lists
lead_listjsonLead list details
countnumberReturned or affected record count
next_starting_afterstringCursor for the next page
idstringRecord ID
namestringRecord name
email_addressstringLead email address
first_namestringLead first name
last_namestringLead last name
statusnumberLead or campaign status
subjectstringEmail subject
thread_idstringEmail thread ID
messagestringOperation message

instantly_activate_campaign

Activates, starts, or resumes an Instantly V2 campaign.

Input

ParameterTypeRequiredDescription
campaignIdstringYesCampaign ID

Output

ParameterTypeDescription
leadsarrayList of leads
leadjsonLead details
campaignsarrayList of campaigns
campaignjsonCampaign details
emailsarrayList of emails
emailjsonEmail details
lead_listsarrayList of lead lists
lead_listjsonLead list details
countnumberReturned or affected record count
next_starting_afterstringCursor for the next page
idstringRecord ID
namestringRecord name
email_addressstringLead email address
first_namestringLead first name
last_namestringLead last name
statusnumberLead or campaign status
subjectstringEmail subject
thread_idstringEmail thread ID
messagestringOperation message

instantly_list_emails

Retrieves Instantly V2 Unibox emails with search and pagination filters.

Input

ParameterTypeRequiredDescription
limitnumberNoNumber of emails to return, from 1 to 100
starting_afterstringNoPagination cursor from next_starting_after
searchstringNoSearch query, email address, or thread:<thread-id>
campaign_idstringNoCampaign ID filter
list_idstringNoLead list ID filter
i_statusnumberNoEmail interest status filter
eaccountstringNoSending email account filter
leadstringNoLead email address filter
lead_idstringNoLead ID filter
is_unreadnumberNoUnread status filter

Output

ParameterTypeDescription
leadsarrayList of leads
leadjsonLead details
campaignsarrayList of campaigns
campaignjsonCampaign details
emailsarrayList of emails
emailjsonEmail details
lead_listsarrayList of lead lists
lead_listjsonLead list details
countnumberReturned or affected record count
next_starting_afterstringCursor for the next page
idstringRecord ID
namestringRecord name
email_addressstringLead email address
first_namestringLead first name
last_namestringLead last name
statusnumberLead or campaign status
subjectstringEmail subject
thread_idstringEmail thread ID
messagestringOperation message

instantly_reply_to_email

Sends an Instantly V2 reply to an existing Unibox email.

Input

ParameterTypeRequiredDescription
eaccountstringYesConnected email account used to send the reply
reply_to_uuidstringYesEmail ID to reply to
subjectstringYesReply subject
bodyjsonYesReply body object with text and/or html
cc_address_email_liststringNoComma-separated CC email addresses
bcc_address_email_liststringNoComma-separated BCC email addresses

Output

ParameterTypeDescription
leadsarrayList of leads
leadjsonLead details
campaignsarrayList of campaigns
campaignjsonCampaign details
emailsarrayList of emails
emailjsonEmail details
lead_listsarrayList of lead lists
lead_listjsonLead list details
countnumberReturned or affected record count
next_starting_afterstringCursor for the next page
idstringRecord ID
namestringRecord name
email_addressstringLead email address
first_namestringLead first name
last_namestringLead last name
statusnumberLead or campaign status
subjectstringEmail subject
thread_idstringEmail thread ID
messagestringOperation message

instantly_list_lead_lists

Retrieves Instantly V2 lead lists with search and pagination filters.

Input

ParameterTypeRequiredDescription
limitnumberNoNumber of lead lists to return, from 1 to 100
starting_afterstringNoStarting-after timestamp cursor
has_enrichment_taskbooleanNoFilter by enrichment task setting
searchstringNoSearch query to filter lead lists by name

Output

ParameterTypeDescription
leadsarrayList of leads
leadjsonLead details
campaignsarrayList of campaigns
campaignjsonCampaign details
emailsarrayList of emails
emailjsonEmail details
lead_listsarrayList of lead lists
lead_listjsonLead list details
countnumberReturned or affected record count
next_starting_afterstringCursor for the next page
idstringRecord ID
namestringRecord name
email_addressstringLead email address
first_namestringLead first name
last_namestringLead last name
statusnumberLead or campaign status
subjectstringEmail subject
thread_idstringEmail thread ID
messagestringOperation message

instantly_create_lead_list

Creates an Instantly V2 lead list.

Input

ParameterTypeRequiredDescription
namestringYesLead list name
has_enrichment_taskbooleanNoWhether this list runs enrichment for every added lead
owned_bystringNoUser ID of the lead list owner

Output

ParameterTypeDescription
leadsarrayList of leads
leadjsonLead details
campaignsarrayList of campaigns
campaignjsonCampaign details
emailsarrayList of emails
emailjsonEmail details
lead_listsarrayList of lead lists
lead_listjsonLead list details
countnumberReturned or affected record count
next_starting_afterstringCursor for the next page
idstringRecord ID
namestringRecord name
email_addressstringLead email address
first_namestringLead first name
last_namestringLead last name
statusnumberLead or campaign status
subjectstringEmail subject
thread_idstringEmail thread ID
messagestringOperation message

On this page