curl --request POST \
--url https://app.pipecorn.com/api/v2/alerts \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"name": "VP Sales in France",
"search_url": "https://www.linkedin.com/sales/search/people?query=(filters:List((type:CURRENT_TITLE,values:List((text:VP%20Sales,selectionType:INCLUDED)))))",
"frequency": "daily",
"webhook_url": "https://hooks.example.com/pipecorn"
}
'{
"alert": {
"uuid": "3f6c2a1e-9b8d-4c1f-a2e3-5d6f7a8b9c0d",
"name": "VP Sales in France",
"alert_type": "CUSTOM_LEAD",
"frequency": "DAILY",
"active": true,
"webhook_url": "https://hooks.example.com/pipecorn",
"skip_first_run": false,
"created_at": "2026-11-03T09:00:00.000Z",
"latest_search_at": "2026-11-03T09:00:01.000Z"
}
}Create an Alert
Track a search or a signal and get its new results on every run
curl --request POST \
--url https://app.pipecorn.com/api/v2/alerts \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"name": "VP Sales in France",
"search_url": "https://www.linkedin.com/sales/search/people?query=(filters:List((type:CURRENT_TITLE,values:List((text:VP%20Sales,selectionType:INCLUDED)))))",
"frequency": "daily",
"webhook_url": "https://hooks.example.com/pipecorn"
}
'{
"alert": {
"uuid": "3f6c2a1e-9b8d-4c1f-a2e3-5d6f7a8b9c0d",
"name": "VP Sales in France",
"alert_type": "CUSTOM_LEAD",
"frequency": "DAILY",
"active": true,
"webhook_url": "https://hooks.example.com/pipecorn",
"skip_first_run": false,
"created_at": "2026-11-03T09:00:00.000Z",
"latest_search_at": "2026-11-03T09:00:01.000Z"
}
}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:
type | Tracks | Same filters as | Each run is |
|---|---|---|---|
custom (default) | A Sales Navigator people or company search | the app’s Custom signal | a lead search or a company list |
social_listening | One person’s new LinkedIn posts, and who engages with them | Post engagers | a lead search |
job_posting | Companies that start hiring for given roles | Companies hiring | a company list |
stack | Companies that start using given technologies | Tech stack | a company list |
company_signal | Companies that newly match funding, headcount growth or website traffic filters | Account search with live: false | a company list |
new_hires | People who just started a job matching given titles | Advanced search with live: false, or with live: true | a lead search |
job_changes | Up to 10,000 contacts, reporting when they change company or get promoted | Track job changes | a lead search |
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 aCUSTOM_LEADalert. Each run is a lead search. - A company search (
https://www.linkedin.com/sales/search/company...) creates aCUSTOM_ACCOUNTalert. Each run is a company list.
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,commentsorall(default)exclude_people_from_same_company:truedrops the engagers who work at the author’s company
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
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 takesincluded_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 takesfunctions,seniority_levels,excluded_seniority_levels,years_in_current_position,years_at_current_companyandkeyword, with the values of the advanced search, andhire_type:new_hirefor people who joined a new company,promotedfor 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 answers422. The database-only filters above answer422.
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.
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,000contacts 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_urland 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: trueposts the leads one by one as they are found. - Polling. Call Retrieve an Alert with
sinceset to thechecked_atof your previous call. It returns only the runs created since then, each with aresults_urlto fetch its leads or companies. A run whosestatusis notfinishedyet is still running: fetch itsresults_urlagain later.
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.
Body
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)
"https://www.linkedin.com/sales/search/people?query=(filters:List((type:CURRENT_TITLE,values:List((text:VP%20Sales,selectionType:INCLUDED)))))"
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.
false
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.
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 ["25"]
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.
100, 110, 120, 130, 200, 210, 220, 300, 310, 320 ["300", "310"]
Was this page helpful?