Honeloop documentation
One capability kernel powers every surface: MCP, REST v2, the TypeScript SDK, the hl CLI and the web application. Reach your first scheduled post in fifteen minutes.
Guides and references#
15-minute quickstart
From bootstrap keys to your first scheduled post, approval diversion, human decision and verified status.
MCP tools
Stateless Streamable HTTP on protocol 2026-07-28, Bearer header auth, and the hand-written toolset.
REST v2 reference
Every registered capability generated from the registry snapshot: route, scope, idempotency and schemas.
Error codes
Machine-readable KernelErrorShape, every stable error code, HTTP status, retryability and CLI exit codes.
Approvals and autonomy
Autonomy levels, HTTP 202 ApprovalDiversion, separation of duties and optimistic-lock version rebasing.
Exactly-once publishing
Idempotency keys, provider certainty rules and the fail-closed never-publish-again guarantee.
Content agent guide
The four-tool boundary, brand voice profile, standing holdout measurement, cost caps and kill switches.
Web application guide
Multi-provider sign-in, 15 languages, approval inbox shortcuts, media studio, analytics, agency queues and development-access labels.
Choosing a surface#
Every surface authenticates as an explicit principal, passes the same 12-stage policy gate and appends an audit row. Pick the surface that fits your caller.
| Surface | Best for | Coverage | Approving work |
|---|---|---|---|
MCP (POST /mcp) | Interactive chat agents and assistants | 17 hand-written, eval-gated tools covering channels, rules, drafts, scheduling, immediate publishing, status, slots, events, media, analytics, series, compose assist and provider tools. | Excluded by design for separation of duties |
REST v2 (POST /v2/...) | Services, custom integrations, CI pipelines and reviewer automation | Full registry (132 capabilities across 27 domains) with strict JSON schemas and deterministic error codes. | Supported with a separate approvals:decide principal |
@honeloop/sdk and hl CLI | TypeScript apps, coding agents in a shell and operational scripts | Generated from the registry snapshot: 69 ergonomic CLI verbs, universal hl call <domain.verb> with x-secret scrubbing across all 132 capabilities, automatic idempotency keys, rebase helpers, hl.events.follow(), hl login and inline hl assist. | Supported via hl approvals decide and hl.approvals.decide() |
| Automation connectors | No-code and low-code workflows in n8n, Make and Zapier | Shipped specs and nodes in integrations/ for drafts, scheduling, publishing, media import, event polling and HMAC-SHA256 verified webhooks. | n8n supports approvals.decide with a reviewer credential; Make and Zapier branch on HTTP 202 diversions |
| Web application | Founders, marketers, reviewers and workspace admins | 20 screens in 15 languages (with RTL support): multi-provider sign-in, approval inbox, AI Copilot (/copilot), Calendar, Composer, Media Studio and Canvas 2D editor, Analytics, Automation hub, Channels, external /p review previews, Developers, OAuth and Billing. | Primary human approval inbox with keyboard shortcuts |
Four contracts that hold everywhere#
- No wildcard keys. Every API key (
hlk_), OAuth token (hlt_) and session JWT resolves to one organisation and a closed list of scopes. Credentials travel only inAuthorization: Bearer, never in a URL. - Diversion is a success. When an autonomy policy requires human review,
posts.scheduleandposts.publish_nowreturn HTTP 202 with anApprovalDiversionbody instead of an error. - Optimistic concurrency with rebase data. Stale writes return
409 conflict_stale_versioncarryingdetails.currentso callers can rebase without an extra read. - Never publish twice. Mutating publish calls get one attempt. If a platform does not confirm the outcome, Honeloop records
publish_state_unknownwithrecreate: falseand never retries automatically.