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
}'
{
  "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 found in our reference spreadsheet. If you need additional locations added to this list, please contact our support team.

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

Example:

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

company_size
enum<string>[]

Filter by company size ranges

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

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 length: 10
I