A project in The Hog is a container for your go-to-market configuration: your brand voice, ICP personas, and the competitive landscape you’re operating in. When you attach a project to an API request, the response is enriched with that context — so instead of generic data, you get results that are already shaped around your messaging, your target buyers, and your competitive positioning.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.
How to pass project context
You have two ways to attach a project to any request. Both are equivalent; use whichever fits your integration style. Option 1 — Request header:When both
X-Project-Id and projectId are present, the body field takes precedence.What project context adds to responses
Company search
When project context is active, each company result includes aprojectContext object alongside the standard firmographic and signal data:
| Field | Description |
|---|---|
brandVoice | Positioning and messaging guidance tailored to this company, drawn from your project’s messaging guide |
personas | ICP persona names or IDs from your project that match this account |
isCompetitor | Whether this company is tracked as a competitor in your project |
competitiveIntel | A summary of competitive intelligence when the company is a known competitor |
Generate
When you callPOST /api/generate with a project ID, the generated content uses your brand voice and persona context automatically — you don’t need to re-supply your messaging guide in the prompt.
Use cases
Personalized outreach
Generate outreach emails or sequences that reference your brand voice and speak directly to the persona matched at each target account.
Competitive filtering
Flag or exclude companies where
isCompetitor is true so your outreach list only contains genuine prospects.Persona-matched discovery
Surface which of your defined ICP personas maps to each company, so you know which job titles to search for in the people step.
Account-level messaging
Use
brandVoice to pre-load account-specific talking points into your sales team’s CRM notes or sequence steps.Example: company search with project context
The request below searches for hiring software companies and activates project context via theX-Project-Id header. The response for each matching company includes the projectContext block.