Leads
POST
/leads/{id}/enrich

Looks up the lead's work email (by default) and/or mobile phone now and returns the lead with what was found saved on it. A value the lead already has is kept, and not charged or looked up again. A hit usually answers in a couple of seconds; a miss only once every source was tried, which can take up to a minute. Charged per result found, 8 credits per email and 100 per phone; nothing for a miss. enrichment.<kind>.status says how each lookup ended. A lookup already running on this lead is a 409 with code: lookup_running.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key created on the Access tokens page.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/leads/string/enrich" \  -H "Content-Type: application/json" \  -d '{    "email": true,    "phone": true  }'
{  "data": {    "id": "string",    "firstName": "string",    "lastName": "string",    "headline": "string",    "jobTitle": "string",    "company": "string",    "email": "string",    "phone": "string",    "emailStatus": "bounced",    "emailOptOut": true,    "location": "string",    "picture": "string",    "notes": "string",    "profileUrl": "string",    "publicIdentifier": "string",    "openProfile": true,    "tags": [      "string"    ],    "autoTags": [      "string"    ],    "listIds": [      "string"    ],    "campaignIds": [      "string"    ],    "customVariables": {      "property1": "string",      "property2": "string"    },    "source": "string",    "lastActivityAt": "2019-08-24T14:15:22Z",    "enrichedAt": "2019-08-24T14:15:22Z",    "enrichment": {      "email": {        "status": "pending",        "at": "2019-08-24T14:15:22Z",        "reason": "no_credits"      },      "phone": {        "status": "pending",        "at": "2019-08-24T14:15:22Z",        "reason": "no_credits"      }    },    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}