# BuzzKit API and MCP: full reference

> Build and manage BuzzKit pages from code (REST) or through an AI assistant (MCP). The dashboard's rules apply unchanged: roles, plan limits, paused pages, draft and publish. 82 operations. Generated from https://buzzkit.app/api/agent/openapi.json.

Human-readable docs: https://buzzkit.app/docs. Short index: https://buzzkit.app/llms.txt.

## Authentication

Send an API key as `Authorization: Bearer bk_live_...` on every request. Make keys in the dashboard under Account, API & MCP (or from a workspace's Settings). A key is shown once; only a fingerprint is stored. Cookies are ignored on the API and MCP.

- A key acts as its user. It never reaches more than that person can: roles, workspace membership, plan standing and suspension are checked on every request.
- Two key levels: **full** (read and write) and **read** (only read-only operations; a read key does not even see write tools over MCP).
- A key may be limited to one workspace, or to a list of profiles. A key limited to a workspace or to profiles cannot use account-wide operations. Anything outside a key's limits answers `not_found`.
- Keys are personal: no other member of a workspace sees yours.
- Edits through the API go to the draft. Only `publish_profile` (or `approve_review`) changes the live page.
- `{profileId}` in a path accepts the profile id or its username.

## Signing in apps (OAuth for the MCP server)

Chat apps such as Claude, ChatGPT and Grok connect to the MCP server by signing in instead of using a key, following the MCP authorization spec (OAuth 2.1).

- Discovery: an unauthenticated MCP request answers 401 with `WWW-Authenticate: Bearer resource_metadata="https://buzzkit.app/.well-known/oauth-protected-resource/mcp"`. Authorization server metadata: https://buzzkit.app/.well-known/oauth-authorization-server.
- Clients: client ID metadata documents (an https `client_id`) or dynamic registration at https://buzzkit.app/api/oauth/register. Public clients only.
- Flow: authorization code with PKCE (S256 only) at https://buzzkit.app/oauth/authorize, tokens at https://buzzkit.app/api/oauth/token, revocation at https://buzzkit.app/api/oauth/revoke. Scope `buzzkit`; resource https://buzzkit.app/mcp.
- The person chooses read and edit or read only, and every page or one workspace. Access tokens last an hour and work only on the MCP server (never the REST API). Refresh tokens rotate; a replayed one disconnects the app.
- Connected apps act as their person like a key, and are listed and disconnected under Account, API & MCP. Sign-in works at https://buzzkit.app/mcp, not at the /api/mcp alias.

## Base URLs

- REST: https://buzzkit.app/api/agent
- MCP (Streamable HTTP, stateless, JSON responses): https://buzzkit.app/mcp (alias https://buzzkit.app/api/mcp)
- OpenAPI 3.1: https://buzzkit.app/api/agent/openapi.json

## Conventions

- JSON only, camelCase, timestamps are ISO 8601 UTC.
- Lists use cursors: `?limit=` (default 50) and `?cursor=`; the answer is `{ "data": [...], "nextCursor": "..." | null }`. Pass `nextCursor` back as `cursor` until it is null.
- PATCH sends only the fields to change.
- Operations that create something accept an `Idempotency-Key` header (8 to 64 characters). A retry with the same key and body returns the first answer with `Idempotent-Replayed: true`. While the server cannot store keys the header is ignored.
- Every response has `X-Request-Id`. Rate limit headers `RateLimit-Policy` and `RateLimit` describe the per-minute budget.
- Analytics are approximate: visitors are hashed and bots are excluded.

## Limits per plan

| Plan | Active API keys | Requests a minute (per key) | Requests a day (per account) |
| --- | --- | --- | --- |
| Free | 1 | 60 | 2,000 |
| Pro | 10 | 300 | 20,000 |
| Agency (per workspace) | 25 | 600 | 100,000 |

- Requests a minute are counted per key, REST and MCP together. Requests a day are counted per account, over all its keys.
- When a call acts on a page or workspace in an Agency workspace, the Agency numbers apply, whichever key is used.
- Some operations have their own budget per account (publishing, inviting, uploads, creating profiles). The dashboard and the API share it: for example invitations are 10 an hour in total.
- Every other limit is the plan's own and applies exactly as in the dashboard: number of profiles, teammates, scheduling (Pro), analytics window. A lapsed plan keeps working for 7 days; paused pages are read-only for their owner (`profile_paused`) and `not_found` for teammates.
- If Redis is unavailable, the per-minute limit still counts (in memory, per server) and the daily total stops counting; no request fails because of it.

## Errors

Every error has the same shape: `{ "error": { "code": "...", "message": "...", "field": "..." } }`. Codes never change meaning. Over MCP the same object is the tool result with `isError: true`.

| Code | HTTP status | When |
| --- | --- | --- |
| `unauthorized` | 401 | The key is missing, malformed, unknown, expired or revoked, or the account is suspended or being deleted. |
| `forbidden` | 403 | The key is read-only for a write, the key is limited to a workspace or pages and cannot use an account-wide tool, or your role on the page does not allow it. |
| `not_found` | 404 | Not in your account, outside the key's limits, or a paused page that you do not own. |
| `validation_failed` | 400 | The input is wrong. `field` names the property. |
| `conflict` | 409 | The state does not allow it: a username is taken, a retry with the same Idempotency-Key is still running, nothing to publish. |
| `revision_conflict` | 409 | The draft changed since `expectedRevision`. Call `get_publish_status` for the new revision and try again. |
| `profile_paused` | 423 | The page is paused because it is over what its plan includes. It is read-only for its owner. |
| `plan_limit` | 402 | The plan does not include it (a scheduled publish, an extra page, a teammate, a longer analytics window). The body adds `limit` and `upgradeUrl`. |
| `rate_limited` | 429 | Over a limit. Wait for `Retry-After` seconds. |
| `unsafe_url` | 422 | The address is not a public http or https URL, or it failed our safety check. |
| `unavailable` | 503 | A dependency is down (storage, email). Try again later. |
| `internal_error` | 500 | Our bug. Quote the `X-Request-Id` header when you contact support. |

`plan_limit` also carries `limit` and `upgradeUrl`. `rate_limited` sets `Retry-After`.

## MCP setup

Put your key in an environment variable named BUZZKIT_API_KEY first.

macOS / Linux:

```sh
# 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_..."
```

PowerShell:

```powershell
# Save the key for new terminals, then for this one
[Environment]::SetEnvironmentVariable("BUZZKIT_API_KEY", "bk_live_...", "User")
$env:BUZZKIT_API_KEY = "bk_live_..."
```

CMD:

```bat
:: Save the key for new terminals, then for this one
setx BUZZKIT_API_KEY "bk_live_..."
set BUZZKIT_API_KEY=bk_live_...
```


### Claude Code

```sh
claude mcp add --transport http buzzkit https://buzzkit.app/mcp --header "Authorization: Bearer $BUZZKIT_API_KEY"
```

### Codex

~/.codex/config.toml

```toml
[mcp_servers.buzzkit]
url = "https://buzzkit.app/mcp"
bearer_token_env_var = "BUZZKIT_API_KEY"
```

### Cursor

.cursor/mcp.json

```json
{
  "mcpServers": {
    "buzzkit": {
      "url": "https://buzzkit.app/mcp",
      "headers": { "Authorization": "Bearer ${env:BUZZKIT_API_KEY}" }
    }
  }
}
```

Ask the assistant to begin with `get_me`, then `list_profiles`. A good routine: edit, `preview_changes`, show the user the difference, ask, then `publish_profile` with `expectedRevision`.

The server speaks `initialize`, `ping`, `tools/list` and `tools/call`. Tools carry annotations: `readOnlyHint`, `idempotentHint`, `destructiveHint`. Tool results have `structuredContent` plus a text summary. Batches are not supported.

## Operations

## Account

### get_me

- Method and path: `GET /me` (under https://buzzkit.app/api/agent)
- MCP tool: `get_me`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Who this key acts as, its plan and its limits.

Returns the account behind the API key, its plan and limits, how this key is restricted and how many requests were made today. Call it first to learn what the key can do.

```sh
curl "https://buzzkit.app/api/agent/me" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### get_overview

- Method and path: `GET /overview` (under https://buzzkit.app/api/agent)
- MCP tool: `get_overview`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Every profile with its views, clicks, new subscribers and what waits on it.

One row per profile the key reaches: its status, whether it is paused by plan standing, views, visitors, clicks and new subscribers for the period and the one before, unread messages, new brand inquiries and pending reviews. Numbers are approximate. Profiles you only have guest access to have no numbers.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `days` | query | integer | no | Length of the period in days. |
| `tz` | query | string | no | IANA time zone that decides where days start, e.g. Europe/Berlin. |

```sh
curl "https://buzzkit.app/api/agent/overview" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

## Billing

### get_plan

- Method and path: `GET /plan` (under https://buzzkit.app/api/agent)
- MCP tool: `get_plan`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

The plan, its limits and the subscriptions behind it.

Read-only. Shows the account plan, limits and subscriptions, and whether buying is open yet. No money moves through the API; use `get_checkout_link` to give a person a link.

```sh
curl "https://buzzkit.app/api/agent/plan" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### get_checkout_link

- Method and path: `POST /plan/checkout-link` (under https://buzzkit.app/api/agent)
- MCP tool: `get_checkout_link`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 200
- Extra limit: 10 calls per minute, per account

Get a checkout link for a person to open.

Makes a hosted checkout link for Pro, Agency or an add-on. A person must open it and pay; nothing is charged by calling this. Agency for a second or later workspace is 20% off every renewal while another Agency workspace pays full price. Refused while paid plans are coming soon. Do not open or share the link without the user asking.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `kind` | body | "pro" \| "agency" \| "extraProfile" \| "extraSeat" | yes | What to buy: `pro`, `agency`, or an add-on (`extraProfile`, `extraSeat`). |
| `interval` | body | "month" \| "year" | no | Monthly or yearly billing, for plans. |
| `quantity` | body | integer | no | How many, for add-ons. |
| `workspaceId` | body | uuid | no | Agency or add-ons for a team workspace. |
| `workspaceName` | body | string | no | Agency only: name of a new workspace to create with the purchase. |

```sh
curl -X POST "https://buzzkit.app/api/agent/plan/checkout-link" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind":"pro"}'
```

## Notifications

### list_notifications

- Method and path: `GET /notifications` (under https://buzzkit.app/api/agent)
- MCP tool: `list_notifications`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List in-app notifications.

Newest first, across every profile the account can reach.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no | How many notifications to return. |
| `cursor` | query | string | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/notifications" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### mark_notifications_read

- Method and path: `POST /notifications/read` (under https://buzzkit.app/api/agent)
- MCP tool: `mark_notifications_read`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Mark notifications as read.

Marks the given notifications as read, or all of them when `ids` is left out.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ids` | body | array of uuid | no | Notification ids to mark read. Leave out to mark all of them. |

```sh
curl -X POST "https://buzzkit.app/api/agent/notifications/read" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ids":[]}'
```

## Profiles

### check_username

- Method and path: `GET /usernames/:username` (under https://buzzkit.app/api/agent)
- MCP tool: `check_username`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200
- Extra limit: 40 calls per minute, per account

Check whether a username is free.

Answers whether the username is valid and not taken. Free at the moment can still be taken by the time you create the profile.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `username` | path | string | yes | The username to check. |

```sh
curl "https://buzzkit.app/api/agent/usernames/<username>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### list_profiles

- Method and path: `GET /profiles` (under https://buzzkit.app/api/agent)
- MCP tool: `list_profiles`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List profiles.

Every profile (link-in-bio page) the key reaches, with your role on it and its plan standing. `standing: inactive` means the page is paused: it is read-only for its owner and closed to everyone else. Use a profile `id` or `username` in the other paths.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no | How many items to return (1 to 200, default 50). |
| `cursor` | query | string | no | The nextCursor of the previous page. |
| `workspaceId` | query | uuid | no | Only profiles in this workspace. |

```sh
curl "https://buzzkit.app/api/agent/profiles" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### create_profile

- Method and path: `POST /profiles` (under https://buzzkit.app/api/agent)
- MCP tool: `create_profile`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 201
- Extra limit: 5 calls per day, per account
- Accepts an `Idempotency-Key` header: a retry returns the first answer instead of creating twice

Create a profile.

Creates a new page. The plan decides how many profiles an account can hold; beyond that the answer is `plan_limit`. Check the username with `check_username` first. Ask the user before creating a page, since usernames are public and unique.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `username` | body | string | yes | The page address: buzzkit.app/<username>. Check it first with `check_username`. |
| `displayName` | body | string | yes | The name at the top of the page. |
| `category` | body | string | no | What the page is about. |
| `workspaceId` | body | uuid | no | Workspace to create it in. Defaults to your personal workspace. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"...","displayName":"My shop"}'
```

### get_profile

- Method and path: `GET /profiles/:profileId` (under https://buzzkit.app/api/agent)
- MCP tool: `get_profile`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Get a profile.

The profile as it is in the draft: name, bio, visibility, design, features and SEO. Edits stay in the draft until `publish_profile`; username, visibility and the page lock are live at once.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### update_profile

- Method and path: `PATCH /profiles/:profileId` (under https://buzzkit.app/api/agent)
- MCP tool: `update_profile`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Update the name, bio, avatar, SEO, username or visibility.

Sends only the fields to change. Name, bio, category, location, avatar, announcement and SEO go to the draft. `username` and `visibility` are live immediately: changing the username breaks every old link to the page and hiding it takes it offline. Ask the user to confirm, then send `confirmLiveChange: true` together with them.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `username` | body | string | no | New username: changes the page address at once and breaks old links. Needs `confirmLiveChange`. |
| `displayName` | body | string | no | The name at the top of the page. |
| `bio` | body | string \| null | no | The short text under the name. |
| `category` | body | string \| null | no | What the page is about, like Musician or Bakery. |
| `location` | body | string \| null | no | A place shown on the page, like Lisbon, Portugal. |
| `avatarUrl` | body | string \| null | no | Profile picture: an address returned by `upload_image`, or null to remove it. |
| `visibility` | body | "published" \| "unpublished" \| "private" | no | `published` (anyone), `unpublished` (only you and your team) or `private`. Changes the live page at once. Needs `confirmLiveChange`. |
| `announcement` | body | string \| null | no | A short notice shown at the top of the page, or null to remove it. |
| `seoTitle` | body | string \| null | no | Title for search engines and link previews. |
| `seoDescription` | body | string \| null | no | Description for search engines and link previews. |
| `setupSkipped` | body | array of string | no | Setup checklist steps the owner chose to skip. |
| `setupDismissed` | body | boolean | no | true hides the setup checklist in the dashboard. |
| `confirmLiveChange` | body | true | no | Required when `username` or `visibility` is sent: the user was asked and agreed. |

```sh
curl -X PATCH "https://buzzkit.app/api/agent/profiles/<profileId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"...","displayName":"My shop"}'
```

### update_profile_features

- Method and path: `PATCH /profiles/:profileId/features` (under https://buzzkit.app/api/agent)
- MCP tool: `update_profile_features`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Update tips, newsletter, media kit, booking and tracking settings.

Sends only the fields to change: tip link, business email behind "Work with me", newsletter, media kit, booking link and tracking pixel ids. Needs the owner or an admin. Goes to the draft.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `tipUrl` | body | string \| null | no | Where the tip button sends visitors, like a Ko-fi page. |
| `tipMessage` | body | string \| null | no | Text on the tip button. |
| `businessEmail` | body | "" \| email \| null | no | Email for brand work. Shown only after a visitor clicks "Work with me", never in the page itself. Needs Pro or Agency to set or change. |
| `newsletterEnabled` | body | boolean | no | true shows the newsletter sign-up on the page. |
| `newsletterHeadline` | body | string \| null | no | Heading above the newsletter sign-up. |
| `mediaKitEnabled` | body | boolean | no | true publishes the media kit page. Needs Pro or Agency to turn on. |
| `mediaKitSummary` | body | string \| null | no | Introduction on the media kit. |
| `mediaKitOffers` | body | array of object | no | What you offer brands, with prices. |
| `mediaKitFollowers` | body | array of object | no | Follower counts per platform for the media kit. |
| `mediaKitShowLinks` | body | boolean | no | true lists your links on the media kit. |
| `metaPixelId` | body | "" \| string \| null | no | Meta pixel id. It loads only for visitors who allow tracking cookies. Needs Pro or Agency to set or change. |
| `tiktokPixelId` | body | "" \| string \| null | no | TikTok pixel id. It loads only for visitors who allow tracking cookies. Needs Pro or Agency to set or change. |
| `ga4Id` | body | "" \| string \| null | no | Google Analytics id, like G-ABC123XYZ. It loads only for visitors who allow tracking cookies. Needs Pro or Agency to set or change. |
| `autoUtm` | body | boolean | no | true adds utm tags to outgoing links so other analytics can see the traffic came from your page. Applies on Pro and Agency. |
| `amazonTag` | body | "" \| string \| null | no | Amazon Associates id, like yourname-20. Added to Amazon links when visitors open them, and those links are labelled affiliate. Needs Pro or Agency, or null to remove it. |
| `redirectUrl` | body | string \| null | no | Send every visitor straight to this web address instead of showing the page (the visit is still counted), or null to show the page. Needs Pro or Agency to set or change. |
| `schedulingProvider` | body | "none" \| "calendly" \| "zoom" \| "googleCalendar" \| "calCom" \| "other" | no | Booking service for the booking button. |
| `schedulingUrl` | body | string \| null | no | Your booking page address on that service. |
| `schedulingLabel` | body | string \| null | no | Text on the booking button. |

```sh
curl -X PATCH "https://buzzkit.app/api/agent/profiles/<profileId>/features" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tipUrl":"https://example.com","tipMessage":"..."}'
```

### list_social_links

- Method and path: `GET /profiles/:profileId/social-links` (under https://buzzkit.app/api/agent)
- MCP tool: `list_social_links`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List the social icons.

The social icons of the profile in the draft, in order.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/social-links" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### set_social_links

- Method and path: `PUT /profiles/:profileId/social-links` (under https://buzzkit.app/api/agent)
- MCP tool: `set_social_links`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Replace the social icons.

Replaces the whole list with the given one, in that order. Send the current list with your change in it to keep the others. Goes to the draft.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `items` | body | array of object | yes | The full list of social icons, in order. Replaces the current list. |

```sh
curl -X PUT "https://buzzkit.app/api/agent/profiles/<profileId>/social-links" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"items":[]}'
```

## API keys

### list_api_keys

- Method and path: `GET /api-keys` (under https://buzzkit.app/api/agent)
- MCP tool: `list_api_keys`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List API keys.

Active keys and recently revoked ones with their level, restriction and last use. The key values are never shown again.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no | How many items to return (1 to 200, default 50). |
| `cursor` | query | string | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/api-keys" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### create_api_key

- Method and path: `POST /api-keys` (under https://buzzkit.app/api/agent)
- MCP tool: `create_api_key`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 201
- Extra limit: 10 calls per hour, per account

Create an API key.

Creates a new key and returns it once. Only an unrestricted full-access key can do this, so a new key never has more reach than the one asking. Give the new key to the user, never log it. Prefer a read key, or one restricted to a workspace or profiles, when it does not need more.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `name` | body | string | yes | Where the key will be used, so you recognise it later. |
| `level` | body | "full" \| "read" | no | `full` or `read`. A key can never have more than the key that makes it. |
| `workspaceId` | body | uuid | no | Limit the key to this workspace. |
| `profileIds` | body | array of uuid | no | Limit the key to these pages. |
| `expiresAt` | body | date-time | no | When the key stops working (ISO 8601, UTC). Leave out for no expiry. |

```sh
curl -X POST "https://buzzkit.app/api/agent/api-keys" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"My shop"}'
```

### revoke_api_key

- Method and path: `DELETE /api-keys/:keyId` (under https://buzzkit.app/api/agent)
- MCP tool: `revoke_api_key`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200

Revoke an API key.

Turns a key off at once. It cannot be turned back on. Confirm with the user first, especially if it is the key making this call.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `keyId` | path | uuid | yes | The API key id, from `list_api_keys`. |

```sh
curl -X DELETE "https://buzzkit.app/api/agent/api-keys/<keyId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

## Workspaces

### list_workspaces

- Method and path: `GET /workspaces` (under https://buzzkit.app/api/agent)
- MCP tool: `list_workspaces`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List workspaces.

Workspaces the key reaches: your personal one and any team or agency workspace you belong to or have a page in.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no | How many items to return (1 to 200, default 50). |
| `cursor` | query | string | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/workspaces" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### get_workspace

- Method and path: `GET /workspaces/:workspaceId` (under https://buzzkit.app/api/agent)
- MCP tool: `get_workspace`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Get a workspace.

One workspace with its member and profile counts and the state of its Agency subscription.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspaceId` | path | uuid | yes | The workspace id. |

```sh
curl "https://buzzkit.app/api/agent/workspaces/<workspaceId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### list_workspace_members

- Method and path: `GET /workspaces/:workspaceId/members` (under https://buzzkit.app/api/agent)
- MCP tool: `list_workspace_members`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List the members of a workspace.

The owner, members and admins, and invitations that nobody has accepted yet (their id starts with `invite-`).

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspaceId` | path | uuid | yes | The workspace id. |
| `limit` | query | integer | no | How many items to return (1 to 200, default 50). |
| `cursor` | query | string | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/workspaces/<workspaceId>/members" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### invite_workspace_member

- Method and path: `POST /workspaces/:workspaceId/members` (under https://buzzkit.app/api/agent)
- MCP tool: `invite_workspace_member`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 201
- Extra limit: 10 calls per hour, per account
- Accepts an `Idempotency-Key` header: a retry returns the first answer instead of creating twice

Invite someone to a workspace.

Sends an email invitation to join the workspace as `admin` or `member`. A `member` sees only the pages listed in `pages`, each with its own role; an `admin` manages every page and takes no list. Only the owner of a page can give its `admin` role. Needs a workspace with Agency; otherwise the answer is `plan_limit`. Ask the user before inviting anyone: it emails a real person. Needs an API key: connected apps cannot give people access.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspaceId` | path | uuid | yes | The workspace id. |
| `email` | body | email | yes | The email address of the person to invite. They get an email with a link to accept. |
| `role` | body | "admin" \| "member" | no | `admin` or `member`. |
| `pages` | body | array of object | no | For a `member`: the pages they get, as `{ profileId, role }` with `admin`, `editor`, `viewer` or `analyst` per page. They wait as invitations until the person joins. |

```sh
curl -X POST "https://buzzkit.app/api/agent/workspaces/<workspaceId>/members" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"jane@example.com"}'
```

### get_workspace_overview

- Method and path: `GET /workspaces/:workspaceId/overview` (under https://buzzkit.app/api/agent)
- MCP tool: `get_workspace_overview`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Totals, trend and top links across a workspace.

Views, visitors, clicks and new subscribers for the pages you can see in the workspace, a daily trend, each page and the top links. Numbers are approximate.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspaceId` | path | uuid | yes | The workspace id. |
| `days` | query | integer | no | Length of the period in days, 1 to 90. |
| `tz` | query | string | no | IANA time zone, like Europe/Lisbon, so daily totals follow local days. Defaults to UTC. |

```sh
curl "https://buzzkit.app/api/agent/workspaces/<workspaceId>/overview" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### update_workspace_member

- Method and path: `PATCH /workspaces/:workspaceId/members/:memberId` (under https://buzzkit.app/api/agent)
- MCP tool: `update_workspace_member`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Change a workspace member role.

Switches a member between `admin` and `member`. An admin has admin access to every page in the workspace. Needs an API key: connected apps cannot give people access.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspaceId` | path | uuid | yes | The workspace id. |
| `memberId` | path | string | yes | The member id, from the members list. |
| `role` | body | "admin" \| "member" | yes | `admin` or `member`. |

```sh
curl -X PATCH "https://buzzkit.app/api/agent/workspaces/<workspaceId>/members/<memberId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"role":"admin"}'
```

### remove_workspace_member

- Method and path: `DELETE /workspaces/:workspaceId/members/:memberId` (under https://buzzkit.app/api/agent)
- MCP tool: `remove_workspace_member`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200

Remove a member or cancel an invitation.

Removes the person from the workspace, or withdraws a pending invitation (`invite-<id>`). They lose access to its pages at once. Confirm with the user first.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspaceId` | path | uuid | yes | The workspace id. |
| `memberId` | path | string | yes | The member id, from the members list. |

```sh
curl -X DELETE "https://buzzkit.app/api/agent/workspaces/<workspaceId>/members/<memberId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

## Design

### get_design

- Method and path: `GET /profiles/:profileId/design` (under https://buzzkit.app/api/agent)
- MCP tool: `get_design`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Get the design.

Colors, fonts, background, button style and layout of the profile in the draft.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/design" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### update_design

- Method and path: `PATCH /profiles/:profileId/design` (under https://buzzkit.app/api/agent)
- MCP tool: `update_design`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Change the design.

Sends only the design fields to change (colors as `#rrggbb`, `fontFamily`, `backgroundType`, `buttonShape` and so on). Goes to the draft; `get_design` shows the valid keys. The answer carries `readability`: whether the colors are easy to read now. It never blocks the change; if something is hard to read, tell the user and offer `match_design_colors`.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `themeKey` | body | string | no | A preset theme to start from. The other fields override parts of it. |
| `backgroundColor` | body | string | no | Page background, as a hex colour like #0f172a. |
| `textColor` | body | string | no | Text colour, as hex. |
| `fontFamily` | body | "inter" \| "serif" \| "mono" \| "rounded" \| "bricolage" \| "poppins" \| "outfit" \| "spaceGrotesk" \| "syne" \| "playfair" \| "dmSerif" \| "fraunces" \| "lora" \| "bebas" \| "caveat" \| "pacifico" \| "jetbrains" \| "jakarta" | no | Font for the page text. |
| `headingFont` | body | "inter" \| "serif" \| "mono" \| "rounded" \| "bricolage" \| "poppins" \| "outfit" \| "spaceGrotesk" \| "syne" \| "playfair" \| "dmSerif" \| "fraunces" \| "lora" \| "bebas" \| "caveat" \| "pacifico" \| "jetbrains" \| "jakarta" \| null | no | Font for the name and headings, or null to use the text font. |
| `backgroundType` | body | "solid" \| "gradient" \| "image" | no | What fills the background: a solid colour, a gradient or an image. |
| `backgroundImage` | body | string \| null | no | Background picture address, or null. |
| `backgroundImageMobile` | body | string \| null | no | Background picture for phones, or null to use the same one. |
| `backgroundOverlay` | body | integer | no | How much to darken a background picture, 0 to 80 percent. |
| `backgroundPattern` | body | "none" \| "dots" \| "grid" \| "noise" \| "mesh" \| "waves" \| "stripes" \| "checker" \| "sunburst" \| "stars" \| "aurora" \| "bubbles" | no | Pattern drawn over the background. |
| `gradientFrom` | body | string | no | Gradient start colour, as hex. |
| `gradientVia` | body | string \| null | no | Optional middle colour, as hex, or null. |
| `gradientTo` | body | string | no | Gradient end colour, as hex. |
| `gradientAngle` | body | integer | no | Gradient direction in degrees, 0 to 360. |
| `gradientKind` | body | "linear" \| "radial" | no | Linear or radial gradient. |
| `buttonColor` | body | string | no | Button colour, as hex. |
| `buttonTextColor` | body | string | no | Button text colour, as hex. |
| `buttonShape` | body | "square" \| "soft" \| "rounded" \| "curvy" \| "pill" \| "leaf" | no | Corner shape of buttons. |
| `buttonStyle` | body | "fill" \| "outline" \| "shadow" \| "soft" \| "glass" \| "threeD" \| "underline" \| "gradient" \| "neon" \| "dashed" \| "gel" | no | Look of the buttons, like fill, outline or glass. |
| `buttonAnimation` | body | "none" \| "lift" \| "pulse" \| "wobble" \| "shine" \| "glow" \| "float" \| "jelly" \| "tilt" \| "breathe" \| "ring" \| "rainbow" | no | Motion on buttons, or none. |
| `buttonShadow` | body | "none" \| "soft" \| "strong" \| "hard" | no | Shadow under buttons. |
| `buttonGradientTo` | body | string \| null | no | Second colour for gradient buttons, or null. |
| `avatarShape` | body | "circle" \| "rounded" \| "square" \| "hidden" | no | Shape of the profile picture. |
| `avatarBorder` | body | boolean | no | true draws a ring around the profile picture. |
| `avatarBorderColor` | body | string | no | Colour of that ring, as hex. |
| `headerAlign` | body | "center" \| "left" | no | Where the name and bio sit. |
| `headerLayout` | body | "classic" \| "hero" \| "banner" | no | Layout of the top of the page. |
| `titleStyle` | body | "text" \| "logo" | no | How the name is shown: text, or a logo. |
| `titleLogoUrl` | body | string \| null | no | Logo picture used as the name, or null. |
| `bannerUrl` | body | string \| null | no | Wide picture across the top, or null. |
| `titleColor` | body | string \| null | no | Colour of the name, as hex, or null to use the text colour. |
| `socialPosition` | body | "top" \| "bottom" | no | Where the social icons go. |
| `linkLayout` | body | "list" \| "grid" | no | Links in a list or a grid. |

```sh
curl -X PATCH "https://buzzkit.app/api/agent/profiles/<profileId>/design" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"themeKey":"...","backgroundColor":"..."}'
```

### check_design_colors

- Method and path: `GET /profiles/:profileId/design/colors/check` (under https://buzzkit.app/api/agent)
- MCP tool: `check_design_colors`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Check the colors are readable.

Says whether the text, title and buttons of the draft design are easy to read, with a plain-words message for each problem to show the user. It uses the same rules as Match colors in the editor, on the draft design. Under a Hero header the photo itself is not checked, so the editor may flag more. A `hard` issue means something is hard to read; an `advisory` one is a soft hint. `fixable` issues can be improved with `match_design_colors`. Changes nothing.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/design/colors/check" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### match_design_colors

- Method and path: `POST /profiles/:profileId/design/colors/match` (under https://buzzkit.app/api/agent)
- MCP tool: `match_design_colors`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200
- Extra limit: 120 calls per hour, per account

Make the colors readable.

Adjusts the colors of the draft design by the least that makes text, title and buttons easy to read. It goes to the draft only, like `update_design`, and is never published. It uses the same rules as Match colors in the editor, on the draft design. Under a Hero header the photo itself is not checked, so the editor may flag more. `changed` lists each color with its old and new value; it is empty, and nothing is written, when nothing needed or could change. `remaining` is what is still hard to read. Tell the user what changed. To go back, send the old values in `changed` (each `from`) to `update_design`, or call `revert_item` with `type: theme` to return the whole design to the live one (that also drops other unpublished design edits, so confirm with the user first). If the design changed while matching, the answer is `conflict` and nothing is written: read it again and retry.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/design/colors/match" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### suggest_design_palettes

- Method and path: `GET /profiles/:profileId/design/colors/palettes` (under https://buzzkit.app/api/agent)
- MCP tool: `suggest_design_palettes`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200
- Extra limit: 300 calls per hour, per account

Suggest color palettes.

Light, Dark, Vivid and Soft color sets built around a brand color, each readable on its own. Without `brandColor` they use the most colorful color of the draft design (`basedOn` says which). It uses the same rules as Match colors in the editor, on the draft design. Under a Hero header the photo itself is not checked, so the editor may flag more. Each palette's `colors` already include the fixes this design needs. This only suggests and changes nothing: to apply a palette, send its `colors` to `update_design`, then call `check_design_colors`, since a few designs cannot be fully fixed.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `brandColor` | query | string | no | A brand color as `#rrggbb` to build the palettes around. Leave out to use the most colorful color of the draft design. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/design/colors/palettes" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### list_saved_designs

- Method and path: `GET /profiles/:profileId/saved-designs` (under https://buzzkit.app/api/agent)
- MCP tool: `list_saved_designs`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List saved designs.

Designs saved from this profile, to reuse later.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `limit` | query | integer | no | How many items to return (1 to 200, default 50). |
| `cursor` | query | string | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/saved-designs" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### save_design

- Method and path: `POST /profiles/:profileId/saved-designs` (under https://buzzkit.app/api/agent)
- MCP tool: `save_design`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 201
- Accepts an `Idempotency-Key` header: a retry returns the first answer instead of creating twice

Save the current design.

Saves the profile's current design under a name. The plan limits how many designs can be saved.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `name` | body | string | yes | Name for the saved design. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/saved-designs" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"My shop"}'
```

### apply_saved_design

- Method and path: `POST /profiles/:profileId/saved-designs/:designId/apply` (under https://buzzkit.app/api/agent)
- MCP tool: `apply_saved_design`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Apply a saved design.

Replaces the draft design with a saved one. The previous design is not kept unless it was saved; use `undo_draft` or `discard_draft` to step back before publishing.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `designId` | path | uuid | yes | The saved design id, from `list_saved_designs`. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/saved-designs/<designId>/apply" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### delete_saved_design

- Method and path: `DELETE /profiles/:profileId/saved-designs/:designId` (under https://buzzkit.app/api/agent)
- MCP tool: `delete_saved_design`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200

Delete a saved design.

Deletes a saved design. Confirm with the user first; it cannot be restored.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `designId` | path | uuid | yes | The saved design id, from `list_saved_designs`. |

```sh
curl -X DELETE "https://buzzkit.app/api/agent/profiles/<profileId>/saved-designs/<designId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

## Team

### list_profile_members

- Method and path: `GET /profiles/:profileId/members` (under https://buzzkit.app/api/agent)
- MCP tool: `list_profile_members`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List the team of a profile.

Members with their role (`admin`, `editor`, `viewer` or `analyst`) and pending invitations (their id starts with `invite-`). Needs the owner or an admin.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `limit` | query | integer | no | How many items to return (1 to 200, default 50). |
| `cursor` | query | string | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/members" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### invite_profile_member

- Method and path: `POST /profiles/:profileId/members` (under https://buzzkit.app/api/agent)
- MCP tool: `invite_profile_member`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 201
- Extra limit: 10 calls per hour, per account
- Accepts an `Idempotency-Key` header: a retry returns the first answer instead of creating twice

Invite someone to a profile.

Gives a person access to this profile as `admin`, `editor`, `viewer` or `analyst`, by email. Sends them an email. The plan limits teammates and the admin role. Ask the user before inviting anyone: it emails a real person. Needs an API key: connected apps cannot give people access.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `email` | body | email | yes | The email address of the person to invite. They get an email with a link to accept. |
| `role` | body | "admin" \| "editor" \| "viewer" \| "analyst" | no | `admin` (Agency only), `editor`, `viewer` or `analyst`. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/members" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"jane@example.com"}'
```

### update_profile_member

- Method and path: `PATCH /profiles/:profileId/members/:memberId` (under https://buzzkit.app/api/agent)
- MCP tool: `update_profile_member`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Change a teammate role.

Changes the role of a member or of a pending invitation. Needs an API key: connected apps cannot give people access.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `memberId` | path | string | yes | The member id, from the members list. |
| `role` | body | "admin" \| "editor" \| "viewer" \| "analyst" | yes | `admin` (Agency only), `editor`, `viewer` or `analyst`. |

```sh
curl -X PATCH "https://buzzkit.app/api/agent/profiles/<profileId>/members/<memberId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"role":"admin"}'
```

### remove_profile_member

- Method and path: `DELETE /profiles/:profileId/members/:memberId` (under https://buzzkit.app/api/agent)
- MCP tool: `remove_profile_member`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200

Remove a teammate or cancel an invitation.

Removes the person from this profile at once, or withdraws a pending invitation. Confirm with the user first.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `memberId` | path | string | yes | The member id, from the members list. |

```sh
curl -X DELETE "https://buzzkit.app/api/agent/profiles/<profileId>/members/<memberId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

## Links

### list_links

- Method and path: `GET /profiles/:profileId/links` (under https://buzzkit.app/api/agent)
- MCP tool: `list_links`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List links and blocks.

Every link and block of the profile in the draft, in page order. A block is a link, text, newsletter, tip, booking, poll, Q&A, group, vCard and other types; `config` holds the settings of the type. The live page changes only on `publish_profile`.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `limit` | query | integer | no | How many items to return (1 to 200, default 50). |
| `cursor` | query | string | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/links" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### create_link

- Method and path: `POST /profiles/:profileId/links` (under https://buzzkit.app/api/agent)
- MCP tool: `create_link`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 201
- Extra limit: 600 calls per hour, per account
- Accepts an `Idempotency-Key` header: a retry returns the first answer instead of creating twice

Add a link or block.

Adds a link (`type: link`, with `title` and `url`) or a block (`text`, `newsletter`, `tip`, `booking`, `poll`, `qna`, `group`, `vcard`, `faq`, `gallery` and others) at the end of the page. Goes to the draft. Unsafe web addresses are refused with `unsafe_url`. Scheduling (`startsAt`, `endsAt`) needs Pro. Some blocks may appear only once, and a few need the owner or an admin.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `title` | body | string | no | Button text for a link, or the heading of a block. Required for links and groups. |
| `url` | body | string | no | Where the link goes. Required for `link`; other block types have no url. |
| `config` | body | object \| null | no | Settings of the block type, such as a text block's `text` or a poll's question and options. Leave out for a plain link. |
| `thumbnailUrl` | body | string \| null | no | A small picture on the button: an address returned by `upload_image` or another https image. |
| `icon` | body | "globe" \| "video" \| "music" \| "mic" \| "camera" \| "image" \| "book" \| "file-text" \| "download" \| "shopping-bag" \| "gift" \| "ticket" \| "calendar" \| "map-pin" \| "briefcase" \| "graduation-cap" \| "heart" \| "star" \| "flame" \| "sparkles" \| "gamepad" \| "code" \| "mail" \| "phone" \| null | no | A built-in icon shown on the button instead of a picture. |
| `isActive` | body | boolean | no | false hides it from the page without deleting it. |
| `isPinned` | body | boolean | no | true keeps it at the top of the page. |
| `isAffiliate` | body | boolean | no | true labels it as an affiliate link for visitors. |
| `width` | body | "full" \| "half" | no | `full` (default) or `half`, to put two buttons side by side. |
| `startsAt` | body | date-time \| "" \| null | no | Show it only from this time (ISO 8601, UTC). Needs Pro or Agency. |
| `endsAt` | body | date-time \| "" \| null | no | Hide it after this time (ISO 8601, UTC). Needs Pro or Agency. |
| `type` | body | "link" \| "shop" \| "booking" \| "tip" \| "newsletter" \| "brand" \| "text" \| "divider" \| "group" \| "vcard" \| "poll" \| "qna" \| "countdown" \| "gallery" \| "faq" \| "testimonials" \| "contact" \| "header" \| "discount" \| "stats" \| "events" \| "feed" \| "shopify" \| "hours" \| "app" \| "book" \| "release" | no | What to add: `link` (default) or a block such as `text`, `newsletter`, `tip`, `booking`, `poll`, `qna`, `brand`, `group`, `vcard`, `app` (App Store and Google Play buttons), `book` (store links for a book) or `release` (countdown to a music release, store links once it is out). |
| `gatePassword` | body | string | no | Password visitors type to open a link whose `config.gate` is `password`. Required with that gate. Never returned. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/links" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"My shop","url":"https://example.com"}'
```

### get_link

- Method and path: `GET /profiles/:profileId/links/:linkId` (under https://buzzkit.app/api/agent)
- MCP tool: `get_link`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Get one link or block.

One link or block as it is in the draft.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `linkId` | path | uuid | yes | The link or block id. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/links/<linkId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### update_link

- Method and path: `PATCH /profiles/:profileId/links/:linkId` (under https://buzzkit.app/api/agent)
- MCP tool: `update_link`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Change a link or block.

Sends only the fields to change. Use `isPinned` to pin, `isActive` to hide or show, `startsAt` and `endsAt` to schedule (Pro). `expectedUpdatedAt` (the `updatedAt` you last read) turns a teammate's edit in between into a `conflict` instead of overwriting it. Goes to the draft.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `linkId` | path | uuid | yes | The link or block id. |
| `title` | body | string | no | New button text or block heading. |
| `url` | body | string | no | New address, for links only. |
| `config` | body | object \| null | no | New settings for the block; send the whole object. |
| `thumbnailUrl` | body | string \| null | no | A picture on the button, or null to remove it. |
| `icon` | body | "globe" \| "video" \| "music" \| "mic" \| "camera" \| "image" \| "book" \| "file-text" \| "download" \| "shopping-bag" \| "gift" \| "ticket" \| "calendar" \| "map-pin" \| "briefcase" \| "graduation-cap" \| "heart" \| "star" \| "flame" \| "sparkles" \| "gamepad" \| "code" \| "mail" \| "phone" \| null | no | A built-in icon, or null to remove it. |
| `isActive` | body | boolean | no | false hides it from the page without deleting it. |
| `isPinned` | body | boolean | no | true keeps it at the top of the page. |
| `isAffiliate` | body | boolean | no | true labels it as an affiliate link. |
| `width` | body | "full" \| "half" | no | `full` or `half`. |
| `startsAt` | body | date-time \| "" \| null | no | Show it only from this time (ISO 8601, UTC), or null. Needs Pro or Agency. |
| `endsAt` | body | date-time \| "" \| null | no | Hide it after this time (ISO 8601, UTC), or null. Needs Pro or Agency. |
| `gatePassword` | body | string | no | New password for a link whose `config.gate` is `password`. Applies at once. Never returned. |
| `shortCode` | body | string | no | New back half of the short address /r/<code>: 3 to 32 lowercase letters, digits or dashes. Applies at once; the old code keeps working. Needs Pro or Agency. |
| `expectedUpdatedAt` | body | date-time | no | The `updatedAt` you read. If someone changed the link since, the answer is `conflict` instead of overwriting their change. |

```sh
curl -X PATCH "https://buzzkit.app/api/agent/profiles/<profileId>/links/<linkId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"My shop","url":"https://example.com"}'
```

### delete_link

- Method and path: `DELETE /profiles/:profileId/links/:linkId` (under https://buzzkit.app/api/agent)
- MCP tool: `delete_link`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200

Remove a link or block.

Removes the link or block from the draft; the live page keeps it until publish. Confirm with the user first. `revert_item` can bring it back before publishing.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `linkId` | path | uuid | yes | The link or block id. |

```sh
curl -X DELETE "https://buzzkit.app/api/agent/profiles/<profileId>/links/<linkId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### reorder_links

- Method and path: `PUT /profiles/:profileId/links/order` (under https://buzzkit.app/api/agent)
- MCP tool: `reorder_links`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Set the order of links and blocks.

Sends the ids in the order they should appear. Ids left out keep their place after the listed ones. Goes to the draft.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `ids` | body | array of uuid | yes | Every link and block id of the page, in the new order. |

```sh
curl -X PUT "https://buzzkit.app/api/agent/profiles/<profileId>/links/order" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ids":[]}'
```

### duplicate_link

- Method and path: `POST /profiles/:profileId/links/:linkId/duplicate` (under https://buzzkit.app/api/agent)
- MCP tool: `duplicate_link`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 201
- Accepts an `Idempotency-Key` header: a retry returns the first answer instead of creating twice

Duplicate a link or block.

Copies a link or block next to the original. Goes to the draft.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `linkId` | path | uuid | yes | The link or block id. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/links/<linkId>/duplicate" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### lookup_link_metadata

- Method and path: `GET /profiles/:profileId/link-metadata` (under https://buzzkit.app/api/agent)
- MCP tool: `lookup_link_metadata`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200
- Extra limit: 30 calls per minute, per account

Look up the title and picture of a web address.

Fetches the page title and share picture of a web address, to start a new link with a name. Nothing is saved. Unsafe addresses answer with empty fields.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `url` | query | uri | yes | The address to look up. Returns its title and picture, to fill a new link. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/link-metadata?url=https://example.com" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

## Products

### list_products

- Method and path: `GET /profiles/:profileId/products` (under https://buzzkit.app/api/agent)
- MCP tool: `list_products`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List products.

The digital products of the profile in the draft. Checkout happens on the seller's own site through `checkoutUrl`.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `limit` | query | integer | no | How many items to return (1 to 200, default 50). |
| `cursor` | query | string | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/products" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### create_product

- Method and path: `POST /profiles/:profileId/products` (under https://buzzkit.app/api/agent)
- MCP tool: `create_product`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 201
- Accepts an `Idempotency-Key` header: a retry returns the first answer instead of creating twice

Add a product.

Adds a digital product with an external checkout address. `priceCents` is in minor units. Goes to the draft.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `title` | body | string | yes | Product name. |
| `description` | body | string \| null | no | What the buyer gets. |
| `type` | body | "ebook" \| "template" \| "course" \| "download" \| "other" | no | Kind of product, like ebook or template. |
| `priceCents` | body | integer | no | Price in minor units: 1500 is 15.00. 0 for free. |
| `currency` | body | string | no | Three-letter currency code, like USD. |
| `checkoutUrl` | body | string | yes | Where the buy button sends people: your shop or payment page. |
| `coverImageUrl` | body | string \| null | no | Product picture address. |
| `isActive` | body | boolean | no | false hides it without deleting it. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/products" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"My shop","checkoutUrl":"https://example.com"}'
```

### get_product

- Method and path: `GET /profiles/:profileId/products/:productId` (under https://buzzkit.app/api/agent)
- MCP tool: `get_product`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Get one product.

One product as it is in the draft.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `productId` | path | uuid | yes | The product id. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/products/<productId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### update_product

- Method and path: `PATCH /profiles/:profileId/products/:productId` (under https://buzzkit.app/api/agent)
- MCP tool: `update_product`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Change a product.

Sends only the fields to change. Goes to the draft.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `productId` | path | uuid | yes | The product id. |
| `title` | body | string | no | Product name. |
| `description` | body | string \| null | no | What the buyer gets. |
| `type` | body | "ebook" \| "template" \| "course" \| "download" \| "other" | no | Kind of product. |
| `priceCents` | body | integer | no | Price in minor units: 1500 is 15.00. |
| `currency` | body | string | no | Three-letter currency code. |
| `checkoutUrl` | body | string | no | Where the buy button sends people. |
| `coverImageUrl` | body | string \| null | no | Product picture address, or null. |
| `isActive` | body | boolean | no | false hides it without deleting it. |

```sh
curl -X PATCH "https://buzzkit.app/api/agent/profiles/<profileId>/products/<productId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"My shop","description":"..."}'
```

### delete_product

- Method and path: `DELETE /profiles/:profileId/products/:productId` (under https://buzzkit.app/api/agent)
- MCP tool: `delete_product`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200

Remove a product.

Removes the product from the draft. Confirm with the user first.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `productId` | path | uuid | yes | The product id. |

```sh
curl -X DELETE "https://buzzkit.app/api/agent/profiles/<profileId>/products/<productId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### record_manual_sale

- Method and path: `POST /profiles/:profileId/products/:productId/sales` (under https://buzzkit.app/api/agent)
- MCP tool: `record_manual_sale`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 200
- Extra limit: 30 calls per minute, per account
- Accepts an `Idempotency-Key` header: a retry returns the first answer instead of creating twice

Record a sale by hand.

Counts one sale of a product in the analytics, for shops that cannot report it themselves (Pro). Without `orderRef` one is made up, so each call counts. Ask the user before recording a sale.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `productId` | path | uuid | yes | The product id. |
| `orderRef` | body | string | no | Your own order number. The same number is never counted twice. |
| `amountCents` | body | integer | no | Amount paid in minor units. Defaults to the product price. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/products/<productId>/sales" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"orderRef":"...","amountCents":1500}'
```

## Publish

### get_publish_status

- Method and path: `GET /profiles/:profileId/publish` (under https://buzzkit.app/api/agent)
- MCP tool: `get_publish_status`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Is there anything to publish?.

Whether the draft differs from the live page, its `revision`, when it was last published, any schedule, and visitor data that publishing would delete. Edits through the API go to the draft and reach the public page only after `publish_profile`.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/publish" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### publish_profile

- Method and path: `POST /profiles/:profileId/publish` (under https://buzzkit.app/api/agent)
- MCP tool: `publish_profile`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200
- Extra limit: 30 calls per hour, per account

Publish the draft.

Makes the draft the live page. Everyone who visits sees it at once. Call `preview_changes`, show the user what will change, and ask them to confirm before publishing. Pass the `revision` from `get_publish_status` as `expectedRevision`: if the draft changed since, the answer is `revision_conflict` and nothing is published. Editors on a profile that requires approval cannot publish.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `expectedRevision` | body | string | yes | The draft revision the user was shown. |
| `acknowledgeDataLoss` | body | boolean | no | Set only after the user agreed that removed poll and Q&A blocks take their votes and questions with them. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/publish" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"expectedRevision":"<revision from get_publish_status>"}'
```

### preview_changes

- Method and path: `GET /profiles/:profileId/publish/changes` (under https://buzzkit.app/api/agent)
- MCP tool: `preview_changes`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

What would change if the draft were published.

The difference between the draft and the live page: each added, updated, removed or moved item with the fields before and after. Show it to the user before publishing.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/publish/changes" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### schedule_publish

- Method and path: `PUT /profiles/:profileId/publish/schedule` (under https://buzzkit.app/api/agent)
- MCP tool: `schedule_publish`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200

Schedule the draft to go live.

Sets this exact draft to publish at a future time (within a year). Needs Pro. If the draft changes afterwards, the schedule will not publish it (`scheduleStale`). Confirm the time with the user first.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `at` | body | date-time | yes | When to publish, ISO 8601 UTC. |

```sh
curl -X PUT "https://buzzkit.app/api/agent/profiles/<profileId>/publish/schedule" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"at":"2026-12-01T09:00:00Z"}'
```

### cancel_scheduled_publish

- Method and path: `DELETE /profiles/:profileId/publish/schedule` (under https://buzzkit.app/api/agent)
- MCP tool: `cancel_scheduled_publish`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Cancel the scheduled publish.

Removes the schedule. The draft stays as it is.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |

```sh
curl -X DELETE "https://buzzkit.app/api/agent/profiles/<profileId>/publish/schedule" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### discard_draft

- Method and path: `POST /profiles/:profileId/publish/discard` (under https://buzzkit.app/api/agent)
- MCP tool: `discard_draft`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200

Throw away the draft and go back to the live page.

Replaces every unpublished change with the live page. `undo_draft` can bring the draft back for ten minutes. Confirm with the user first.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/publish/discard" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### undo_draft

- Method and path: `POST /profiles/:profileId/publish/undo` (under https://buzzkit.app/api/agent)
- MCP tool: `undo_draft`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 200

Undo a discard.

Brings back the draft that `discard_draft` replaced, while nothing was edited since and within ten minutes.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/publish/undo" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### revert_item

- Method and path: `POST /profiles/:profileId/publish/revert` (under https://buzzkit.app/api/agent)
- MCP tool: `revert_item`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200

Put one item back to how the live page has it.

Reverts one part of the draft (`profile`, `theme`, `features`, `socials`, or a `block` or `product` by id) to the live version. Unpublished edits to that part are lost. Confirm with the user first.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `type` | body | "profile" \| "theme" \| "features" \| "socials" \| "block" \| "product" | yes | What to put back to its live version: `profile`, `theme`, `features`, `socials`, a `block` or a `product`. |
| `id` | body | uuid | no | Required for `block` and `product`, and only for them. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/publish/revert" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"profile"}'
```

## Reviews

### list_reviews

- Method and path: `GET /profiles/:profileId/reviews` (under https://buzzkit.app/api/agent)
- MCP tool: `list_reviews`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List review requests.

Whether the profile needs approval before editors publish, the pending review request if any and the ten most recent ones. Use `preview_changes` for what the draft would change.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/reviews" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### request_review

- Method and path: `POST /profiles/:profileId/reviews` (under https://buzzkit.app/api/agent)
- MCP tool: `request_review`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 201
- Extra limit: 30 calls per hour, per account
- Accepts an `Idempotency-Key` header: a retry returns the first answer instead of creating twice

Ask an owner or admin to review the draft.

For editors on a profile that requires approval: asks the managers to review the current draft, which emails and notifies them. Owners and admins publish directly instead. Ask the user before sending it.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `message` | body | string | no | A note for the reviewer. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/reviews" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message":"..."}'
```

### list_review_comments

- Method and path: `GET /profiles/:profileId/reviews/:reviewId/comments` (under https://buzzkit.app/api/agent)
- MCP tool: `list_review_comments`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List the comments on a review.

The discussion on one review request, oldest first. Anyone on the profile team can read it.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `reviewId` | path | uuid | yes | The review request id. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/reviews/<reviewId>/comments" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### comment_on_review

- Method and path: `POST /profiles/:profileId/reviews/:reviewId/comments` (under https://buzzkit.app/api/agent)
- MCP tool: `comment_on_review`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 201
- Extra limit: 60 calls per hour, per account
- Accepts an `Idempotency-Key` header: a retry returns the first answer instead of creating twice

Comment on a review.

Adds a comment to a review request. It notifies the requester and the managers. Comments cannot be edited or removed, so write what the user meant.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `reviewId` | path | uuid | yes | The review request id. |
| `body` | body | string | yes | The text of the comment. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/reviews/<reviewId>/comments" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"..."}'
```

### approve_review

- Method and path: `POST /profiles/:profileId/reviews/:reviewId/approve` (under https://buzzkit.app/api/agent)
- MCP tool: `approve_review`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200
- Extra limit: 30 calls per hour, per account

Approve a review and publish it.

Approving publishes the draft to the live page at once. Needs an owner or admin of the profile. Call `preview_changes`, show the user what will go live, confirm with them, then pass its `revision` as `expectedRevision`: if the draft changed since, the answer is `revision_conflict` and nothing is published or approved.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `reviewId` | path | uuid | yes | The review request id. |
| `note` | body | string | no | Optional note for the person who asked. |
| `expectedRevision` | body | string | yes | The draft revision the user was shown. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/reviews/<reviewId>/approve" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"expectedRevision":"<revision from get_publish_status>"}'
```

### reject_review

- Method and path: `POST /profiles/:profileId/reviews/:reviewId/reject` (under https://buzzkit.app/api/agent)
- MCP tool: `reject_review`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 200

Send a review back with what to fix.

Rejects the pending review. The note is required and is sent to the editor, so say what needs to change. Needs an owner or admin. Nothing is published.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `reviewId` | path | uuid | yes | The review request id. |
| `note` | body | string | yes | Why it is rejected, so the person can fix it. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/reviews/<reviewId>/reject" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"note":"..."}'
```

## Analytics

### get_analytics_summary

- Method and path: `GET /profiles/:profileId/analytics/summary` (under https://buzzkit.app/api/agent)
- MCP tool: `get_analytics_summary`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Views, clicks and subscribers for a period.

Totals for the period and the equally long one before it. Approximate: visitors are hashed, never identified, and bots are excluded. Use `days` (7, 30, 90 or 365) and `offset` to step back, or `from` and `to` (YYYY-MM-DD) for exact days. The plan limits how far back the numbers go.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `days` | query | integer | no | Length of the period in days: 7, 30, 90 or 365. |
| `offset` | query | integer | no | How many whole periods to step back from the latest one, to look at older data. 0 is the latest. |
| `tz` | query | string | no | IANA time zone, like Europe/Lisbon, so daily totals follow local days. Defaults to UTC. |
| `from` | query | string | no | First day to include, as YYYY-MM-DD. With `to`, replaces `days`. |
| `to` | query | string | no | Last day to include, as YYYY-MM-DD. |
| `all` | query | "0" \| "1" \| "true" \| "false" | no | true for the whole history your plan allows, instead of a period. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/analytics/summary" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### get_analytics_timeseries

- Method and path: `GET /profiles/:profileId/analytics/timeseries` (under https://buzzkit.app/api/agent)
- MCP tool: `get_analytics_timeseries`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Views and clicks per day and per hour of day.

Daily views and clicks across the period, and views by hour of the day. Approximate: visitors are hashed, never identified, and bots are excluded. Use `days` (7, 30, 90 or 365) and `offset` to step back, or `from` and `to` (YYYY-MM-DD) for exact days. The plan limits how far back the numbers go.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `days` | query | integer | no | Length of the period in days: 7, 30, 90 or 365. |
| `offset` | query | integer | no | How many whole periods to step back from the latest one, to look at older data. 0 is the latest. |
| `tz` | query | string | no | IANA time zone, like Europe/Lisbon, so daily totals follow local days. Defaults to UTC. |
| `from` | query | string | no | First day to include, as YYYY-MM-DD. With `to`, replaces `days`. |
| `to` | query | string | no | Last day to include, as YYYY-MM-DD. |
| `all` | query | "0" \| "1" \| "true" \| "false" | no | true for the whole history your plan allows, instead of a period. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/analytics/timeseries" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### get_top_links

- Method and path: `GET /profiles/:profileId/analytics/top-links` (under https://buzzkit.app/api/agent)
- MCP tool: `get_top_links`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Most clicked links and products.

Clicks per link and product for the period, with the previous period for comparison and sales for products. Approximate: visitors are hashed, never identified, and bots are excluded. Use `days` (7, 30, 90 or 365) and `offset` to step back, or `from` and `to` (YYYY-MM-DD) for exact days. The plan limits how far back the numbers go.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `days` | query | integer | no | Length of the period in days: 7, 30, 90 or 365. |
| `offset` | query | integer | no | How many whole periods to step back from the latest one, to look at older data. 0 is the latest. |
| `tz` | query | string | no | IANA time zone, like Europe/Lisbon, so daily totals follow local days. Defaults to UTC. |
| `from` | query | string | no | First day to include, as YYYY-MM-DD. With `to`, replaces `days`. |
| `to` | query | string | no | Last day to include, as YYYY-MM-DD. |
| `all` | query | "0" \| "1" \| "true" \| "false" | no | true for the whole history your plan allows, instead of a period. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/analytics/top-links" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### get_traffic_sources

- Method and path: `GET /profiles/:profileId/analytics/sources` (under https://buzzkit.app/api/agent)
- MCP tool: `get_traffic_sources`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Where visitors came from.

Referrers, channels, UTM sources, mediums and campaigns, and devices (Pro). Detail older than the retention window is not available (`detailLimited`). Approximate: visitors are hashed, never identified, and bots are excluded. Use `days` (7, 30, 90 or 365) and `offset` to step back, or `from` and `to` (YYYY-MM-DD) for exact days. The plan limits how far back the numbers go.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `days` | query | integer | no | Length of the period in days: 7, 30, 90 or 365. |
| `offset` | query | integer | no | How many whole periods to step back from the latest one, to look at older data. 0 is the latest. |
| `tz` | query | string | no | IANA time zone, like Europe/Lisbon, so daily totals follow local days. Defaults to UTC. |
| `from` | query | string | no | First day to include, as YYYY-MM-DD. With `to`, replaces `days`. |
| `to` | query | string | no | Last day to include, as YYYY-MM-DD. |
| `all` | query | "0" \| "1" \| "true" \| "false" | no | true for the whole history your plan allows, instead of a period. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/analytics/sources" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### get_countries

- Method and path: `GET /profiles/:profileId/analytics/countries` (under https://buzzkit.app/api/agent)
- MCP tool: `get_countries`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Where visitors are.

Views by country, region and city, when the network provided them (Pro). Approximate: visitors are hashed, never identified, and bots are excluded. Use `days` (7, 30, 90 or 365) and `offset` to step back, or `from` and `to` (YYYY-MM-DD) for exact days. The plan limits how far back the numbers go.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `days` | query | integer | no | Length of the period in days: 7, 30, 90 or 365. |
| `offset` | query | integer | no | How many whole periods to step back from the latest one, to look at older data. 0 is the latest. |
| `tz` | query | string | no | IANA time zone, like Europe/Lisbon, so daily totals follow local days. Defaults to UTC. |
| `from` | query | string | no | First day to include, as YYYY-MM-DD. With `to`, replaces `days`. |
| `to` | query | string | no | Last day to include, as YYYY-MM-DD. |
| `all` | query | "0" \| "1" \| "true" \| "false" | no | true for the whole history your plan allows, instead of a period. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/analytics/countries" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

## Audience

### list_subscribers

- Method and path: `GET /profiles/:profileId/subscribers` (under https://buzzkit.app/api/agent)
- MCP tool: `list_subscribers`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List email subscribers.

People who joined through a newsletter block, with the date they confirmed. Contains email addresses: treat them as personal data and do not copy them anywhere the user did not ask for.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `limit` | query | integer | no | How many items to return (1 to 200, default 50). |
| `cursor` | query | string | no | The nextCursor of the previous page. |
| `q` | query | string | no | Search in the email and name. |
| `from` | query | string | no | Joined on or after this date (YYYY-MM-DD or ISO). |
| `to` | query | string | no | Joined on or before this date. |
| `sort` | query | "newest" \| "oldest" \| "email_asc" \| "email_desc" | no | Order of the list. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/subscribers" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### delete_subscriber

- Method and path: `DELETE /profiles/:profileId/subscribers/:subscriberId` (under https://buzzkit.app/api/agent)
- MCP tool: `delete_subscriber`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200

Delete a subscriber.

Deletes the subscriber and their consent record for good. Confirm with the user first.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `subscriberId` | path | uuid | yes | The subscriber id, from `list_subscribers`. |

```sh
curl -X DELETE "https://buzzkit.app/api/agent/profiles/<profileId>/subscribers/<subscriberId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### list_contact_messages

- Method and path: `GET /profiles/:profileId/contact-messages` (under https://buzzkit.app/api/agent)
- MCP tool: `list_contact_messages`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List messages sent through a contact block.

Newest first. Visitors wrote these to the page owner: treat names and email addresses as personal data.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `limit` | query | integer | no | How many items to return (1 to 200, default 50). |
| `cursor` | query | string | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/contact-messages" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### mark_message_read

- Method and path: `POST /profiles/:profileId/contact-messages/:messageId/read` (under https://buzzkit.app/api/agent)
- MCP tool: `mark_message_read`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Mark a message as read.

Marks one contact message as read.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `messageId` | path | uuid | yes | The message id, from `list_contact_messages`. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/contact-messages/<messageId>/read" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### delete_contact_message

- Method and path: `DELETE /profiles/:profileId/contact-messages/:messageId` (under https://buzzkit.app/api/agent)
- MCP tool: `delete_contact_message`
- Key level: full (a full-access key only)
- Annotations: Permanent. Check with the user first
- Success status: 200

Delete a contact message.

Deletes the message for good. Confirm with the user first.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `messageId` | path | uuid | yes | The message id, from `list_contact_messages`. |

```sh
curl -X DELETE "https://buzzkit.app/api/agent/profiles/<profileId>/contact-messages/<messageId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### list_brand_inquiries

- Method and path: `GET /profiles/:profileId/brand-inquiries` (under https://buzzkit.app/api/agent)
- MCP tool: `list_brand_inquiries`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List "Work with me" requests.

Brand and collaboration requests with their status, newest first. Contains names and email addresses: treat them as personal data.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `limit` | query | integer | no | How many items to return (1 to 200, default 50). |
| `cursor` | query | string | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/brand-inquiries" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### update_brand_inquiry

- Method and path: `PATCH /profiles/:profileId/brand-inquiries/:inquiryId` (under https://buzzkit.app/api/agent)
- MCP tool: `update_brand_inquiry`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Set the status of a brand request.

Moves a request between `new`, `inProgress`, `accepted`, `declined` and `archived`. It does not reply to the sender.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `inquiryId` | path | uuid | yes | The inquiry id, from `list_brand_inquiries`. |
| `status` | body | "new" \| "inProgress" \| "accepted" \| "declined" \| "archived" | yes | Where the inquiry stands, as on the Audience screen. |

```sh
curl -X PATCH "https://buzzkit.app/api/agent/profiles/<profileId>/brand-inquiries/<inquiryId>" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"new"}'
```

### get_poll_results

- Method and path: `GET /profiles/:profileId/links/:linkId/poll-results` (under https://buzzkit.app/api/agent)
- MCP tool: `get_poll_results`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

Votes of a poll block.

Votes and percentages for each option of a poll block. `linkId` is the poll block id from `list_links`.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `linkId` | path | uuid | yes | The poll block id. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/links/<linkId>/poll-results" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### list_questions

- Method and path: `GET /profiles/:profileId/questions` (under https://buzzkit.app/api/agent)
- MCP tool: `list_questions`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List questions from Q&A blocks.

Everything visitors asked on the profile's Q&A blocks, newest first, answered or not. Names are whatever the visitor typed: treat them as personal data.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `limit` | query | integer | no | How many items to return (1 to 100, default 30). |
| `cursor` | query | uuid | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/questions" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

### answer_question

- Method and path: `PUT /profiles/:profileId/questions/:questionId/answer` (under https://buzzkit.app/api/agent)
- MCP tool: `answer_question`
- Key level: full (a full-access key only)
- Annotations: Repeatable
- Success status: 200

Answer a visitor question.

Sets the public answer to a question; it shows on the live page at once, without publishing. Confirm the wording with the user first. Send `answer: null` to take it back (the question stops being shown). Needs an owner or admin.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `questionId` | path | uuid | yes | The question id, from `list_questions`. |
| `answer` | body | string \| null | yes | The answer shown under the question on the public page. |

```sh
curl -X PUT "https://buzzkit.app/api/agent/profiles/<profileId>/questions/<questionId>/answer" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"answer":"..."}'
```

## Uploads

### upload_image

- Method and path: `POST /profiles/:profileId/uploads` (under https://buzzkit.app/api/agent)
- MCP tool: `upload_image`
- Key level: full (a full-access key only)
- Annotations: Makes changes
- Success status: 201
- Extra limit: 60 calls per hour, per account
- Accepts an `Idempotency-Key` header: a retry returns the first answer instead of creating twice

Upload an image.

Stores a JPG or PNG for this profile and returns its public `url`, to use as an avatar, thumbnail, background or product image. Send `url` (a public address we download) or `base64` with `contentType`. Up to 10 MB; the pixels are re-encoded and metadata dropped. Uploaded files are kept even when the page stops using them. Ask the user before uploading a file they did not name.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `kind` | body | "avatar" \| "thumbnail" \| "background" \| "product" | no | What the image is for: `avatar`, `thumbnail`, `background` or `product`. |
| `url` | body | string | no | A public http(s) address of a JPG or PNG. We download it (up to 10 MB). |
| `base64` | body | string | no | The image bytes as standard base64 (no data: prefix). Up to 10 MB of file. |
| `contentType` | body | "image/jpeg" \| "image/png" | no | Required with `base64`: `image/jpeg` or `image/png`. |

```sh
curl -X POST "https://buzzkit.app/api/agent/profiles/<profileId>/uploads" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind":"avatar","url":"https://example.com"}'
```

### list_uploads

- Method and path: `GET /profiles/:profileId/uploads` (under https://buzzkit.app/api/agent)
- MCP tool: `list_uploads`
- Key level: read (a read-only key may call it)
- Annotations: Reads only
- Success status: 200

List uploaded images.

Files uploaded for this profile, newest first, with whether the page still uses each one. Files are never deleted: `inUse: false` only means nothing shows them.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileId` | path | string | yes | The profile id or username. |
| `limit` | query | integer | no | How many items to return (1 to 100, default 50). |
| `cursor` | query | uuid | no | The nextCursor of the previous page. |

```sh
curl "https://buzzkit.app/api/agent/profiles/<profileId>/uploads" \
  -H "Authorization: Bearer $BUZZKIT_API_KEY"
```

