This guide walks you through the core The Hog workflow: find a company, discover people at that company, enrich a contact to get their email and phone number, and poll for results when the operation runs asynchronously. Each step builds on the previous one, so you can follow along end-to-end or jump to the section you need.Documentation Index
Fetch the complete documentation index at: https://docs.thehog.ai/llms.txt
Use this file to discover all available pages before exploring further.
Get your API key
Retrieve your API key from your account settings. You will include it as a Bearer token on every request.See Authentication for the full details on both credential formats and how to add project context.All examples below use the
Authorization: Bearer method. Replace hog_live_xxxxxxxxxxxxxxxxxxxxxxxx with your actual key.Search your first company
Call Sample response:Copy the
POST /api/companies/search with a natural-language query to find matching accounts. The response returns a ranked list of companies with firmographic and technographic details.id of the company you want to explore — you will use it in the next step.Find people at that company
Call Sample response:Pass
POST /api/people/search with a natural-language query and the companyId from the previous step. The API returns ICP-ranked contacts matching your description.X-Project-Id on the request to rank results against your own ICP personas instead of the default scoring.Enrich a contact
Call The enrichment endpoint returns either a 200 or a 202 response depending on how quickly the data can be resolved:
Sample 200 response:Sample 202 response:If you receive a 202, proceed to the next step to poll for the result.
POST /api/people/enrich with one or more identity references — a LinkedIn URL, email address, or person ID — to retrieve verified contact information.| Status | Meaning | Next step |
|---|---|---|
200 OK | Enrichment completed synchronously | The data field contains verified contact details. |
202 Accepted | Enrichment is running asynchronously | Use the operationId and pollUrl to check for results. |
What’s next
You have completed the core workflow. From here you can:Detect signals
Surface buying signals like job changes, funding rounds, and hiring surges at your target accounts.
Generate content
Use project context to generate personalized outreach and social replies grounded in your messaging.
Run deep research
Kick off LLM-powered research jobs that return structured data conforming to a JSON Schema you define.
Add project context
Learn how passing
X-Project-Id scopes every operation to your brand voice, personas, and competitive intel.