Skip to main content
POST
/
api
/
linkedin
/
leads
/
by_icp
/
get_count
/
Count leads by ICP
curl --request POST \
  --url https://api.generect.com/api/linkedin/leads/by_icp/get_count/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "company_link": "https://www.linkedin.com/company/fette-compacting-gmbh",
  "locations": [
    "Austria",
    "Switzerland"
  ],
  "personas": [
    [
      "Communication",
      [
        "Communication",
        "Kommunikation",
        "Communication"
      ],
      [],
      [
        "Assistant",
        "Operations",
        "Hubspot"
      ]
    ],
    [
      "Communications",
      [
        "Communications",
        "Kommunikation",
        "Communications"
      ],
      [],
      [
        "Assistant",
        "Operations",
        "Hubspot"
      ]
    ]
  ],
  "exclude_names": [
    "Volker Reinsch",
    "Nathalie Hoffmann",
    "Nora Behrens",
    "Emanuel da Silva Gomes",
    "Kerstin Schaper",
    "Angela Hogrefe"
  ],
  "filter_empty_vars": [
    "started_at_position"
  ]
}'
{
  "amount": -3,
  "results_count": "within limit"
}

Use Case:

Quickly assess lead volume for new campaigns.

Authorizations

Authorization
string
header
required

Use 'Token <api-key>' as the value

Body

application/json

Use 'company_link' or 'company_id'. One of them is required.

company_id
integer

Optional

locations
string[]
personas
(string | string[])[][]
exclude_names
string[]
filter_empty_vars
string[]
changed_jobs
boolean

Optional, flag to specify if jobs have changed.

posted_on_linkedin
boolean

Optional, flag to specify if posted on LinkedIn.

mentioned_in_news
boolean

Optional, flag to specify if mentioned in news.

lead_industries
string[]

Optional, list of industries

company_locations
string[]

Optional, company locations.

company_headcounts
string[]

Optional, company headcounts.

company_types
string[]

Optional, company types.

past_company_names
string[]

Optional, list of past company names.

years_in_company
integer[]

Optional, number of years in a company.

years_in_position
integer[]

Optional, number of years in the position.

groups
integer[]

Optional, list of group IDs.

schools
integer[]

Optional, list of school IDs.

Response

200 - application/json

200

amount
number
Example:

-3

results_count
string
Example:

"within limit"

I