AptlyStar

Instantly

Manage Instantly leads, campaigns, emails, and lead lists

使用说明

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.

工具

instantly_list_leads

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

输入

参数类型必填描述
searchstring否Search by first name, last name, or email
filterstring否Instantly lead filter value, such as FILTER_VAL_CONTACTED or FILTER_VAL_ACTIVE
campaignstring否Campaign ID to filter leads
list_idstring否Lead list ID to filter leads
in_campaignboolean否Whether the lead is in a campaign
in_listboolean否Whether the lead is in a list
idsarray否Lead IDs to include
itemsstring否No description
excluded_idsarray否Lead IDs to exclude
itemsstring否No description
organization_user_idsarray否Organization user IDs to filter leads
itemsstring否No description
smart_view_idstring否Smart view ID to filter leads
contactsarray否Lead email addresses to include
itemsstring否No description
limitnumber否Number of leads to return, from 1 to 100
starting_afterstring否Forward pagination cursor from next_starting_after
distinct_contactsboolean否Whether to return distinct contacts
is_website_visitorboolean否Whether the lead is a website visitor
enrichment_statusnumber否Enrichment status filter
esg_codestring否Email security gateway code filter

输出

参数类型描述
leadsarrayList of leads (id, email, first_name, last_name, campaign, status)
leadjsonLead details (id, email, first_name, last_name, company_name, job_title, campaign, status, payload)
campaignsarrayList of campaigns (id, name, status, daily_limit)
campaignjsonCampaign details (id, name, status, daily_limit, daily_max_leads, open_tracking)
emailsarrayList of emails (id, subject, from_address_email, lead, thread_id)
emailjsonEmail details (id, subject, from_address_email, to_address_email_list, thread_id, content_preview)
lead_listsarrayList of lead lists (id, name, has_enrichment_task, timestamp_created)
lead_listjsonLead list details (id, organization_id, has_enrichment_task, owned_by, name, timestamp_created)
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.

输入

参数类型必填描述
leadIdstring是Lead ID

输出

参数类型描述
leadsarrayList of leads (id, email, first_name, last_name, campaign, status)
leadjsonLead details (id, email, first_name, last_name, company_name, job_title, campaign, status, payload)
campaignsarrayList of campaigns (id, name, status, daily_limit)
campaignjsonCampaign details (id, name, status, daily_limit, daily_max_leads, open_tracking)
emailsarrayList of emails (id, subject, from_address_email, lead, thread_id)
emailjsonEmail details (id, subject, from_address_email, to_address_email_list, thread_id, content_preview)
lead_listsarrayList of lead lists (id, name, has_enrichment_task, timestamp_created)
lead_listjsonLead list details (id, organization_id, has_enrichment_task, owned_by, name, timestamp_created)
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.

输入

参数类型必填描述
campaignstring否Campaign ID associated with the lead
list_idstring否Lead list ID associated with the lead
emailstring否Lead email address. Required when adding to a campaign.
first_namestring否Lead first name
last_namestring否Lead last name
company_namestring否Lead company name
job_titlestring否Lead job title
phonestring否Lead phone number
websitestring否Lead website
personalizationstring否Lead personalization text
lt_interest_statusnumber否Lead interest status value
pl_value_leadstring否Potential value of the lead
assigned_tostring否Organization user ID assigned to the lead
skip_if_in_workspaceboolean否Skip if the lead already exists in the workspace
skip_if_in_campaignboolean否Skip if the lead already exists in the campaign
skip_if_in_listboolean否Skip if the lead already exists in the list
blocklist_idstring否Blocklist ID to check for the lead
verify_leads_for_lead_finderboolean否Whether to verify leads imported from Lead Finder
verify_leads_on_importboolean否Whether to verify leads on import
custom_variablesjson否Custom variable object with string, number, boolean, or null values

输出

参数类型描述
leadsarrayList of leads (id, email, first_name, last_name, campaign, status)
leadjsonLead details (id, email, first_name, last_name, company_name, job_title, campaign, status, payload)
campaignsarrayList of campaigns (id, name, status, daily_limit)
campaignjsonCampaign details (id, name, status, daily_limit, daily_max_leads, open_tracking)
emailsarrayList of emails (id, subject, from_address_email, lead, thread_id)
emailjsonEmail details (id, subject, from_address_email, to_address_email_list, thread_id, content_preview)
lead_listsarrayList of lead lists (id, name, has_enrichment_task, timestamp_created)
lead_listjsonLead list details (id, organization_id, has_enrichment_task, owned_by, name, timestamp_created)
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.

输入

参数类型必填描述
campaign_idstring否Campaign ID to delete leads from. Required if list_id is not provided.
list_idstring否Lead list ID to delete leads from. Required if campaign_id is not provided.
statusnumber否Optional lead status filter
idsarray否Specific lead IDs to delete
itemsstring否No description
limitnumber否Maximum number of matching leads to delete, up to 10000

