The enrichment endpoint finds verified email addresses and phone numbers for a batch of contacts by running each identity through a configurable multi-provider waterfall. For email, the waterfall queries up to 2 providers in sequence, stopping as soon as a verified result is found. For phone, up to 3 providers are tried. You can reduce both depths to control cost at the expense of coverage. By default the endpoint runs asynchronously — it returns aDocumentation Index
Fetch the complete documentation index at: https://docs.thehog.ai/llms.txt
Use this file to discover all available pages before exploring further.
202 immediately with an operation ID you can poll. To force a synchronous response, set asyncPreferred to false.
Request
Authentication
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <your-api-key> |
X-Project-Id | No | Optional project context. |
Idempotency-Key | No | Optional. Submitting the same key twice within the same organization returns the existing queued operation rather than creating a duplicate. |
Body Parameters
List of contacts to enrich by their The Hog person ID. Use this when you already have IDs from a prior people search call.
List of platform handles to resolve into person records before enrichment. Useful when you have social handles but no The Hog person ID.
Controls response mode. When
true (default), returns 202 Accepted with an operation ID to poll. When false, waits for enrichment to complete and returns 200 with results inline. Use false only for small batches where synchronous latency is acceptable.Project context. Overrides the
X-Project-Id header when set.Maximum number of email providers to query per contact. Range:
1–2. Setting to 1 reduces cost but may lower email hit rate.Maximum number of phone providers to query per contact. Range:
1–3. Setting to 1 or 2 reduces cost but may lower phone hit rate.Response
Sync response (asyncPreferred: false) — 200 OK
One enriched contact object per input identity.
Async response (asyncPreferred: true) — 202 Accepted
ID of the queued enrichment operation. Use this to poll for results.
Always
"queued" on a 202 response.The URL to poll for the operation’s status and results, e.g.
/api/operations/op_01hx9k2m.