Credits
Enrichments consume the enrichment credits of the workspace. Read how credits are consumed to learn more.- Use Get credits to check the credits left in the workspace.
- A request is rejected with a
402error if the workspace doesn’t have enough credits for the maximum possible cost of the enrichment. Nothing is performed or charged.
Lifecycle
Enrichments run asynchronously:- Request an enrichment of up to 500 people with Enrich people. The response is a
202response with the enrichment, in thependingstatus (or alreadycompletedwhen every ID is skipped). - Poll Get an enrichment of people with the ID of the enrichment until it is over, or subscribe a webhook to the
person_enrichment.finishedevent. - Once over, the enrichment has one of the following statuses:
completed: the result for each person is initems, and the counts per result insummary.failed: the enrichment couldn’t run, seeerrorReason.
Result for each person
Each item of a completed enrichment has one of the following statuses:enriched: new data was found for every requested field.partially_enriched: new data was found for some requested fields, seeenrichedFields.not_enriched: the person was searched, and no new data was found for the requested fields. A value the person already had doesn’t count.skipped: the ID doesn’t match a person you can enrich (unknown, deleted, not accessible to you, or you aren’t a contributor in any of the person’s groups), so the person wasn’t searched.error: no enrichment provider could process this person, for instance because the providers were unavailable, so the person wasn’t searched. Request a new enrichment for this person later.
New statuses may be added in the future: handle unknown values gracefully.
items and summary only include the people you can access. People deleted or merged after the request, including while being enriched, no longer appear in the result.
Improving the results
The enrichment providers search with the data of the person: the more they know, the better the results. For people with thenot_enriched or partially_enriched status, missingInputs lists the data the providers search with, that the person didn’t have:
name: a first or last name, set withfirstNameandlastName.company: a company linked to the person, set withcompanies.companyWebsite: a website on the primary company of the person, set with theurlsof the company.linkedinUrl: a LinkedIn profile URL (https://www.linkedin.com/in/...), set with theurlsof the person.