输出

参数类型描述
countnumberNumber of leads deleted

instantly_update_lead_interest_status

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

输入

参数类型必填描述
lead_emailstring是Lead email address
interest_valuenumber否Interest status value. Leave empty in the block or pass null to reset to Lead.
campaign_idstring否Campaign ID for the lead
list_idstring否Lead list ID for the lead
ai_interest_valuenumber否AI interest value to set for the lead
disable_auto_interestboolean否Whether to disable auto interest

输出

参数类型描述
messagestringBackground job submission message

instantly_list_campaigns

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

输入

参数类型必填描述
limitnumber否Number of campaigns to return, from 1 to 100
starting_afterstring否Pagination cursor from next_starting_after
searchstring否Search by campaign name
tag_idsstring否Comma-separated campaign tag IDs
ai_sales_agent_idstring否AI Sales Agent ID filter
statusnumber否Campaign status enum value

输出

参数类型描述
leadsarrayList of leads (id, email, first_name, last_name, campaign, status)
leadjsonLead details (id, email, first_name, last_name, company_name, job_title, campaign, status, payload)
campaignsarrayList of campaigns (id, name, status, daily_limit)
campaignjsonCampaign details (id, name, status, daily_limit, daily_max_leads, open_tracking)
emailsarrayList of emails (id, subject, from_address_email, lead, thread_id)
emailjsonEmail details (id, subject, from_address_email, to_address_email_list, thread_id, content_preview)
lead_listsarrayList of lead lists (id, name, has_enrichment_task, timestamp_created)
lead_listjsonLead list details (id, organization_id, has_enrichment_task, owned_by, name, timestamp_created)
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.

输入

参数类型必填描述
namestring是Campaign name
campaign_schedulejson是Campaign schedule object with schedules array
sequencesarray否Campaign sequence definitions
itemsobject否No description
email_listarray否Sending email accounts
itemsstring否No description
daily_limitnumber否Daily sending limit
daily_max_leadsnumber否Daily maximum new leads to contact
open_trackingboolean否Whether to track opens
stop_on_replyboolean否Whether to stop the campaign on reply
link_trackingboolean否Whether to track links
text_onlyboolean否Whether the campaign is text only
email_gapnumber否Gap between emails in minutes
pl_valuenumber否Value of every positive lead

输出

参数类型描述
leadsarrayList of leads (id, email, first_name, last_name, campaign, status)
leadjsonLead details (id, email, first_name, last_name, company_name, job_title, campaign, status, payload)
campaignsarrayList of campaigns (id, name, status, daily_limit)
campaignjsonCampaign details (id, name, status, daily_limit, daily_max_leads, open_tracking)
emailsarrayList of emails (id, subject, from_address_email, lead, thread_id)
emailjsonEmail details (id, subject, from_address_email, to_address_email_list, thread_id, content_preview)
lead_listsarrayList of lead lists (id, name, has_enrichment_task, timestamp_created)
lead_listjsonLead list details (id, organization_id, has_enrichment_task, owned_by, name, timestamp_created)
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.

输入

参数类型必填描述
campaignIdstring是Campaign ID
namestring否Campaign name
campaign_schedulejson否Campaign schedule object with schedules array
sequencesarray否Campaign sequence definitions
itemsobject否No description
email_listarray否Sending email accounts
itemsstring否No description
daily_limitnumber否Daily sending limit
daily_max_leadsnumber否Daily maximum new leads to contact
open_trackingboolean否Whether to track opens
stop_on_replyboolean否Whether to stop the campaign on reply
link_trackingboolean否Whether to track links
text_onlyboolean否Whether the campaign is text only
email_gapnumber否Gap between emails in minutes
pl_valuenumber否Value of every positive lead

输出

参数类型描述
leadsarrayList of leads (id, email, first_name, last_name, campaign, status)
leadjsonLead details (id, email, first_name, last_name, company_name, job_title, campaign, status, payload)
campaignsarrayList of campaigns (id, name, status, daily_limit)
campaignjsonCampaign details (id, name, status, daily_limit, daily_max_leads, open_tracking)
emailsarrayList of emails (id, subject, from_address_email, lead, thread_id)
emailjsonEmail details (id, subject, from_address_email, to_address_email_list, thread_id, content_preview)
lead_listsarrayList of lead lists (id, name, has_enrichment_task, timestamp_created)
lead_listjsonLead list details (id, organization_id, has_enrichment_task, owned_by, name, timestamp_created)
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.

输入

参数类型必填描述
campaignIdstring是Campaign ID

输出

