Skip to main content
POST
Track job changes
This endpoint is deprecated. Create the alert with POST /alerts and type: job_changes instead: it takes the same filters and returns the alert. Existing integrations keep working.
This endpoint allows you to monitor job changes for a list of contacts. When any of the tracked contacts changes company or gets promoted, you’ll receive a notification through the specified webhook URL.

Use Cases

  • Monitor when your champions or product users change jobs
  • Track career movements of potential leads
  • Stay informed about your network’s professional changes

Important Notes

  • You can identify contacts either by their LinkedIn URL or by their name and current company
  • contacts and webhook_url are required, and every contact must carry either linkedin_url or all of first_name, last_name and company_name
  • You can send up to 10,000 contacts per request
  • Contacts are matched in the background, then a first check runs. After that, the contacts are checked again every 30 days. A change is reported in the check that follows it rather than the day it happens. The schedule can’t be changed: frequency only takes monthly, and any other value answers 422
  • Each tracking counts as one alert in your plan. Once your alert limit is reached, the endpoint returns a 400
  • The 201 response returns the alert_id of the tracking alert and a status_url: read its checks with GET /alerts/{id}

Contact Identification

Pass the contacts to track in the contacts array. Each contact is identified in one of two ways, and both can be mixed in the same request:
  1. Using LinkedIn URL
  2. Using Name and Company (all three fields are required)
A full request looks like this:
If any contact has neither a linkedin_url nor all of first_name, last_name and company_name, the whole request is rejected with a 400.

Matching and the First Check

The contacts you send become a lead list, imported the same way as a CSV list uploaded in the Pipecorn app:
  • Each contact is matched against the Pipecorn people database, by LinkedIn URL first, then by name and company. When Sales Navigator is connected, contacts with a LinkedIn URL that the database can’t match are looked up on LinkedIn. That lookup can finish after the first check, in which case those contacts are tracked from the next monthly check.
  • Contacts that can’t be matched stay on the list but aren’t tracked. In the app, the signal lists them under Untracked with a “No LinkedIn match” label.
  • For contacts sent with a company_name, that company is the starting point: if the contact now works somewhere else, the move is reported.
The first check runs as soon as the list finishes importing. Like any first check in the app, it only reports moves dated within the last 90 days, so an old list doesn’t flood your webhook with past changes. From the second check on, every change since the previous check is reported.

Webhook Notifications

After each check that finds at least one change, Pipecorn POSTs the contacts who changed to your webhook, in the same payload format as the other lead signals (name, id, leads, custom_attributes). Each lead carries its new title and company, its role before the change in previous_job (title and company_name, either null when unknown), and a hire_type field telling what changed:
  • new_hire: the contact moved to a new company
  • promoted: the contact got a new title at the same company
Checks that find no change don’t send anything. Make sure your webhook endpoint is ready to receive POST requests.

Authorizations

X-API-KEY
string
header
required

Headers

Idempotency-Key
string

A unique value you generate per operation, such as a UUID. Retrying with the same key and the same body returns the stored response instead of running the request again, so a retry after a timeout never charges twice. Successful responses are kept for 24 hours; a failed request is not stored and can be retried with the same key.

Maximum string length: 255
Example:

"4f1c2e9a-8a7d-4c1b-9f63-2d6e0b5a7c11"

Body

application/json
webhook_url
string<uri>
required

URL that receives the job changes

Example:

"https://your-company.com/webhooks/job_changes"

contacts
object[]
required

Contacts to track, up to 10,000 per request. Each contact needs either linkedin_url, or all of first_name, last_name and company_name.

Required array length: 1 - 10000 elements
Example:

Response

Job change tracking created

message
string
required
Example:

"Job changes tracking created successfully. Contacts are being matched; the initial check runs once matching is done, then every 30 days."

alert_id
string<uuid>
required

UUID of the alert this created. Read its runs with GET /alerts/{id}.

status_url
string<uri>
required

GET /alerts/{id} for this alert. Same value as the Location header.