Create growth intent for accounts
curl --request POST \
--url https://app.pipecorn.com/api/v2/intents/accounts/growth \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"webhook_url": "https://your-company.com/webhooks/growth",
"streaming": false,
"limit": 500,
"min_headcount_growth_percentage": 10,
"max_headcount_growth_percentage": 50,
"department": "1",
"min_department_headcount": 5,
"max_department_headcount": 100,
"min_department_headcount_growth_percentage": 15,
"max_department_headcount_growth_percentage": 80,
"company_size": [
"51-200",
"201-500"
],
"included_locations": [
103644278
],
"excluded_locations": [],
"included_industries": [
"4"
]
}
'import requests
url = "https://app.pipecorn.com/api/v2/intents/accounts/growth"
payload = {
"webhook_url": "https://your-company.com/webhooks/growth",
"streaming": False,
"limit": 500,
"min_headcount_growth_percentage": 10,
"max_headcount_growth_percentage": 50,
"department": "1",
"min_department_headcount": 5,
"max_department_headcount": 100,
"min_department_headcount_growth_percentage": 15,
"max_department_headcount_growth_percentage": 80,
"company_size": ["51-200", "201-500"],
"included_locations": [103644278],
"excluded_locations": [],
"included_industries": ["4"]
}
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/growth',
streaming: false,
limit: 500,
min_headcount_growth_percentage: 10,
max_headcount_growth_percentage: 50,
department: '1',
min_department_headcount: 5,
max_department_headcount: 100,
min_department_headcount_growth_percentage: 15,
max_department_headcount_growth_percentage: 80,
company_size: ['51-200', '201-500'],
included_locations: [103644278],
excluded_locations: [],
included_industries: ['4']
})
};
fetch('https://app.pipecorn.com/api/v2/intents/accounts/growth', 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/accounts/growth",
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/growth',
'streaming' => false,
'limit' => 500,
'min_headcount_growth_percentage' => 10,
'max_headcount_growth_percentage' => 50,
'department' => '1',
'min_department_headcount' => 5,
'max_department_headcount' => 100,
'min_department_headcount_growth_percentage' => 15,
'max_department_headcount_growth_percentage' => 80,
'company_size' => [
'51-200',
'201-500'
],
'included_locations' => [
103644278
],
'excluded_locations' => [
],
'included_industries' => [
'4'
]
]),
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/accounts/growth"
payload := strings.NewReader("{\n \"webhook_url\": \"https://your-company.com/webhooks/growth\",\n \"streaming\": false,\n \"limit\": 500,\n \"min_headcount_growth_percentage\": 10,\n \"max_headcount_growth_percentage\": 50,\n \"department\": \"1\",\n \"min_department_headcount\": 5,\n \"max_department_headcount\": 100,\n \"min_department_headcount_growth_percentage\": 15,\n \"max_department_headcount_growth_percentage\": 80,\n \"company_size\": [\n \"51-200\",\n \"201-500\"\n ],\n \"included_locations\": [\n 103644278\n ],\n \"excluded_locations\": [],\n \"included_industries\": [\n \"4\"\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/accounts/growth")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"webhook_url\": \"https://your-company.com/webhooks/growth\",\n \"streaming\": false,\n \"limit\": 500,\n \"min_headcount_growth_percentage\": 10,\n \"max_headcount_growth_percentage\": 50,\n \"department\": \"1\",\n \"min_department_headcount\": 5,\n \"max_department_headcount\": 100,\n \"min_department_headcount_growth_percentage\": 15,\n \"max_department_headcount_growth_percentage\": 80,\n \"company_size\": [\n \"51-200\",\n \"201-500\"\n ],\n \"included_locations\": [\n 103644278\n ],\n \"excluded_locations\": [],\n \"included_industries\": [\n \"4\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/intents/accounts/growth")
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/growth\",\n \"streaming\": false,\n \"limit\": 500,\n \"min_headcount_growth_percentage\": 10,\n \"max_headcount_growth_percentage\": 50,\n \"department\": \"1\",\n \"min_department_headcount\": 5,\n \"max_department_headcount\": 100,\n \"min_department_headcount_growth_percentage\": 15,\n \"max_department_headcount_growth_percentage\": 80,\n \"company_size\": [\n \"51-200\",\n \"201-500\"\n ],\n \"included_locations\": [\n 103644278\n ],\n \"excluded_locations\": [],\n \"included_industries\": [\n \"4\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"message": "Account search started successfully. You will receive the results on your webhook shortly.",
"id": "5d4fabd2-e26d-47d1-b0de-4bf370f7b799",
"total": 150,
"preview": [
{
"company_name": "Acme Inc",
"industry": "Software Development",
"linkedin_id": "123456",
"linkedin_url": "https://www.linkedin.com/company/123456"
}
],
"status_url": "https://app.pipecorn.com/api/v2/lists/8e1dcba0-f0bb-4071-99fc-f18ba6559ccc",
"account_url": "<string>"
}Signals
Find companies growing
Start a LinkedIn account (company) search by growth criteria. Only documented fields are allowed; unknown keys return 422.
Valid criteria (choose one mode):
- Company-wide headcount growth: Provide at least one of
min_headcount_growth_percentageormax_headcount_growth_percentage. Do not senddepartmentin this mode. - Department metrics: Send
department(LinkedIn function ID as a string, e.g."1") plus at least one ofmin_department_headcount,max_department_headcount,min_department_headcount_growth_percentage, ormax_department_headcount_growth_percentage.
Department fields cannot be combined with company-wide headcount growth fields.
POST
/
intents
/
accounts
/
growth
Create growth intent for accounts
curl --request POST \
--url https://app.pipecorn.com/api/v2/intents/accounts/growth \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"webhook_url": "https://your-company.com/webhooks/growth",
"streaming": false,
"limit": 500,
"min_headcount_growth_percentage": 10,
"max_headcount_growth_percentage": 50,
"department": "1",
"min_department_headcount": 5,
"max_department_headcount": 100,
"min_department_headcount_growth_percentage": 15,
"max_department_headcount_growth_percentage": 80,
"company_size": [
"51-200",
"201-500"
],
"included_locations": [
103644278
],
"excluded_locations": [],
"included_industries": [
"4"
]
}
'import requests
url = "https://app.pipecorn.com/api/v2/intents/accounts/growth"
payload = {
"webhook_url": "https://your-company.com/webhooks/growth",
"streaming": False,
"limit": 500,
"min_headcount_growth_percentage": 10,
"max_headcount_growth_percentage": 50,
"department": "1",
"min_department_headcount": 5,
"max_department_headcount": 100,
"min_department_headcount_growth_percentage": 15,
"max_department_headcount_growth_percentage": 80,
"company_size": ["51-200", "201-500"],
"included_locations": [103644278],
"excluded_locations": [],
"included_industries": ["4"]
}
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/growth',
streaming: false,
limit: 500,
min_headcount_growth_percentage: 10,
max_headcount_growth_percentage: 50,
department: '1',
min_department_headcount: 5,
max_department_headcount: 100,
min_department_headcount_growth_percentage: 15,
max_department_headcount_growth_percentage: 80,
company_size: ['51-200', '201-500'],
included_locations: [103644278],
excluded_locations: [],
included_industries: ['4']
})
};
fetch('https://app.pipecorn.com/api/v2/intents/accounts/growth', 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/accounts/growth",
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/growth',
'streaming' => false,
'limit' => 500,
'min_headcount_growth_percentage' => 10,
'max_headcount_growth_percentage' => 50,
'department' => '1',
'min_department_headcount' => 5,
'max_department_headcount' => 100,
'min_department_headcount_growth_percentage' => 15,
'max_department_headcount_growth_percentage' => 80,
'company_size' => [
'51-200',
'201-500'
],
'included_locations' => [
103644278
],
'excluded_locations' => [
],
'included_industries' => [
'4'
]
]),
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/accounts/growth"
payload := strings.NewReader("{\n \"webhook_url\": \"https://your-company.com/webhooks/growth\",\n \"streaming\": false,\n \"limit\": 500,\n \"min_headcount_growth_percentage\": 10,\n \"max_headcount_growth_percentage\": 50,\n \"department\": \"1\",\n \"min_department_headcount\": 5,\n \"max_department_headcount\": 100,\n \"min_department_headcount_growth_percentage\": 15,\n \"max_department_headcount_growth_percentage\": 80,\n \"company_size\": [\n \"51-200\",\n \"201-500\"\n ],\n \"included_locations\": [\n 103644278\n ],\n \"excluded_locations\": [],\n \"included_industries\": [\n \"4\"\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/accounts/growth")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"webhook_url\": \"https://your-company.com/webhooks/growth\",\n \"streaming\": false,\n \"limit\": 500,\n \"min_headcount_growth_percentage\": 10,\n \"max_headcount_growth_percentage\": 50,\n \"department\": \"1\",\n \"min_department_headcount\": 5,\n \"max_department_headcount\": 100,\n \"min_department_headcount_growth_percentage\": 15,\n \"max_department_headcount_growth_percentage\": 80,\n \"company_size\": [\n \"51-200\",\n \"201-500\"\n ],\n \"included_locations\": [\n 103644278\n ],\n \"excluded_locations\": [],\n \"included_industries\": [\n \"4\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/intents/accounts/growth")
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/growth\",\n \"streaming\": false,\n \"limit\": 500,\n \"min_headcount_growth_percentage\": 10,\n \"max_headcount_growth_percentage\": 50,\n \"department\": \"1\",\n \"min_department_headcount\": 5,\n \"max_department_headcount\": 100,\n \"min_department_headcount_growth_percentage\": 15,\n \"max_department_headcount_growth_percentage\": 80,\n \"company_size\": [\n \"51-200\",\n \"201-500\"\n ],\n \"included_locations\": [\n 103644278\n ],\n \"excluded_locations\": [],\n \"included_industries\": [\n \"4\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"message": "Account search started successfully. You will receive the results on your webhook shortly.",
"id": "5d4fabd2-e26d-47d1-b0de-4bf370f7b799",
"total": 150,
"preview": [
{
"company_name": "Acme Inc",
"industry": "Software Development",
"linkedin_id": "123456",
"linkedin_url": "https://www.linkedin.com/company/123456"
}
],
"status_url": "https://app.pipecorn.com/api/v2/lists/8e1dcba0-f0bb-4071-99fc-f18ba6559ccc",
"account_url": "<string>"
}Find companies that are experiencing growth using company-wide headcount growth or department-level metrics. The search runs against LinkedIn account data; matching companies are imported and sent to your webhook.
Send the parameters as a flat JSON object (see the example below), with
Content-Type: application/json. Only documented fields are allowed; any other key is rejected with a validation error.
Growth criteria (pick one approach)
1. Company-wide headcount growth Provide at least one of:min_headcount_growth_percentagemax_headcount_growth_percentage
department in this mode. Company-wide headcount growth and department filters cannot be used together.
2. Department-level metrics
Always send department (a string ID for the LinkedIn function to target, for example "1"). Also include at least one of:
min_department_headcountand/ormax_department_headcount, ormin_department_headcount_growth_percentageand/ormax_department_headcount_growth_percentage
department alone is not enough. Department headcount or department growth fields without department are not allowed.
Other fields
webhook_url(required): URL that receives results when processing completes.streaming(optional): Whether to stream results as they are processed.limit(optional): Maximum number of companies to import. If omitted, the import is still capped at 1000 companies even when the search finds more; thetotalfield in the response reflects the full match count from the search when no limit is set.
Filters
company_size: Array of company size range strings (LinkedIn-style buckets). En-dash characters in values are normalized to hyphens on the server.included_locations: Array of location IDs to include.excluded_locations: Array of location IDs to exclude.included_industries: Array of industry IDs to include.
company_size values:
1-1011-5051-200201-500501-10001001-50005001-1000010001+
4- Automotive6- Technology, Information and Internet12- Education43- Financial Services96- Software Development
Department validation
department must be a string and must be one of the allowed LinkedIn function IDs used by the API.
Response
Successful requests return 201 Created with:message: Confirmation that the account search started and results will be sent to the webhook.id: UUID of the import job.total: Iflimitis set, this is the smaller of the search size andlimit. Iflimitis omitted, this is the full search size (import volume may still be capped at 1000 as above).preview: Up to 10 sample companies, each withcompany_name,industry,linkedin_id(numeric ID from the result), andlinkedin_urlin the formhttps://www.linkedin.com/company/{linkedin_id}.
account_url for debugging.
Example request
{
"webhook_url": "https://your-company.com/webhooks/growth",
"min_headcount_growth_percentage": 10,
"company_size": ["51-200"],
"included_locations": [103644278],
"streaming": false
}
Example response
{
"message": "Account search started successfully. You will receive the results on your webhook shortly.",
"id": "5d4fabd2-e26d-47d1-b0de-4bf370f7b799",
"total": 150,
"preview": [
{
"company_name": "Acme Inc",
"industry": "Software Development",
"linkedin_id": "123456",
"linkedin_url": "https://www.linkedin.com/company/123456"
}
]
}
Errors
- 401: Missing or invalid API key.
- 422: Invalid combinations of growth parameters, disallowed extra parameters, invalid
departmenttype or value, or invalid optional filters (company size, locations, industries). Also returned when your plan’s company import limit can’t cover the number of companies found ("Can't proceed with the request. Plan limit reached.") or when the Sales Navigator connection has expired. On the Scale plan the import is queued with202andstatus: "queued"instead, and starts once the quota resets; see Credits vs limits.
Location IDs reference
Resolve IDs forincluded_locations and excluded_locations using the Location Ids endpoint.Headers
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:
255Example:
"4f1c2e9a-8a7d-4c1b-9f63-2d6e0b5a7c11"
Body
application/json
Response
Search started; results are delivered to the webhook
Was this page helpful?