Skip to main content
POST
/
v1
/
leads
/
enrich
Start Contacts Enrichment
curl --request POST \
  --url https://api.preceptai.co.uk/v1/leads/enrich \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Q3 Lead List",
  "webhookUrl": "https://your-site.com/webhook",
  "leads": [
    {
      "linkedinUrl": "https://linkedin.com/in/johndoe",
      "enrichType": [
        "emails",
        "phones"
      ],
      "customData": {
        "contact_id": "lead_123"
      }
    },
    {
      "firstName": "Jane",
      "lastName": "Smith",
      "companyName": "Precept AI",
      "enrichType": [
        "emails"
      ],
      "customData": {
        "contact_id": "lead_456"
      }
    }
  ]
}
'
{
  "message": "Enrichment job successfully created and batches are being processed.",
  "enrichment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
webhookUrl
string<uri>
required

Your webhook URL to receive the result of the enrichment. If not provided, results are sent to the default webhook configured in your account.

leads
object[]
required

An array of lead objects to enrich. Each object must contain either a linkedinUrl or a combination of firstName, lastName, and companyName or companyDomain.

name
string

A readable name for your enrichment for searching on your dashboard.

Response

Request accepted. The enrichment is in progress. The response will vary based on whether all leads could be processed.

message
string
Example:

"Enrichment job successfully created and batches are being processed."

enrichment_id
string<uuid>