Start here
Quickstart
Steps
Make a key
Open Account, API & MCP and choose New key. Pick Full access for this guide. The key is shown once; keep it in an environment variable, never in code you commit.
# Save the key for new terminals, then for this one echo 'export BUZZKIT_API_KEY="bk_live_..."' >> ~/.zshrc # ~/.bashrc on bash export BUZZKIT_API_KEY="bk_live_..."Check who the key is
GET /meanswers the account behind the key, its plan, the limits that apply and how many requests it made today. Every later example reuses the small helper below.curl https://buzzkit.app/api/agent/me \ -H "Authorization: Bearer $BUZZKIT_API_KEY"Find your page
GET /profileslists the pages the key can reach. Paths take a page's id or its username.curl https://buzzkit.app/api/agent/profiles \ -H "Authorization: Bearer $BUZZKIT_API_KEY"Add a link to the draft
The new link goes to the draft, so visitors do not see it yet. The
Idempotency-Keymakes a retry safe: if the network drops and you send it again, you still get one link.curl -X POST https://buzzkit.app/api/agent/profiles/<username>/links \ -H "Authorization: Bearer $BUZZKIT_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{"type": "link", "title": "Spring drop", "url": "https://shop.example"}'See what would go live
The publish status gives the draft's
revision. The changes list is what a person should see before you publish.curl https://buzzkit.app/api/agent/profiles/<username>/publish \ -H "Authorization: Bearer $BUZZKIT_API_KEY" curl https://buzzkit.app/api/agent/profiles/<username>/publish/changes \ -H "Authorization: Bearer $BUZZKIT_API_KEY"Publish
Send the revision you showed. If anyone changed the draft in the meantime, the answer is
revision_conflictand nothing is published: fetch the status again and show the new changes.curl -X POST https://buzzkit.app/api/agent/profiles/<username>/publish \ -H "Authorization: Bearer $BUZZKIT_API_KEY" \ -H "Content-Type: application/json" \ -d '{"expectedRevision": "<revision>"}'
If a step fails
unauthorized: the key is missing, mistyped, revoked or expired. Copy it again from a new key.not_foundon your page: the key may be limited to other pages or another workspace, or you have no role on that page.forbidden: a read-only key, or a viewer or analyst role, tried to change something.rate_limited: wait for the number of seconds inRetry-After.
Every code is listed under Errors.
Where to go next
- Recipes: a weekly report, a page built from a list, agency work across many pages.
- API reference: every endpoint with examples in each language.
AI agents? Read this page as Markdown, or the API as OpenAPI.