Skip to main content
POST
An alert re-runs a search daily, weekly or monthly (default daily, and always monthly for job_changes) and only brings what is new since its previous run. Pick what it tracks with type. Every type takes name (required), frequency and webhook_url: POST /alerts creates every kind of alert. Find new hires and Track job changes still work but are deprecated in favour of type: new_hires and type: job_changes. A key that the chosen type doesn’t take is rejected with 422, except for custom, which ignores unknown keys as it always has. Each alert counts against your plan’s alert limit.

Custom

Paste the URL of a LinkedIn Sales Navigator search, the same one you would paste in the app’s Custom signal:
  • A people search (https://www.linkedin.com/sales/search/people...) creates a CUSTOM_LEAD alert. Each run is a lead search.
  • A company search (https://www.linkedin.com/sales/search/company...) creates a CUSTOM_ACCOUNT alert. Each run is a company list.
Pipecorn saves the search in your Sales Navigator account and runs it right away, then daily, weekly or monthly (default daily). After the first run, each run only picks up the results Sales Navigator reports as new since the previous one. max_results (1 to 2500, default 2500) caps the first run only. Send skip_first_run: true to start from now instead. The alert doesn’t run right away, so you don’t receive, or pay for, the results that already match the search. Its first run happens at the next daily, weekly or monthly tick and only picks up the results that are new since the alert was created. Alerts say whether they skip their first run in skip_first_run.

Social listening

Follows one person on LinkedIn, such as a competitor’s founder, an influencer or a prospect. Each run picks up their new posts and extracts the people who reacted or commented into a lead search.
  • author_url (required): the person’s LinkedIn profile (https://www.linkedin.com/in/<name>)
  • engagement_type: reactions, comments or all (default)
  • exclude_people_from_same_company: true drops the engagers who work at the author’s company
The first run takes the author’s 3 latest posts. With skip_first_run: true, it only takes posts published after the alert was created. Requires a connected LinkedIn account and the Growth plan. Below it, the request answers 403. An author_url LinkedIn doesn’t return answers 404.

Job posting

Each run adds the companies with new job postings matching your filters to a company list. It takes the filters of Companies hiring, at the top level of the body: selected_titles, excluded_titles, selected_keywords, excluded_keywords, included_locations, excluded_locations, company_size, included_industries, exclude_consulting_recruiting, exclude_internships and published_date. selected_titles or selected_keywords is required. Job posting alerts always start from now. Part of the Growth plan; no LinkedIn connection needed.

Tech stack

Each run adds the companies newly detected using your technologies to a company list. It takes the filters of Tech stack: stacks (required), stack_match, excluded_stacks, countries, included_industries, excluded_industries and company_size. Resolve technology names with Technology slug lookup. Tech stack alerts always start from now. Part of the Growth plan; no LinkedIn connection needed.

Company signal

Runs a search on the Pipecorn company database and adds the companies that newly match to a company list. It takes the database filters of the account search, and at least one of them must be a company signal:
  • funding: last_funding_within_days, min_last_funding_amount, max_last_funding_amount
  • headcount growth: min_headcount_growth, max_headcount_growth, department_growths
  • website traffic: min_monthly_visitors, max_monthly_visitors, min_monthly_visitor_growth, max_monthly_visitor_growth
Firmographic filters (included_industries, included_locations, company_size, min_revenue…) narrow it. Company lists and competitors_of aren’t supported in alerts. Each signal is part of a plan; a signal your plan doesn’t include answers 403. No LinkedIn connection needed.

New hires

Each run brings the people who just started a job matching your titles, as a lead search. It takes included_job_titles (required), excluded_job_titles, company_size, included_locations, excluded_locations, included_industries and excluded_industries. live picks where it runs:
  • live: false (default), the Pipecorn database. No LinkedIn connection needed. Locations are Pipecorn database location IDs, from Location IDs with "source": "database" (e.g. country:fr). It also takes functions, seniority_levels, excluded_seniority_levels, years_in_current_position, years_at_current_company and keyword, with the values of the advanced search, and hire_type: new_hire for people who joined a new company, promoted for people who moved to a new role in the same company, or leave it out for both.
  • live: true, a Sales Navigator saved search. Locations are Sales Navigator location IDs ("source": "live"). Pipecorn saves the search in your Sales Navigator account, so it needs a connected LinkedIn account with Sales Navigator and counts against its 50 saved searches. If LinkedIn refuses to save the search, no alert is created and the request answers 422. The database-only filters above answer 422.
A location ID from the other source answers 422. The alert’s source says which one it runs on: database or sales_navigator. The two sources find new hires differently:
  • On the database, a new hire is someone whose current role started in the last 90 days and who matches your filters. Each run leaves out the people earlier runs already delivered. Start dates come from the profiles in the Pipecorn database, so someone can show up a few weeks after they started. Each run brings at most 2,500 people.
  • On Sales Navigator, each run brings what Sales Navigator reports as new results of the saved search since the previous run.
A database alert runs right away, on everyone matching who started their role in the last 90 days. Send skip_first_run: true to start from now instead: its first run then only brings the people who are new since the alert was created.

Job changes

Tracks up to 10,000 contacts and reports when one of them changes company or gets promoted. Each contact needs linkedin_url, or all of first_name, last_name and company_name. Contacts are matched in the background, then a first check reports the moves of the last 90 days; later checks run every 30 days. Its frequency is monthly, the default: daily or weekly answers 400. No LinkedIn connection needed.

Get the new results

There are two ways to receive the results of each run:
  • Webhook. Pass webhook_url and each run posts its results there when it finishes: lead runs post the same payload as People search, company runs the same payload as Create a List. For custom lead alerts, webhook_streaming: true posts the leads one by one as they are found.
  • Polling. Call Retrieve an Alert with since set to the checked_at of your previous call. It returns only the runs created since then, each with a results_url to fetch its leads or companies. A run whose status is not finished yet is still running: fetch its results_url again later.
Delete the alert with Delete an Alert.

Requirements and limits

  • Custom alerts, and new hires alerts with live: true, need your LinkedIn account connected with Sales Navigator: the search is saved in it, and a Sales Navigator account holds at most 50 saved searches. Social listening alerts need a connected LinkedIn account. The other types need neither.
  • Each alert counts against your plan’s alert limit.
  • Lead runs enrich the leads they find and spend credits like People search.

Authorizations

X-API-KEY
string
header
required

Your API key

Body

application/json
name
string
required

Name of the alert

Example:

"VP Sales in France"

type
enum<string>
default:custom

What the alert tracks.

Available options:
custom,
social_listening,
job_posting,
stack,
company_signal,
new_hires,
job_changes
search_url
string<uri>

custom only. Required for it. Sales Navigator search URL, starting with https://www.linkedin.com/sales/search/people (leads) or https://www.linkedin.com/sales/search/company (accounts)

Example:

"https://www.linkedin.com/sales/search/people?query=(filters:List((type:CURRENT_TITLE,values:List((text:VP%20Sales,selectionType:INCLUDED)))))"

frequency
enum<string>
default:daily

How often the alert runs. Case-insensitive. A job_changes alert only takes monthly, its default

Available options:
daily,
weekly,
monthly
max_results
integer
default:2500

custom only. Maximum number of results the first run extracts. Later runs pick up every new result

Required range: 1 <= x <= 2500
webhook_url
string<uri>

URL each run posts its results to when it finishes. Lead runs post the same payload as POST /leads; company runs post the same payload as POST /lists

Example:

"https://hooks.example.com/pipecorn"

webhook_streaming
boolean
default:false

custom only. Lead alerts only. When true, leads are posted to webhook_url one by one as they are found instead of once the run finishes

skip_first_run
boolean
default:false

When true, the alert starts from now: it does not run right away, and its first run, at the next frequency tick, only picks up the results that are new since the alert was created

live
boolean
default:false

new_hires only. false (default) runs the alert on the Pipecorn people database: no LinkedIn connection needed, and locations are Pipecorn database location IDs (POST /locations with "source": "database"). true runs it on a Sales Navigator saved search instead: it needs a connected LinkedIn account with Sales Navigator, counts against its 50 saved searches, and locations are Sales Navigator location IDs ("source": "live"). functions, seniority_levels, excluded_seniority_levels, years_in_current_position, years_at_current_company, keyword and hire_type only work with live: false: with live: true they return 422. A non-boolean value returns 422.

Example:

false

author_url
string<uri>

social_listening only. Required for it. LinkedIn profile whose new posts the alert watches.

Example:

"https://www.linkedin.com/in/jane-doe"

engagement_type
enum<string>
default:all

social_listening only. Which engagers each run extracts.

Available options:
reactions,
comments,
all
exclude_people_from_same_company
boolean

social_listening only. Drop the engagers who work at the author's company.

selected_titles
string[]

job_posting only. Job titles of the openings to watch. selected_titles or selected_keywords is required.

excluded_titles
string[]

job_posting only. Job titles of openings to ignore.

selected_keywords
string[]

job_posting only. Keywords the job postings must mention.

excluded_keywords
string[]

job_posting only. Keywords whose job postings are ignored.

exclude_consulting_recruiting
boolean

job_posting only. Ignore consulting and recruiting companies.

exclude_internships
boolean

job_posting only. Ignore internship postings.

published_date
enum<string>

job_posting only. Only count job postings published in this window.

Available options:
last_24_hours,
last_7_days,
last_15_days,
last_30_days,
last_90_days,
last_180_days,
last_360_days
stacks
string[]

stack only. Required for it. Technology slugs, from GET /accounts/technologies.

stack_match
enum<string>
default:or

stack only. Whether companies use any or all of stacks.

Available options:
or,
and
excluded_stacks
string[]

stack only. Technology slugs to exclude.

countries
string[]

stack only. ISO country codes.

included_industries
string[]

job_posting, stack, company_signal and new_hires. LinkedIn industry IDs to include.

excluded_industries
string[]

stack, company_signal and new_hires. LinkedIn industry IDs to exclude.

company_size
string[]

job_posting, stack, company_signal and new_hires. Company size buckets.

included_locations
(string | integer)[]

job_posting: hiring location IDs. company_signal: Pipecorn database location IDs (e.g. country:fr). new_hires: Pipecorn database location IDs, or Sales Navigator location IDs with live: true. An ID from another source returns 422.

excluded_locations
(string | integer)[]

Same IDs as included_locations, to exclude.

last_funding_within_days
integer

company_signal only. Companies that raised within this many days. A company signal.

min_headcount_growth
number

company_signal only. Minimum company headcount growth, in percent. A company signal. See the account search for the other headcount, funding and traffic filters, which company_signal takes too.

min_monthly_visitors
integer

company_signal only. Minimum monthly website visitors. A company signal.

included_job_titles
string[]

new_hires only. Required for it. Job titles the new hires must hold.

excluded_job_titles
string[]

new_hires only. Job titles to exclude.

functions
enum<string>[]

new_hires with live: false only. LinkedIn function (department) IDs (FUNCTION). Multiple IDs are combined with OR logic.

ID → value: 1 Accounting; 2 Administrative; 3 Arts and Design; 4 Business Development; 5 Community and Social Services; 6 Consulting; 7 Education; 8 Engineering; 9 Entrepreneurship; 10 Finance; 11 Healthcare Services; 12 Human Resources; 13 Information Technology; 14 Legal; 15 Marketing; 16 Media and Communication; 17 Military and Protective Services; 18 Operations; 19 Product Management; 20 Program and Project Management; 21 Purchasing; 22 Quality Assurance; 23 Real Estate; 24 Research; 25 Sales; 26 Customer Success and Support.

Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
Example:
seniority_levels
enum<string>[]

new_hires with live: false only. LinkedIn seniority level IDs (SENIORITY_LEVEL).

ID → value: 100 In Training; 110 Entry Level; 120 Senior; 130 Strategic; 200 Entry Level Manager; 210 Experienced Manager; 220 Director; 300 Vice President; 310 CXO; 320 Owner / Partner.

Available options:
100,
110,
120,
130,
200,
210,
220,
300,
310,
320
Example:
excluded_seniority_levels
enum<string>[]

new_hires with live: false only. LinkedIn seniority level IDs to exclude, on the same scale as seniority_levels.

Available options:
100,
110,
120,
130,
200,
210,
220,
300,
310,
320
Example:
years_in_current_position
enum<string>[]

new_hires with live: false only. Bucketed years in the current position: "1" less than 1 year, "2" 1 to 2 years, "3" 3 to 5 years, "4" 6 to 10 years, "5" more than 10 years.

Available options:
1,
2,
3,
4,
5,
6,
7,
8
Example:
years_at_current_company
enum<string>[]

new_hires with live: false only. Bucketed years at the current company: "1" less than 1 year, "2" 1 to 2 years, "3" 3 to 5 years, "4" 6 to 10 years, "5" more than 10 years.

Available options:
1,
2,
3,
4,
5,
6,
7,
8
Example:
keyword
string

new_hires with live: false only. Free-text keyword matched against the people database profiles.

Example:

"saas"

hire_type
enum<string>

new_hires with live: false only. new_hire keeps only people who joined a new company; promoted only people who moved to a new role in the same company. Leave it out to get both.

Available options:
new_hire,
promoted
Example:

"new_hire"

contacts
object[]

job_changes only. Required for it. Each contact needs linkedin_url, or all of first_name, last_name and company_name.

Maximum array length: 10000

Response

The alert was created and its first run started

alert
object
required