Generate scoped API keys in Settings → Developers (/app/settings/advance/api) to power headless frontends, CI/CD Brand Memory pipelines, scheduled automation triggers, and the BlogHunch MCP Server.
Creating & scoping an API key
Open Developer Settings
Navigate to Settings → Developers (/app/settings/advance/api) on a Studio or Enterprise publication (Admin/Owner access required).
Choose least-privilege scopes
Assign only the permissions your integration needs:
brain:read/brain:write— Read Brand Memory, push facts/rules, trigger source syncs, and verify post claimsai:studio— Queue AI drafts, SEO briefs, topic discovery, Social Echo packs, and branded coversautomations:read/automations:write/automations:run— Manage and trigger recurring automationsapprovals:write— Approve Social Echo packs, covers, and review items
Store your key & use Idempotency-Key headers
Copy your bh_live_… bearer token immediately upon creation. On mutating POST / PATCH requests (such as /v1/ai/drafts or /v1/brain/items), pass an Idempotency-Key header to prevent duplicate jobs during network retries.
Organization-scoped keys for agencies
Agencies managing multiple client blogs can also issue Organization-scoped API keys to list sites, manage approvals, and provision publications centrally. See the Organizations API Reference.