Track job changes
curl --request POST \
--url https://app.pipecorn.com/api/v2/intents/leads/track_job_changes \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"webhook_url": "https://your-company.com/webhooks/job_changes",
"linkedin_profile_urls": [
"https://www.linkedin.com/in/john-doe",
"https://www.linkedin.com/in/jane-smith"
]
}
'import requests
url = "https://app.pipecorn.com/api/v2/intents/leads/track_job_changes"
payload = {
"webhook_url": "https://your-company.com/webhooks/job_changes",
"linkedin_profile_urls": ["https://www.linkedin.com/in/john-doe", "https://www.linkedin.com/in/jane-smith"]
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
webhook_url: 'https://your-company.com/webhooks/job_changes',
linkedin_profile_urls: [
'https://www.linkedin.com/in/john-doe',
'https://www.linkedin.com/in/jane-smith'
]
})
};
fetch('https://app.pipecorn.com/api/v2/intents/leads/track_job_changes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.pipecorn.com/api/v2/intents/leads/track_job_changes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'webhook_url' => 'https://your-company.com/webhooks/job_changes',
'linkedin_profile_urls' => [
'https://www.linkedin.com/in/john-doe',
'https://www.linkedin.com/in/jane-smith'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.pipecorn.com/api/v2/intents/leads/track_job_changes"
payload := strings.NewReader("{\n \"webhook_url\": \"https://your-company.com/webhooks/job_changes\",\n \"linkedin_profile_urls\": [\n \"https://www.linkedin.com/in/john-doe\",\n \"https://www.linkedin.com/in/jane-smith\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.pipecorn.com/api/v2/intents/leads/track_job_changes")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"webhook_url\": \"https://your-company.com/webhooks/job_changes\",\n \"linkedin_profile_urls\": [\n \"https://www.linkedin.com/in/john-doe\",\n \"https://www.linkedin.com/in/jane-smith\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/intents/leads/track_job_changes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"webhook_url\": \"https://your-company.com/webhooks/job_changes\",\n \"linkedin_profile_urls\": [\n \"https://www.linkedin.com/in/john-doe\",\n \"https://www.linkedin.com/in/jane-smith\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "abc123",
"status": "pending"
}{
"error": 123,
"message": "<string>"
}{
"error": 123,
"message": "<string>"
}Signals
Track job changes
Track job changes for a list of LinkedIn profiles
POST
/
intents
/
leads
/
track_job_changes
Track job changes
curl --request POST \
--url https://app.pipecorn.com/api/v2/intents/leads/track_job_changes \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"webhook_url": "https://your-company.com/webhooks/job_changes",
"linkedin_profile_urls": [
"https://www.linkedin.com/in/john-doe",
"https://www.linkedin.com/in/jane-smith"
]
}
'import requests
url = "https://app.pipecorn.com/api/v2/intents/leads/track_job_changes"
payload = {
"webhook_url": "https://your-company.com/webhooks/job_changes",
"linkedin_profile_urls": ["https://www.linkedin.com/in/john-doe", "https://www.linkedin.com/in/jane-smith"]
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
webhook_url: 'https://your-company.com/webhooks/job_changes',
linkedin_profile_urls: [
'https://www.linkedin.com/in/john-doe',
'https://www.linkedin.com/in/jane-smith'
]
})
};
fetch('https://app.pipecorn.com/api/v2/intents/leads/track_job_changes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.pipecorn.com/api/v2/intents/leads/track_job_changes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'webhook_url' => 'https://your-company.com/webhooks/job_changes',
'linkedin_profile_urls' => [
'https://www.linkedin.com/in/john-doe',
'https://www.linkedin.com/in/jane-smith'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.pipecorn.com/api/v2/intents/leads/track_job_changes"
payload := strings.NewReader("{\n \"webhook_url\": \"https://your-company.com/webhooks/job_changes\",\n \"linkedin_profile_urls\": [\n \"https://www.linkedin.com/in/john-doe\",\n \"https://www.linkedin.com/in/jane-smith\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.pipecorn.com/api/v2/intents/leads/track_job_changes")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"webhook_url\": \"https://your-company.com/webhooks/job_changes\",\n \"linkedin_profile_urls\": [\n \"https://www.linkedin.com/in/john-doe\",\n \"https://www.linkedin.com/in/jane-smith\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/intents/leads/track_job_changes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"webhook_url\": \"https://your-company.com/webhooks/job_changes\",\n \"linkedin_profile_urls\": [\n \"https://www.linkedin.com/in/john-doe\",\n \"https://www.linkedin.com/in/jane-smith\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "abc123",
"status": "pending"
}{
"error": 123,
"message": "<string>"
}{
"error": 123,
"message": "<string>"
}This endpoint allows you to monitor job changes for a list of contacts on LinkedIn. When any of the tracked contacts changes their job, 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
- The system checks for job changes monthly, so a change is reported in the monthly check that follows it rather than the day it happens
Contact Identification
You can identify contacts in two ways:-
Using LinkedIn URL
{ "linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard/" } -
Using Name and Company
{ "first_name": "Nicolas", "last_name": "Fernandez Le Follic", "company_name": "Pipecorn" }
Webhook Notifications
When a contact changes their job, you’ll receive a webhook notification with details about the change. Make sure your webhook endpoint is ready to receive POST requests.Authorizations
Body
application/json
URL to receive job change notifications
Example:
"https://your-company.com/webhooks/job_changes"
List of LinkedIn profile URLs to track for job changes
Example:
[
"https://www.linkedin.com/in/john-doe",
"https://www.linkedin.com/in/jane-smith"
]
Was this page helpful?