Skip to main content
POST
/
intents
/
accounts
/
lookalikes
Create lookalike intent for accounts
curl --request POST \
  --url https://app.prontohq.com/api/v2/intents/accounts/lookalikes \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "webhook_url": "https://prontohq.com/webhooks/lookalikes",
  "company_linkedin_url": "https://www.linkedin.com/company/acme-inc",
  "company_size": [
    "1-10",
    "11-50"
  ],
  "included_locations": [
    "123"
  ],
  "excluded_locations": [
    "456"
  ],
  "streaming": true,
  "limit": 100
}
'
{
  "message": "Lookalike 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/acme-inc"
    }
  ]
}

Location IDs Reference

Location IDs used in this endpoint can be retrieved using the Location Ids endpoint. Simply provide a location name (e.g., “San Francisco”) and the API will return all matching locations with their IDs.

Authorizations

X-API-KEY
string
header
required

Your API key

Body

application/json
webhook_url
string<uri>
required

URL to receive lookalike intent notifications

Example:

"https://prontohq.com/webhooks/lookalikes"

company_linkedin_url
string<uri>
required

LinkedIn URL of the target company (regular or Sales Navigator)

Example:

"https://www.linkedin.com/company/acme-inc"

company_size
enum<string>[]

Filter by company size ranges

Available options:
Self-employed,
1-10,
11-50,
51-200,
201-500,
501-1000,
1001-5000,
5001-10000,
10001+
Example:
["1-10", "11-50"]
included_locations
string[]

Location IDs to include

Example:
["123"]
excluded_locations
string[]

Location IDs to exclude

Example:
["456"]
streaming
boolean

Whether to stream results as they come in

Example:

true

limit
integer

Maximum number of companies to return

Required range: x >= 1
Example:

100

Response

Successfully created lookalike intent

message
string

Success message

Example:

"Lookalike search started successfully. You will receive the results on your webhook shortly."

id
string<uuid>

Unique identifier for the lookalike intent

Example:

"5d4fabd2-e26d-47d1-b0de-4bf370f7b799"

total
integer

Total number of matching companies

Example:

150

preview
object[]

Preview of matching companies (first 10)

Maximum array length: 10