参数类型描述
leadsarrayList of leads (id, email, first_name, last_name, campaign, status)
leadjsonLead details (id, email, first_name, last_name, company_name, job_title, campaign, status, payload)
campaignsarrayList of campaigns (id, name, status, daily_limit)
campaignjsonCampaign details (id, name, status, daily_limit, daily_max_leads, open_tracking)
emailsarrayList of emails (id, subject, from_address_email, lead, thread_id)
emailjsonEmail details (id, subject, from_address_email, to_address_email_list, thread_id, content_preview)
lead_listsarrayList of lead lists (id, name, has_enrichment_task, timestamp_created)
lead_listjsonLead list details (id, organization_id, has_enrichment_task, owned_by, name, timestamp_created)
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.

输入

参数类型必填描述
limitnumber否Number of emails to return, from 1 to 100
starting_afterstring否Pagination cursor from next_starting_after
searchstring否Search query, email address, or thread:<thread-id>
campaign_idstring否Campaign ID filter
list_idstring否Lead list ID filter
i_statusnumber否Email interest status filter
eaccountstring否Sending email account filter
leadstring否Lead email address filter
is_unreadboolean否Unread status filter

输出

参数类型描述
leadsarrayList of leads (id, email, first_name, last_name, campaign, status)
leadjsonLead details (id, email, first_name, last_name, company_name, job_title, campaign, status, payload)
campaignsarrayList of campaigns (id, name, status, daily_limit)
campaignjsonCampaign details (id, name, status, daily_limit, daily_max_leads, open_tracking)
emailsarrayList of emails (id, subject, from_address_email, lead, thread_id)
emailjsonEmail details (id, subject, from_address_email, to_address_email_list, thread_id, content_preview)
lead_listsarrayList of lead lists (id, name, has_enrichment_task, timestamp_created)
lead_listjsonLead list details (id, organization_id, has_enrichment_task, owned_by, name, timestamp_created)
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.

输入

参数类型必填描述
eaccountstring是Connected email account used to send the reply
reply_to_uuidstring是Email ID to reply to
subjectstring是Reply subject
bodyjson是Reply body object with text and/or html
cc_address_email_liststring否Comma-separated CC email addresses
bcc_address_email_liststring否Comma-separated BCC email addresses

输出

参数类型描述
leadsarrayList of leads (id, email, first_name, last_name, campaign, status)
leadjsonLead details (id, email, first_name, last_name, company_name, job_title, campaign, status, payload)
campaignsarrayList of campaigns (id, name, status, daily_limit)
campaignjsonCampaign details (id, name, status, daily_limit, daily_max_leads, open_tracking)
emailsarrayList of emails (id, subject, from_address_email, lead, thread_id)
emailjsonEmail details (id, subject, from_address_email, to_address_email_list, thread_id, content_preview)
lead_listsarrayList of lead lists (id, name, has_enrichment_task, timestamp_created)
lead_listjsonLead list details (id, organization_id, has_enrichment_task, owned_by, name, timestamp_created)
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.

输入

参数类型必填描述
limitnumber否Number of lead lists to return, from 1 to 100
starting_afterstring否Starting-after timestamp cursor
has_enrichment_taskboolean否Filter by enrichment task setting
searchstring否Search query to filter lead lists by name

输出

参数类型描述
leadsarrayList of leads (id, email, first_name, last_name, campaign, status)
leadjsonLead details (id, email, first_name, last_name, company_name, job_title, campaign, status, payload)
campaignsarrayList of campaigns (id, name, status, daily_limit)
campaignjsonCampaign details (id, name, status, daily_limit, daily_max_leads, open_tracking)
emailsarrayList of emails (id, subject, from_address_email, lead, thread_id)
emailjsonEmail details (id, subject, from_address_email, to_address_email_list, thread_id, content_preview)
lead_listsarrayList of lead lists (id, name, has_enrichment_task, timestamp_created)
lead_listjsonLead list details (id, organization_id, has_enrichment_task, owned_by, name, timestamp_created)
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.

输入

参数类型必填描述
namestring是Lead list name
has_enrichment_taskboolean否Whether this list runs enrichment for every added lead
owned_bystring否User ID of the lead list owner

输出

参数类型描述
leadsarrayList of leads (id, email, first_name, last_name, campaign, status)
leadjsonLead details (id, email, first_name, last_name, company_name, job_title, campaign, status, payload)
campaignsarrayList of campaigns (id, name, status, daily_limit)
campaignjsonCampaign details (id, name, status, daily_limit, daily_max_leads, open_tracking)
emailsarrayList of emails (id, subject, from_address_email, lead, thread_id)
emailjsonEmail details (id, subject, from_address_email, to_address_email_list, thread_id, content_preview)
lead_listsarrayList of lead lists (id, name, has_enrichment_task, timestamp_created)
lead_listjsonLead list details (id, organization_id, has_enrichment_task, owned_by, name, timestamp_created)
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