# BurstPage documentation

> Publish, update and measure a website with your AI, MCP, the CLI or the API.

BurstPage is a headless static website publisher for pages built with AI. Publish landing pages, funnels and private dashboards through compatible MCP, API or CLI tools.

Last reviewed 2026-11-20.

## Publishing workflow

1. **Build something useful.** Choose a template or ask your AI to create a static website with index.html and its assets. Give it your real offer, audience, brand and one clear action.
2. **Connect the AI you work with.** Create a BurstPage workspace. Add https://burstpage.com/mcp in a compatible remote MCP client, sign in and review its requested permissions. Open the workspace’s Connect your AI page for available setup options.
3. **Publish and check the result.** Ask your connected AI to create a website, prepare and upload its files, publish the release and check the publication job. A completed job produces a hosted HTTPS address. Choose public or private access deliberately.
4. **Make the next version better.** Read page and path traffic, review private form responses and update the relevant path. Retain neighboring pages, or restore an earlier published release when needed.

## Use your AI

In BurstPage, open Connect your AI and choose your client. Approve the workspace and scopes you want it to use. Start with a template or give the AI your own brief. Ask it to confirm the address and visibility before publishing. In Customize, select All websites to set shared defaults or choose a website to set its own guidance. Website guidance takes precedence when it differs from shared defaults.

> Build a photography portfolio with a gallery and a booking form. Publish it on BurstPage and send me the link.

[Open AI setup](https://burstpage.com/workspace/connect) · [Browse templates](https://burstpage.com/templates)

## MCP

Add the BurstPage remote Streamable HTTP endpoint to a compatible MCP client. Review and approve OAuth access. Client setup varies with the client and workspace.

Endpoint: `https://burstpage.com/mcp`

Example setup in Codex

```sh
codex mcp add burstpage --url https://burstpage.com/mcp
codex mcp login burstpage
```

Before drafting pages for an existing website, call get_site. It returns saved workspaceCustomization and siteCustomization when the connection and role allow editing. The full MCP server also has get_site_customization for reading individual website guidance. For a first release, create_site prepares the website, prepare_release returns checksum-bound upload URLs, publish_release queues publication, and get_job confirms completion. For later changes, use the current revision in prepare_path_release to preserve neighboring pages. Use get_analytics for traffic. The full MCP connection exposes list_submissions for private, paginated lead responses when permitted.

[OAuth discovery](https://burstpage.com/.well-known/oauth-protected-resource/mcp)

## CLI

Open Connect your AI → API & CLI to create a scoped credential. Keep it local and out of prompts, source control and published files.

If you have the BurstPage Python client, save a local JSON file with apiUrl, workspaceId and token. Restrict the file to mode 0600. Run publishing-guidance SITE_ID before drafting for an existing website when the credential permits writing sites. Use the current site revision and a unique request key for each new release. The publish command returns a job. Check its status before sharing the site link.

```sh
python3 platform/client.py --config ./burstpage.json sites
python3 platform/client.py --config ./burstpage.json publishing-guidance SITE_ID
python3 platform/client.py --config ./burstpage.json publish SITE_ID ./dist --revision CURRENT_REVISION --key portfolio-release-1
python3 platform/client.py --config ./burstpage.json analytics SITE_ID
```

Use `--path /quiz/` on a publish to update just that path.

## Deploy from GitHub Actions

Use GitHub Actions to publish finished static files from a repository to a BurstPage website or one named path. Publishing through your AI or the workspace remains available.

[Download the GitHub workflow](https://burstpage.com/downloads/burstpage.yml) · [Download the Python client](https://burstpage.com/downloads/burstpage-client.py)

1. Save the workflow as .github/workflows/burstpage.yml and the Python client as .github/burstpage-client.py in the repo that holds the website. The sample uses main. Update both branch checks if you use a different branch.
2. Open Connect your AI → API & CLI in BurstPage. Create a credential with sites:read and sites:write and add it as the BURSTPAGE_TOKEN repository secret in GitHub. Keep track of its expiry so you can rotate it.
3. Add repository variables BURSTPAGE_WORKSPACE_ID and BURSTPAGE_SITE_ID. Set BURSTPAGE_OUTPUT_DIR to a subdirectory with a finished index.html, such as dist. Add your build steps before publishing if the site needs a build.
4. Set BURSTPAGE_TARGET to a named path such as /quiz/ to retain neighboring pages, or site to replace the complete file bundle for a Git-owned website. Treat Git as the source of changes for the destination you select.
5. Merge to the configured branch and run Publish to BurstPage from the Actions tab. Once the test succeeds, set BURSTPAGE_AUTO_PUBLISH to true to publish on pushes to that branch.

A successful run reports the completed BurstPage job and revision. Rerunning a workflow checks the same publish job if it was already queued. For a new release, start a fresh run. Path updates retain omitted files. Use a dedicated site target if your build needs to replace old output files.

## REST API

Base URL is https://burstpage.com. Create a scoped API credential under Connect your AI → API & CLI and store it in a local environment variable.

Use the workspace ID bound to your token in X-Workspace-Id. The token and your workspace role must both authorize the listed scope. Get workspace and site IDs from /v1/me and the workspace’s sites endpoint.

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

Send application/json for JSON bodies. GET and DELETE requests have no body. Browser form submissions, private viewers, signed uploads and OAuth have their own headers, shown on those endpoints.

```sh
curl -fsS https://burstpage.com/v1/workspaces/WORKSPACE_ID/sites \
  -H "Authorization: Bearer $BURSTPAGE_TOKEN" \
  -H "X-Workspace-Id: WORKSPACE_ID"
```

For a new website, create the draft, prepare a release, upload the returned files, queue publish, and poll the job. Fetch the website again to confirm the live address. For a full-site update, send the full collection of files. For one path, use a path release.

Response examples use sample values. Responses can include additional fields or list entries based on the request, plan and resource.

### Errors and retries

400 means invalid fields or request format. 401 means sign-in or credential required. 403 means insufficient permissions or an invalid origin. 404 means the resource is missing or unavailable to your credential. 409 means a conflict, such as a stale revision or reused request key. Refresh the resource before starting a new operation. 429 can mean a plan limit or too many requests. A plan_limit error includes planLimit with the metric, used, limit, required, currentPlan, recommendedPlan and billingUrl. For throttling, wait and retry with backoff. Non-2xx API responses normally include error and message.

```json
{
  "error": "plan_limit",
  "message": "Your website allowance is full.",
  "planLimit": {
    "metric": "sites",
    "used": 1,
    "limit": 1,
    "required": 2,
    "currentPlan": "trial",
    "recommendedPlan": "launch",
    "billingUrl": "https://burstpage.com/workspace/billing?workspace=WORKSPACE_ID&plan=launch"
  }
}
```

Published forms and checkout use the exact HTTPS Origin of the site. Browser preflight OPTIONS requests use that same Origin and Access-Control-Request-Method: POST. An allowed preflight returns 204 and the allowed origin, methods and Content-Type header.

Sign-in callbacks, viewer session setup and Stripe webhooks are managed by BurstPage and its providers. App clients should use the supported credential, publication and billing operations here.

### Service and account

#### GET /health

Check whether the API is responding.

**Access:** Public

**Headers**

```text
No headers required.
```

**Request body**

No request body.

**Response**

200 · {ok, service, version}.

```json
{
  "ok": true,
  "service": "burstpage-platform",
  "version": "0.2.0"
}
```

#### GET /v1/config

Read public service capabilities.

**Access:** Public

**Headers**

```text
No headers required.
```

**Request body**

No request body.

**Response**

200 · {appOrigin, mcpUrl, hostingSuffix, domainReady, domainProvisioningEnabled, customerDomainsPrepared, billingReady, billingConfigured, paidPlans, googleSheetsPicker, signupEnabled, maxFileBytes}.

```json
{
  "appOrigin": "https://burstpage.com",
  "mcpUrl": "https://burstpage.com/mcp",
  "hostingSuffix": "my.burstpage.com",
  "domainReady": true,
  "domainProvisioningEnabled": true,
  "customerDomainsPrepared": true,
  "billingReady": true,
  "billingConfigured": true,
  "paidPlans": [
    {
      "id": "launch",
      "monthlyCents": 900,
      "annualCents": 9000,
      "limits": {
        "sites": 3
      },
      "available": true
    }
  ],
  "googleSheetsPicker": null,
  "signupEnabled": true,
  "maxFileBytes": 4194304
}
```

#### GET /v1/me

Find your authenticated user and accessible workspaces.

**Access:** Signed-in user or scoped bearer token

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
```

**Request body**

No request body.

**Response**

200 · {user: {id, email}, workspaces: [{id, name, role, plan, limits, …}]}.

```json
{
  "user": {
    "id": "USER_ID",
    "email": "owner@example.com"
  },
  "workspaces": [
    {
      "id": "WORKSPACE_ID",
      "name": "My workspace",
      "role": "owner",
      "plan": "trial",
      "limits": {
        "sites": 1,
        "pages": 4
      }
    }
  ]
}
```

### Workspaces and billing

#### GET /v1/workspaces/{workspaceId}/sites

List accessible websites, or choose a specific list or usage view.

**Access:** sites:read by default

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Parameters:** check=capacity checks for an available website slot (sites:write). include=archived returns archived websites (sites:write). include=data-sources adds metadata about connected sources (data:read plus sites:read). include=views aggregates the last 30 calendar days (analytics:read plus sites:read). Use one modifier.

**Request body**

No request body.

**Response**

200 · website summaries by default. capacity returns {available: true}. views returns a map of website IDs to pageview counts.

```json
[
  {
    "id": "SITE_ID",
    "workspaceId": "WORKSPACE_ID",
    "name": "Portfolio",
    "hostname": "studio-portfolio.my.burstpage.com",
    "visibility": "public",
    "revision": 2,
    "state": "live",
    "releaseId": "RELEASE_ID"
  }
]
```

#### POST /v1/workspaces/{workspaceId}/sites

Create a draft website.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "name": "Portfolio",
  "visibility": "public",
  "hostLabel": "studio-portfolio",
  "idempotencyKey": "portfolio-create-1"
}
```

name and idempotencyKey are required strings. hostLabel is optional. visibility accepts public or private and defaults to private. Set it explicitly to public on Free. Set templateId when creating a draft from the BurstPage catalog.

**Response**

201 · website summary with id, name, hostname if assigned, visibility and revision.

```json
{
  "id": "SITE_ID",
  "workspaceId": "WORKSPACE_ID",
  "name": "Portfolio",
  "hostname": "studio-portfolio.my.burstpage.com",
  "visibility": "public",
  "revision": 0,
  "state": "draft"
}
```

#### POST /v1/workspaces/{workspaceId}/templates/{templateId}/install

Start a draft from a catalog template.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "name": "Product launch",
  "visibility": "public",
  "idempotencyKey": "product-drop-create-1"
}
```

Pass a catalog template ID. Premium templates such as product-drop require a paid workspace. Prepare and upload the template files as a draft release after creating the website.

**Response**

201 · draft website summary. Premium templates also seed a private Brand Guide.

```json
{
  "id": "SITE_ID",
  "workspaceId": "WORKSPACE_ID",
  "name": "Portfolio",
  "hostname": "studio-portfolio.my.burstpage.com",
  "visibility": "public",
  "revision": 0,
  "state": "draft"
}
```

#### GET /v1/workspaces/{workspaceId}/onboarding

Check whether the workspace has connected AI or published.

**Access:** sites:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · {connected: boolean, published: boolean}.

```json
{
  "connected": true,
  "published": false
}
```

#### GET /v1/workspaces/{workspaceId}/members

List workspace members and roles.

**Access:** members:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · array of member records with userId, workspaceId, email and role.

```json
[
  {
    "userId": "USER_ID",
    "workspaceId": "WORKSPACE_ID",
    "email": "editor@example.com",
    "role": "editor",
    "createdAt": 1795190400
  }
]
```

#### DELETE /v1/workspaces/{workspaceId}/members/{userId}

Remove a workspace member and revoke access.

**Access:** members:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · {removed: true}. The workspace owner cannot be removed.

```json
{
  "removed": true
}
```

#### POST /v1/workspaces/{workspaceId}/invites

Create an email-bound invitation link for a new member.

**Access:** members:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "email": "editor@example.com",
  "role": "editor"
}
```

email is required. role accepts admin, editor or viewer and defaults to viewer.

**Response**

201 · {inviteUrl, expiresIn, delivery}. Share the private link yourself.

```json
{
  "inviteUrl": "https://burstpage.com/workspace/invite?token=INVITATION_TOKEN",
  "expiresIn": 604800,
  "delivery": "Copy this private invitation link and share it with the intended person."
}
```

#### POST /v1/invitations/accept

Accept an invitation for the signed-in, verified email.

**Access:** Authenticated invitee

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
Content-Type: application/json
```

**Request body**

```json
{
  "token": "INVITATION_TOKEN"
}
```

**Response**

200 · the new workspace membership.

```json
{
  "userId": "USER_ID",
  "workspaceId": "WORKSPACE_ID",
  "email": "editor@example.com",
  "role": "editor",
  "createdAt": 1795190400
}
```

#### GET /v1/workspaces/{workspaceId}/connections

List API credentials and OAuth connections visible to you.

**Access:** sites:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · array of connection metadata including id, label, scopes, expiresAt and revoked. expiresAt is null for credentials without an expiration date. Owners and admins can see other members’ connections.

```json
[
  {
    "id": "TOKEN_ID",
    "userId": "USER_ID",
    "workspaceId": "WORKSPACE_ID",
    "label": "Reporting integration",
    "scopes": [
      "sites:read",
      "analytics:read"
    ],
    "expiresAt": 1797782400,
    "createdAt": 1795190400,
    "revoked": false
  }
]
```

#### POST /v1/workspaces/{workspaceId}/connections

Issue a scoped API credential.

**Access:** sites:read plus every requested scope

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "label": "Reporting integration",
  "scopes": [
    "sites:read",
    "analytics:read"
  ],
  "days": 30
}
```

All fields are optional. days defaults to 30. Set days to 0 for a credential without an expiration date. Other values are clamped to 1–365. If scopes are omitted the default is sites:read, sites:write and analytics:read.

**Response**

201 · {token, connection}. The raw token is returned at creation.

```json
{
  "token": "BURSTPAGE_TOKEN",
  "connection": {
    "id": "TOKEN_ID",
    "userId": "USER_ID",
    "workspaceId": "WORKSPACE_ID",
    "label": "Reporting integration",
    "scopes": [
      "sites:read",
      "analytics:read"
    ],
    "expiresAt": 1797782400,
    "createdAt": 1795190400,
    "revoked": false
  }
}
```

#### DELETE /v1/workspaces/{workspaceId}/connections/{tokenId}

Revoke your own connection or one you manage.

**Access:** sites:read plus connection ownership, admin or owner role

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · {revoked: true}.

```json
{
  "revoked": true
}
```

#### GET /v1/workspaces/{workspaceId}/usage

Read plan, monthly counters and remaining allowances.

**Access:** billing:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · {month, plan, billing, counters, storedBytes, siteCount, connectorCount, limits, trafficMeasurement, note}.

```json
{
  "month": "2026-11",
  "plan": "trial",
  "billing": {
    "status": "unsubscribed",
    "cancelAtPeriodEnd": false,
    "periodEnd": null
  },
  "counters": {
    "publishes": 1
  },
  "storedBytes": 4096,
  "siteCount": 1,
  "connectorCount": 0,
  "limits": {
    "sites": 1,
    "pages": 4
  },
  "trafficMeasurement": "gateway",
  "note": "Pageviews are estimates."
}
```

#### GET /v1/workspaces/{workspaceId}/journey

Read server-confirmed milestones and saved campaign labels.

**Access:** analytics:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · {milestones, attribution, synthetic, note}.

```json
{
  "milestones": {
    "signup": 1795190400
  },
  "attribution": {
    "utm_source": "newsletter"
  },
  "synthetic": false,
  "note": "Server-confirmed milestones with self-reported campaign context."
}
```

#### PUT /v1/workspaces/{workspaceId}/journey

Save campaign attribution labels if none have been saved.

**Access:** analytics:read and workspace owner

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "attribution": {
    "utm_source": "newsletter",
    "utm_medium": "email",
    "utm_campaign": "spring-portfolio"
  }
}
```

Use an attribution object with strings of 1–120 characters for utm_source, utm_medium, utm_campaign, utm_content, utm_term or funnel. Labels add context and do not establish causation.

**Response**

200 · the current journey report.

```json
{
  "milestones": {
    "signup": 1795190400
  },
  "attribution": {
    "utm_source": "newsletter"
  },
  "synthetic": false,
  "note": "Server-confirmed milestones with self-reported campaign context."
}
```

#### POST /v1/workspaces/{workspaceId}/billing/checkout

Create an owner-authorized link to Stripe Checkout or the existing subscription portal.

**Access:** billing:manage

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "plan": "launch",
  "interval": "year"
}
```

Use launch, scale or grow when available. The defaults are plan launch and interval month. Use interval year for yearly billing when /v1/config includes annualCents. Check the current plan after Stripe confirms payment.

**Response**

200 · {url}. The user reviews payment in Stripe.

```json
{
  "url": "https://checkout.stripe.com/c/pay/CHECKOUT_SESSION"
}
```

#### POST /v1/workspaces/{workspaceId}/billing/portal

Open the Stripe portal for an existing workspace subscription.

**Access:** billing:manage

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{}
```

**Response**

200 · {url}. An active billing relationship is required.

```json
{
  "url": "https://billing.stripe.com/p/session/PORTAL_SESSION"
}
```

### Websites and page settings

#### GET /v1/sites/{siteId}

Get the current website, revision and release.

**Access:** sites:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · a website summary with id, workspaceId, name, visibility, revision, state, releaseId and hostname when available.

```json
{
  "id": "SITE_ID",
  "workspaceId": "WORKSPACE_ID",
  "name": "Portfolio",
  "hostname": "studio-portfolio.my.burstpage.com",
  "visibility": "public",
  "revision": 2,
  "state": "live",
  "releaseId": "RELEASE_ID"
}
```

#### PUT /v1/sites/{siteId}

Rename an active or archived website without changing its address.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "name": "Mara Ellis Studio"
}
```

name is a nonempty string of up to 160 characters.

**Response**

200 · the updated website summary.

```json
{
  "id": "SITE_ID",
  "workspaceId": "WORKSPACE_ID",
  "name": "Mara Ellis Studio",
  "hostname": "studio-portfolio.my.burstpage.com",
  "visibility": "public",
  "revision": 2,
  "state": "live",
  "releaseId": "RELEASE_ID"
}
```

#### GET /v1/sites/{siteId}/address

Check availability of a BurstPage address for this website.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Parameters:** label is the proposed hosted subdomain label, without .my.burstpage.com.

**Request body**

No request body.

**Response**

200 · {hostname, available: true}. 409 address_taken if the label is taken.

```json
{
  "hostname": "mara-ellis-studio.my.burstpage.com",
  "available": true
}
```

#### PUT /v1/sites/{siteId}/address

Change the website’s BurstPage address.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "hostLabel": "mara-ellis-studio"
}
```

hostLabel is the label only. Use DNS-safe letters, digits or hyphens.

**Response**

200 · the updated website summary.

```json
{
  "id": "SITE_ID",
  "workspaceId": "WORKSPACE_ID",
  "name": "Portfolio",
  "hostname": "mara-ellis-studio.my.burstpage.com",
  "visibility": "public",
  "revision": 2,
  "state": "live",
  "releaseId": "RELEASE_ID"
}
```

#### GET /v1/sites/{siteId}/paths

List published pages, disabled pages when authorized, and redirects.

**Access:** sites:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · {siteId, revision, pages, disabledPages, redirects, pageUsage}. Each page includes its path, file, visibility and URLs.

```json
{
  "siteId": "SITE_ID",
  "revision": 2,
  "pages": [
    {
      "path": "/quiz/",
      "file": "quiz/index.html",
      "visibility": "public",
      "publishedAt": 1795190400,
      "visibilityOverride": "inherit",
      "urls": [
        "https://studio-portfolio.my.burstpage.com/quiz/"
      ]
    }
  ],
  "disabledPages": [],
  "redirects": {},
  "pageUsage": {
    "used": 2,
    "limit": 4
  }
}
```

#### GET /v1/sites/{siteId}/preview

Fetch a sanitized HTML preview for a page.

**Access:** sites:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Parameters:** path is a URL path such as /quiz/.

**Request body**

No request body.

**Response**

200 · {html}.

```json
{
  "html": "<h1>Portfolio</h1>"
}
```

#### PUT /v1/sites/{siteId}/status

Enable, disable, archive, unarchive or delete an entire website.

**Access:** sites:write. Deletion also requires access:write and the owner role.

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "status": "disabled"
}
```

status accepts enabled, disabled, archived, unarchived or deleted. Unarchiving restores the last published release under the current plan and saved access settings.

**Response**

200 · {status}.

```json
{
  "status": "disabled"
}
```

#### POST /v1/sites/{siteId}/archive

Archive a website.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{}
```

**Response**

200 · {archived: true}.

```json
{
  "archived": true
}
```

#### PUT /v1/sites/{siteId}/page-status

Enable, disable or delete an individual published HTML page.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "file": "quiz/index.html",
  "status": "disabled",
  "expectedRevision": 2
}
```

file is the HTML file in the release. status accepts published, disabled or deleted. expectedRevision is a required integer. A deleted path needs a new release to return.

**Response**

200 · {status, revision}.

```json
{
  "status": "disabled",
  "revision": 3
}
```

#### PUT /v1/sites/{siteId}/page-visibility

Set or remove an individual page visibility override.

**Access:** access:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "file": "quiz/index.html",
  "visibility": "private",
  "expectedRevision": 2
}
```

visibility accepts public, private, password or inherit. expectedRevision is the current website revision. For password, send a 12–128 character password and keep the page and its files in their own folder. Setting a new password ends existing password sessions. Keep the password out of URLs, code, and logs.

**Response**

200 · {visibility, visibilityOverride, revision}. An effective private setting requires a paid plan.

```json
{
  "visibility": "private",
  "visibilityOverride": "private",
  "revision": 3
}
```

#### POST /v1/sites/{siteId}/privacy

Queue a change to the website’s default visibility.

**Access:** access:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "visibility": "private",
  "expectedRevision": 2,
  "idempotencyKey": "portfolio-private-1"
}
```

visibility accepts public or private. Private publishing requires a paid plan. Supply the current integer revision and a request key.

**Response**

202 · job with id and status. Poll the jobs endpoint. Explicit per-page overrides remain in effect.

```json
{
  "id": "JOB_ID",
  "siteId": "SITE_ID",
  "kind": "privacy",
  "status": "queued"
}
```

#### PUT /v1/sites/{siteId}/access

Set workspace-wide or restricted viewer access for the website.

**Access:** access:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "accessMode": "restricted",
  "viewerIds": [
    "VIEWER_USER_ID"
  ]
}
```

accessMode accepts workspace (default) or restricted. viewerIds is an optional array of existing workspace member IDs, up to 100.

**Response**

200 · {accessMode, viewerIds}.

```json
{
  "accessMode": "restricted",
  "viewerIds": [
    "VIEWER_USER_ID"
  ]
}
```

#### GET /v1/sites/{siteId}/tracking

Read website-wide tracking settings and plan availability.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · {available, settings}.

```json
{
  "available": true,
  "settings": {
    "metaPixelId": "",
    "captureUtm": false,
    "sharedJavascript": ""
  }
}
```

#### PUT /v1/sites/{siteId}/tracking

Update tracking for all published public HTML pages on a paid website.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "metaPixelId": "123456789012345",
  "captureUtm": true,
  "sharedJavascript": ""
}
```

Changes apply on future page loads without republishing. Omitted settings are preserved. Send empty strings or false to turn individual settings off. Shared JavaScript accepts up to 8 KiB without script tags and runs on public page loads. Manage consent for any tracking your code adds. BurstPage applies visitor preferences to its built-in tracking. UTM values stay in that browser session and are available as window.burstpageCampaign. MCP: get_site_tracking and update_site_tracking. CLI: tracking SITE_ID and set-tracking SITE_ID --body-file settings.json.

**Response**

200 · {available, settings}. Free returns plan_limit with an upgrade link.

```json
{
  "available": true,
  "settings": {
    "metaPixelId": "123456789012345",
    "captureUtm": true,
    "sharedJavascript": ""
  }
}
```

#### GET /v1/sites/{siteId}/tracking/meta

Read the server-side Meta Lead connection.

**Access:** integrations:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · {available, pixelId, datasetId, connected, hasSavedToken, revision}.

```json
{
  "available": true,
  "pixelId": "123456789012345",
  "datasetId": "",
  "connected": false,
  "hasSavedToken": false,
  "revision": 0
}
```

#### PUT /v1/sites/{siteId}/tracking/meta

Enable or pause server-side Lead events for opted-in website visitors.

**Access:** integrations:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "enabled": true,
  "expectedRevision": 0
}
```

Save the Meta Pixel ID first. Supply accessToken when connecting or rotating a token through REST. The dashboard and CLI can also save it securely. MCP: get_site_meta_conversions and set_site_meta_conversions use the saved token. CLI: meta-conversions SITE_ID and set-meta-conversions SITE_ID --revision REVISION --prompt-token. Meta receives a Lead only after a supported form is accepted and the visitor allows ad measurement. The browser and server use the same event ID. For purchases through a third-party checkout, use its verified payment integration.

**Response**

200 · Connection status and revision. Saved tokens are never returned.

```json
{
  "available": true,
  "pixelId": "123456789012345",
  "datasetId": "123456789012345",
  "connected": true,
  "hasSavedToken": true,
  "revision": 1
}
```

#### PUT /v1/sites/{siteId}/redirects

Replace all redirect rules or update one exact path.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "path": "/old-quiz/",
  "redirect": {
    "to": "/quiz/",
    "status": 302,
    "preserveQuery": true
  }
}
```

For one path, send path and redirect. Set redirect to null to remove it. To replace all rules, send a redirects array of {from, to, status, preserveQuery} instead. Use relative site paths or HTTPS destinations. status defaults to 302 and accepts 301, 302, 307 or 308. preserveQuery defaults to true.

**Response**

200 · {redirects}, keyed by source path.

```json
{
  "redirects": {
    "/old-quiz/": {
      "to": "/quiz/",
      "status": 302,
      "preserveQuery": true
    }
  }
}
```

### Releases and publishing

#### GET /v1/sites/{siteId}/releases

List immutable releases for a website.

**Access:** sites:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · array of release records with id, status, files, size and revision context.

```json
[
  {
    "id": "RELEASE_ID",
    "siteId": "SITE_ID",
    "workspaceId": "WORKSPACE_ID",
    "status": "published",
    "files": [
      {
        "path": "index.html",
        "size": 40,
        "sha256": "837f22b19d3040b52bb4720af86326b8b52b5359837ba16c28a6476e5b554b6e"
      }
    ],
    "size": 40,
    "preparedRevision": 2
  }
]
```

#### POST /v1/sites/{siteId}/releases

Prepare a complete release and reserve upload URLs.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "idempotencyKey": "portfolio-files-1",
  "files": [
    {
      "path": "index.html",
      "size": 40,
      "sha256": "837f22b19d3040b52bb4720af86326b8b52b5359837ba16c28a6476e5b554b6e"
    }
  ]
}
```

For each file, path is a relative string, size is an integer byte count and sha256 is a 64-character lowercase hex string. A website release needs index.html. Each release allows 1,000 files, 4 MiB per file and 50 MiB total. Set optional private to true for an asset that should only be served through a controlled delivery link. The sample checksum and size describe the 40-byte file <!doctype html><title>Portfolio</title> followed by one LF. Calculate both values from the exact bytes you upload. A full website release replaces the complete site after publication. For a live private site, optional mediaCollection identifies a file-only pack. After publication, serve its files from /__dtl/media/{releaseId}/{path} on the private site origin. Replacing the same collection retires the previous URLs.

**Response**

201 · {release: {id, files, status, …}, uploads: [{path, url, headers}]}.

```json
{
  "release": {
    "id": "RELEASE_ID",
    "siteId": "SITE_ID",
    "workspaceId": "WORKSPACE_ID",
    "status": "uploading",
    "files": [
      {
        "path": "index.html",
        "size": 40,
        "sha256": "837f22b19d3040b52bb4720af86326b8b52b5359837ba16c28a6476e5b554b6e"
      }
    ],
    "size": 40,
    "preparedRevision": 2
  },
  "uploads": [
    {
      "url": "https://example.com/SIGNED_UPLOAD_URL",
      "path": "index.html",
      "headers": {
        "Content-Type": "text/html",
        "If-None-Match": "*",
        "x-amz-checksum-sha256": "CHECKSUM_FROM_RESPONSE",
        "x-amz-tagging": "visibility=private",
        "x-amz-meta-cache-tag": "site:SITE_ID"
      }
    }
  ]
}
```

#### POST /v1/sites/{siteId}/path-releases

Prepare a path update while retaining neighboring pages.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "path": "/quiz/",
  "expectedRevision": 2,
  "idempotencyKey": "quiz-files-1",
  "files": [
    {
      "path": "index.html",
      "size": 40,
      "sha256": "837f22b19d3040b52bb4720af86326b8b52b5359837ba16c28a6476e5b554b6e"
    }
  ],
  "removePaths": []
}
```

Pass path, the current integer expectedRevision, a request key and files. File paths and optional removePaths are relative to path. The inherited site plus new files must satisfy the full manifest limits.

**Response**

201 · {release, uploads}. Uploads contains only files that must be sent.

```json
{
  "release": {
    "id": "RELEASE_ID",
    "siteId": "SITE_ID",
    "workspaceId": "WORKSPACE_ID",
    "status": "uploading",
    "files": [
      {
        "path": "index.html",
        "size": 40,
        "sha256": "837f22b19d3040b52bb4720af86326b8b52b5359837ba16c28a6476e5b554b6e"
      },
      {
        "path": "quiz/index.html",
        "size": 40,
        "sha256": "837f22b19d3040b52bb4720af86326b8b52b5359837ba16c28a6476e5b554b6e"
      }
    ],
    "size": 80,
    "preparedRevision": 2,
    "baseRevision": 2
  },
  "uploads": [
    {
      "url": "https://example.com/SIGNED_UPLOAD_URL",
      "path": "quiz/index.html",
      "headers": {
        "Content-Type": "text/html",
        "If-None-Match": "*",
        "x-amz-checksum-sha256": "CHECKSUM_FROM_RESPONSE",
        "x-amz-tagging": "visibility=private",
        "x-amz-meta-cache-tag": "site:SITE_ID"
      }
    }
  ]
}
```

#### PUT {uploads[].url}

Upload a prepared file directly to its signed URL.

**Access:** Signed upload URL

**Headers**

```text
Content-Type: VALUE_FROM_RESPONSE
If-None-Match: *
x-amz-checksum-sha256: VALUE_FROM_RESPONSE
x-amz-tagging: VALUE_FROM_RESPONSE
x-amz-meta-cache-tag: VALUE_FROM_RESPONSE
```

**Request body**

```text
Exact file bytes
```

Use every header in uploads[].headers exactly as returned. Send the raw file at its original length. The URL expires after 15 minutes, so upload promptly.

**Response**

Storage returns a successful 2xx response when the file is saved. A 412 can mean the immutable key already has a file. Publication validates the bytes and checksum.

```http
HTTP/1.1 200 OK
ETag: "OBJECT_ETAG"
```

#### POST /v1/sites/{siteId}/publish

Queue a prepared release or restore a prior published release.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "releaseId": "RELEASE_ID",
  "expectedRevision": 2,
  "idempotencyKey": "portfolio-publish-1"
}
```

All three fields are required. Use the current integer revision. Reuse the same key and body after an interrupted request. A new operation needs a new key.

**Response**

202 · {id, status, siteId, kind, …}. Use id to poll the jobs endpoint.

```json
{
  "id": "JOB_ID",
  "siteId": "SITE_ID",
  "kind": "publish",
  "status": "queued"
}
```

#### GET /v1/sites/{siteId}/jobs/{jobId}

Poll a publication or privacy job.

**Access:** sites:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · status is queued, complete or failed. Complete includes revision. A failure includes error and may include planLimit. Check the website’s hostname after publication completes.

```json
{
  "id": "JOB_ID",
  "siteId": "SITE_ID",
  "kind": "publish",
  "status": "complete",
  "revision": 3
}
```

### Custom domains

#### GET /v1/sites/{siteId}/domains

List the website’s domain claims and DNS instructions.

**Access:** sites:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · array of domain records including domain, status and records.

```json
[
  {
    "domain": "www.example.com",
    "siteId": "SITE_ID",
    "workspaceId": "WORKSPACE_ID",
    "status": "ownership-pending",
    "challenge": "OWNERSHIP_CHALLENGE",
    "records": [
      {
        "type": "TXT",
        "name": "_burstpage.www.example.com",
        "value": "burstpage-verification=OWNERSHIP_CHALLENGE"
      },
      {
        "type": "CNAME",
        "name": "www.example.com",
        "value": "ROUTING_TARGET.cloudfront.net"
      }
    ]
  }
]
```

#### POST /v1/sites/{siteId}/domains

Start a claim for a domain you control.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "domain": "www.example.com"
}
```

Use a hostname without scheme, port, or path.

**Response**

201 · claim with domain, status, challenge and records with type, name and value. Enter the returned records with your DNS provider.

```json
{
  "domain": "www.example.com",
  "siteId": "SITE_ID",
  "workspaceId": "WORKSPACE_ID",
  "status": "ownership-pending",
  "challenge": "OWNERSHIP_CHALLENGE",
  "records": [
    {
      "type": "TXT",
      "name": "_burstpage.www.example.com",
      "value": "burstpage-verification=OWNERSHIP_CHALLENGE"
    },
    {
      "type": "CNAME",
      "name": "www.example.com",
      "value": "ROUTING_TARGET.cloudfront.net"
    }
  ]
}
```

#### GET /v1/sites/{siteId}/domains/{domain}

Read the latest saved status of one domain claim.

**Access:** sites:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · saved claim and DNS instructions.

```json
{
  "domain": "www.example.com",
  "siteId": "SITE_ID",
  "workspaceId": "WORKSPACE_ID",
  "status": "ownership-pending",
  "challenge": "OWNERSHIP_CHALLENGE",
  "records": [
    {
      "type": "TXT",
      "name": "_burstpage.www.example.com",
      "value": "burstpage-verification=OWNERSHIP_CHALLENGE"
    },
    {
      "type": "CNAME",
      "name": "www.example.com",
      "value": "ROUTING_TARGET.cloudfront.net"
    }
  ]
}
```

#### PUT /v1/sites/{siteId}/domains/{domain}

Correct an unverified domain claim before provisioning.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "domain": "go.example.com",
  "expectedChallenge": "CURRENT_CHALLENGE"
}
```

The path contains the previous domain. The replacement body contains the new domain and the exact challenge from the existing unverified record.

**Response**

200 · replacement claim and DNS instructions.

```json
{
  "domain": "go.example.com",
  "siteId": "SITE_ID",
  "workspaceId": "WORKSPACE_ID",
  "status": "ownership-pending",
  "challenge": "OWNERSHIP_CHALLENGE",
  "records": [
    {
      "type": "TXT",
      "name": "_burstpage.go.example.com",
      "value": "burstpage-verification=OWNERSHIP_CHALLENGE"
    },
    {
      "type": "CNAME",
      "name": "go.example.com",
      "value": "ROUTING_TARGET.cloudfront.net"
    }
  ]
}
```

#### POST /v1/sites/{siteId}/domains/{domain}

Check ownership and advance HTTPS provisioning.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{}
```

**Response**

200 · status such as ownership-pending, provisioning or ready. Add the required DNS records and check again before sending traffic.

```json
{
  "domain": "www.example.com",
  "siteId": "SITE_ID",
  "workspaceId": "WORKSPACE_ID",
  "status": "provisioning",
  "challenge": "OWNERSHIP_CHALLENGE",
  "records": [
    {
      "type": "TXT",
      "name": "_burstpage.www.example.com",
      "value": "burstpage-verification=OWNERSHIP_CHALLENGE"
    },
    {
      "type": "CNAME",
      "name": "www.example.com",
      "value": "ROUTING_TARGET.cloudfront.net"
    }
  ]
}
```

### GitHub publishing

#### GET /v1/sites/{siteId}/github

Read the GitHub connection and last deployment.

**Access:** sites:write and access:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

Use connection.revision when deploying or disconnecting. Full MCP tool get_github_publishing. CLI command github-status SITE_ID.

**Response**

200 · {installUrl, connection, deployment}. Connection and deployment may be null.

```json
{
  "installUrl": "https://github.com/apps/burstpage-publisher/installations/new",
  "connection": {
    "repo": "owner/repo",
    "branch": "main",
    "folder": "dist",
    "target": "/quiz/",
    "automatic": false,
    "revision": "REVISION"
  },
  "deployment": null
}
```

#### POST /v1/sites/{siteId}/github/connect

Prepare or update a GitHub connection.

**Access:** sites:write and access:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "repo": "owner/repo",
  "branch": "main",
  "folder": "dist",
  "target": "/quiz/",
  "automatic": false
}
```

Send {} for guided setup or supply all four settings to prefill the browser review. Authorize on GitHub and review the publishing destination. Automatic publishing defaults to false. Full MCP tool configure_github_publishing. CLI command github-connect SITE_ID.

**Response**

200 · {url, requiresBrowserApproval, expiresAt}. Open the link within ten minutes using the same BurstPage account.

```json
{
  "url": "https://burstpage.com/workspace/pages?workspace=WORKSPACE_ID&site=SITE_ID&githubSetup=REQUEST",
  "requiresBrowserApproval": true,
  "expiresAt": 1795190400
}
```

#### POST /v1/sites/{siteId}/github/deploy

Publish the connected branch to its configured destination.

**Access:** sites:write and access:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "revision": "REVISION"
}
```

Full MCP tool deploy_github. CLI command github-deploy SITE_ID --revision REVISION.

**Response**

202 · {queued: true}. Read the last deployment with GET.

```json
{
  "queued": true
}
```

#### POST /v1/sites/{siteId}/github/disconnect

Stop syncing the connected repository.

**Access:** sites:write and access:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "revision": "REVISION"
}
```

Full MCP tool disconnect_github. CLI command github-disconnect SITE_ID --revision REVISION.

**Response**

200 · {connected: false}. Published files stay available.

```json
{
  "connected": false
}
```

### Email and CRM integrations

#### GET /v1/sites/{siteId}/email-delivery

Read provider settings for a website’s email workflow.

**Access:** integrations:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

Full MCP tool get_email_delivery. CLI command email-delivery SITE_ID.

**Response**

200 · {connection, revision, providers, forms}. Provider keys are omitted.

```json
{
  "connection": null,
  "revision": 0,
  "providers": [
    {
      "id": "brevo",
      "name": "Brevo"
    }
  ],
  "forms": [
    "quiz"
  ]
}
```

#### PUT /v1/sites/{siteId}/email-delivery

Connect a BurstPage form to a provider-managed workflow.

**Access:** integrations:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "mode": "provider",
  "provider": "brevo",
  "formId": "quiz",
  "target": "42",
  "expectedRevision": 0
}
```

Target is a Brevo list ID, HubSpot form ID, or Resend/Postmark template ID or alias. HubSpot also needs accountId, and Postmark needs senderEmail. Use apiKey over HTTPS for a new key, or the CLI set-email-delivery SITE_ID --body-file settings.json --prompt-key. The full MCP tool set_email_delivery uses the saved key.

**Response**

200 · saved settings. Send enabled false with the current revision to disconnect.

```json
{
  "connection": {
    "mode": "provider",
    "provider": "brevo",
    "formId": "quiz",
    "target": "42"
  },
  "revision": 1
}
```

#### GET /v1/sites/{siteId}/lead-destination

Read shared CRM settings and recent syncs.

**Access:** integrations:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Parameters:** Optional file is a published HTML filename, for example quiz/index.html.

**Request body**

No request body.

Full MCP tool get_lead_destination. CLI command lead-destination SITE_ID. Provider keys and submitted lead fields are omitted.

**Response**

200 · {connection, revision, routing, forms, pageForms, jobs, providers}.

```json
{
  "connection": {
    "provider": "hubspot",
    "mode": "all"
  },
  "revision": 1,
  "routing": {},
  "forms": {},
  "pageForms": [],
  "jobs": [],
  "providers": [
    {
      "id": "hubspot",
      "name": "HubSpot"
    }
  ]
}
```

#### PUT /v1/sites/{siteId}/lead-destination

Set the website’s CRM provider and form coverage.

**Access:** integrations:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "provider": "hubspot",
  "mode": "all",
  "expectedRevision": 0
}
```

Choose highlevel, hubspot, or klaviyo. HighLevel also needs locationId. Mode is all eligible forms or selected forms. Send apiKey over HTTPS for a new key, or use CLI set-lead-destination SITE_ID --body-file settings.json --prompt-key. The full MCP tool set_lead_destination uses the saved key.

**Response**

200 · saved settings. Send enabled false with the current revision to disconnect.

```json
{
  "connection": {
    "provider": "hubspot",
    "mode": "all"
  },
  "revision": 1
}
```

#### PUT /v1/sites/{siteId}/lead-destination/{formId}

Configure a form’s routing and field mappings.

**Access:** integrations:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "state": "on",
  "standard": {
    "firstName": "first_name"
  },
  "custom": {
    "quiz_result": "result"
  },
  "expectedRevision": 1,
  "expectedRoutingRevision": 0
}
```

Choose inherit, off, or on. Use the website revision and the form routing revision from GET. For Klaviyo, map separate optional emailOptIn and smsOptIn fields and specify listId. Full MCP tool set_lead_form_routing. CLI command set-lead-form SITE_ID FORM_ID --body-file settings.json.

**Response**

200 · {saved: true}.

```json
{
  "saved": true
}
```

#### POST /v1/sites/{siteId}/lead-destination/{jobId}

Retry an eligible CRM sync.

**Access:** integrations:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{}
```

Use a retryable job ID returned by GET. Full MCP tool retry_lead_sync. CLI command retry-lead-sync SITE_ID JOB_ID.

**Response**

200 · {queued: boolean}.

```json
{
  "queued": true
}
```

### Analytics, forms and checkout

#### GET /v1/sites/{siteId}/analytics

Read aggregate traffic and consented submission counts.

**Access:** analytics:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · {days, paths, totals, privacy, updatedAt}. totals contains pageviews, submissions, requests and transferBytes.

```json
{
  "days": [],
  "paths": [],
  "totals": {
    "pageviews": 0,
    "submissions": 0,
    "requests": 0,
    "transferBytes": 0
  },
  "privacy": "No visitor cookies, IP addresses, or query strings are stored in traffic analytics.",
  "updatedAt": 1795190400
}
```

#### GET /v1/sites/{siteId}/submissions

Read private, paginated form responses.

**Access:** analytics:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Parameters:** limit defaults to 50 and accepts 1–100. after takes the previous response’s next cursor, URL-encoded. Stop when next is empty.

**Request body**

No request body.

**Response**

200 · {items, next}. Each item includes the form ID, submitted fields and timing.

```json
{
  "items": [
    {
      "id": "SUBMISSION_ID",
      "formId": "contact",
      "fields": {
        "email": "visitor@example.com"
      },
      "consentAt": 1795190400,
      "createdAt": 1795190400
    }
  ],
  "next": null
}
```

#### PUT /v1/sites/{siteId}/forms/{formId}

Configure fields, consent, capacity and optional file delivery.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "fields": [
    {
      "name": "email",
      "type": "email",
      "required": true,
      "maxLength": 254
    }
  ],
  "message": "Thanks for reaching out.",
  "capacity": 100
}
```

formId starts with a lowercase letter and uses lowercase letters, digits or hyphens. fields accepts up to 20 objects with a name and optional type, required and maxLength. message, capacity and downloadPath are optional. Consent is required.

**Response**

200 · saved form configuration.

```json
{
  "id": "contact",
  "fields": [
    {
      "name": "email",
      "type": "email",
      "required": true,
      "maxLength": 254
    }
  ],
  "consentRequired": true,
  "message": "Thanks for reaching out.",
  "capacity": 100,
  "downloadPath": null
}
```

#### PUT /v1/sites/{siteId}/checkout-config

Save a Stripe Payment Link for this website’s customers.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "paymentLink": "https://buy.stripe.com/YOUR_PAYMENT_LINK"
}
```

Provide an HTTPS buy.stripe.com link you own. This is separate from BurstPage subscription billing.

**Response**

200 · {configured: true}.

```json
{
  "configured": true
}
```

#### POST /v1/public/sites/{siteId}/forms/{formId}/submit

Submit consented answers from a published form.

**Access:** Published website origin

**Headers**

```text
Origin: https://YOUR_PUBLISHED_HOST
Content-Type: application/json
```

**Request body**

```json
{
  "consent": true,
  "fields": {
    "email": "visitor@example.com"
  },
  "source": "contact-page"
}
```

consent must be true. fields is an object using configured names. Supply an idempotencyKey if the form does not have an email value. Leave the honeypot website empty.

**Response**

200 · {message, registrationId, confirmation} with optional duplicate or downloadUrl.

```json
{
  "message": "Thanks for reaching out.",
  "registrationId": "SUBMISSION_ID",
  "confirmation": "Response received"
}
```

#### POST /v1/public/sites/{siteId}/checkout

Get the website’s configured checkout URL.

**Access:** Published website origin

**Headers**

```text
Origin: https://YOUR_PUBLISHED_HOST
Content-Type: application/json
```

**Request body**

```json
{}
```

**Response**

200 · {checkoutUrl}, or 503 checkout_not_configured.

```json
{
  "checkoutUrl": "https://buy.stripe.com/YOUR_PAYMENT_LINK"
}
```

#### POST /v1/public/sites/{siteId}/pageview

Accept a legacy pageview call.

**Access:** Published website origin

**Headers**

```text
Origin: https://YOUR_PUBLISHED_HOST
Content-Type: application/json
```

**Request body**

```json
{}
```

**Response**

204 · no response body. Analytics count actual HTML requests at the hosting gateway.

```http
HTTP/1.1 204 No Content
```

### Publishing guidance

#### GET /v1/sites/{siteId}/customization

Read the website’s private brand guide and publishing prompt.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

Before drafting, pass ?include=shared to also receive workspaceCustomization with shared defaults. Use website guidance if the two differ. MCP get_site and CLI publishing-guidance SITE_ID can return both. Keep the guidance private.

**Response**

200 · {brandGuide, sharedPrompt, revision}. A website without saved guidance returns empty strings and revision 0.

```json
{
  "brandGuide": "Use ink blue and Manrope.",
  "sharedPrompt": "Write a clear headline and one CTA.",
  "revision": 1
}
```

#### PUT /v1/sites/{siteId}/customization

Save the website’s brand guide and publishing prompt.

**Access:** access:write · workspace owner or admin

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "brandGuide": "Use ink blue and Manrope.",
  "sharedPrompt": "Write a clear headline and one CTA.",
  "expectedRevision": 1
}
```

Send both text fields and the revision from GET. Limits are 32 KiB for the brand guide and 8 KiB for the publishing prompt, counted in UTF-8. Use empty strings to clear either field. The full MCP tool is update_site_customization. The CLI command is set-publishing-guidance SITE_ID --body-file settings.json.

**Response**

200 · the saved fields and revision. If someone edited the guidance, a conflicting update returns 409.

```json
{
  "brandGuide": "Use ink blue and Manrope.",
  "sharedPrompt": "Write a clear headline and one CTA.",
  "revision": 2
}
```

#### GET /v1/workspaces/{workspaceId}/customization

Read the shared guidance shown under All websites in Customize.

**Access:** sites:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · {brandGuide, sharedPrompt, revision}. Returns empty strings and revision 0 until shared guidance is saved.

```json
{
  "brandGuide": "",
  "sharedPrompt": "",
  "revision": 0
}
```

#### PUT /v1/workspaces/{workspaceId}/customization

Save shared defaults for all websites in the workspace.

**Access:** access:write · workspace owner or admin

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "brandGuide": "Use Manrope and describe benefits plainly.",
  "sharedPrompt": "Use one clear call to action.",
  "expectedRevision": 0
}
```

Uses the same text limits as website guidance. Shared and individual websites each have their own revision.

**Response**

200 · the saved fields and revision. Conflicting updates return 409.

```json
{
  "brandGuide": "Use Manrope and describe benefits plainly.",
  "sharedPrompt": "Use one clear call to action.",
  "revision": 1
}
```

### Private dashboard data

#### GET /v1/sites/{siteId}/data

Read the stored dashboard snapshot.

**Access:** data:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · {source, metrics, columns, rows, updatedAt}. An unconfigured site returns empty arrays.

```json
{
  "source": "Sales report",
  "metrics": [
    {
      "label": "Orders",
      "value": 12
    }
  ],
  "columns": [
    {
      "key": "month",
      "label": "Month"
    },
    {
      "key": "orders",
      "label": "Orders"
    }
  ],
  "rows": [
    {
      "month": "April",
      "orders": 12
    }
  ],
  "updatedAt": 1795190400
}
```

#### PUT /v1/sites/{siteId}/data

Replace the dashboard snapshot with authorized data.

**Access:** data:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "source": "Sales report",
  "metrics": [
    {
      "label": "Orders",
      "value": 12
    }
  ],
  "columns": [
    {
      "key": "month",
      "label": "Month"
    },
    {
      "key": "orders",
      "label": "Orders"
    }
  ],
  "rows": [
    {
      "month": "April",
      "orders": 12
    }
  ]
}
```

source is an optional label up to 100 characters. metrics, columns and rows default to empty arrays. Send up to 500 rows and 150 KB. Publish the dashboard privately to give viewers gated access.

**Response**

200 · the saved snapshot with updatedAt.

```json
{
  "source": "Sales report",
  "metrics": [
    {
      "label": "Orders",
      "value": 12
    }
  ],
  "columns": [
    {
      "key": "month",
      "label": "Month"
    },
    {
      "key": "orders",
      "label": "Orders"
    }
  ],
  "rows": [
    {
      "month": "April",
      "orders": 12
    }
  ],
  "updatedAt": 1795190400
}
```

#### GET /v1/sites/{siteId}/connector

Read a website’s configured data-source metadata.

**Access:** data:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

**Response**

200 · provider-specific settings and state without credentials, or {} if no connector exists.

```json
{
  "provider": "supabase",
  "projectUrl": "https://yourprojectref.supabase.co",
  "table": "reporting_view",
  "columns": [
    "month",
    "orders"
  ],
  "limit": 100,
  "state": "ready",
  "generation": "GENERATION_ID",
  "updatedAt": 1795190400
}
```

#### PUT /v1/sites/{siteId}/connector

Configure a read-only data source.

**Access:** data:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{
  "provider": "supabase",
  "projectUrl": "https://yourprojectref.supabase.co",
  "table": "reporting_view",
  "columns": [
    "month",
    "orders"
  ],
  "limit": 100,
  "apiKey": "YOUR_PUBLISHABLE_KEY"
}
```

Built-in connections require Launch, Scale, or Grow. Each workspace can connect 1, 3, or 5 websites respectively. Custom snapshots use the Save snapshot endpoint. Select a provider and use its fields listed below. Google Sheets OAuth must be set up by a signed-in browser on a private site using the picker. The service-account form of Sheets works with bearer authentication.

**Response**

200 · provider-specific settings and state without credentials.

```json
{
  "provider": "supabase",
  "projectUrl": "https://yourprojectref.supabase.co",
  "table": "reporting_view",
  "columns": [
    "month",
    "orders"
  ],
  "limit": 100,
  "state": "ready",
  "generation": "GENERATION_ID",
  "updatedAt": 1795190400
}
```

#### DELETE /v1/sites/{siteId}/connector

Disconnect a built-in data source from a website.

**Access:** data:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
```

**Request body**

No request body.

BurstPage schedules deletion of any saved connector credential. Reconnect with fresh credentials to resume automatic updates.

**Response**

200 · {disconnected: true}. Releases the connection slot and retains the saved snapshot.

```json
{
  "disconnected": true
}
```

#### POST /v1/sites/{siteId}/refresh-data

Refresh a dashboard from its configured data source.

**Access:** data:read

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{}
```

**Response**

200 · {source, metrics, columns, rows, updatedAt, …}. Recent snapshots can be reused and refreshStatus may be present.

```json
{
  "source": "Sales report",
  "metrics": [
    {
      "label": "Orders",
      "value": 12
    }
  ],
  "columns": [
    {
      "key": "month",
      "label": "Month"
    },
    {
      "key": "orders",
      "label": "Orders"
    }
  ],
  "rows": [
    {
      "month": "April",
      "orders": 12
    }
  ],
  "updatedAt": 1795190400
}
```

#### GET /__dtl/api/data

Read the dashboard data from inside a private published page.

**Access:** Authorized private-site viewer

**Headers**

```text
Cookie: viewer session sent by the browser
```

**Request body**

No request body.

Use the relative path from the hosted private page, rather than the burstpage.com API host. Use fetch with same-origin credentials.

**Response**

200 · read-through dashboard snapshot. If a connector is configured, this may fetch fresh data.

```json
{
  "source": "Sales report",
  "metrics": [
    {
      "label": "Orders",
      "value": 12
    }
  ],
  "columns": [
    {
      "key": "month",
      "label": "Month"
    },
    {
      "key": "orders",
      "label": "Orders"
    }
  ],
  "rows": [
    {
      "month": "April",
      "orders": 12
    }
  ],
  "updatedAt": 1795190400
}
```

#### POST /v1/sites/{siteId}/connector/dynamodb-setup

Get AWS role setup for a private website.

**Access:** data:write

**Headers**

```text
Authorization: Bearer $BURSTPAGE_TOKEN
X-Workspace-Id: WORKSPACE_ID
Content-Type: application/json
```

**Request body**

```json
{}
```

Connect from Private data → Amazon DynamoDB to copy the trust and read policies. BurstPage checks the role requires its exact external ID before saving the connection.

**Response**

200 · {principalArn, roleName, externalId}. Use these values to create a restricted IAM role in your AWS account.

```json
{
  "principalArn": "arn:aws:iam::111122223333:role/BurstPageRuntime",
  "roleName": "BurstPageDynamoReader-0123456789abcdef01234567",
  "externalId": "burstpage-ddb-EXAMPLE"
}
```

#### Connector fields by provider

Send the provider name in provider, followed by its fields. A question mark marks an optional field.

- **google-sheets**: `spreadsheetId, range, serviceAccount: {client_email, private_key, private_key_id?}`. Use a shared spreadsheet and a range with a header plus up to 500 rows. For OAuth from the dashboard, send authMethod: "oauth" and the picker’s code instead of serviceAccount.

- **supabase**: `projectUrl, table, columns[], apiKey, limit?`. Use a hosted project, a publishable or anon key, and a read policy. The row limit defaults to 100 and is capped at 500.

- **neon**: `connectionString, table, columns[], limit?`. Use a read-only Neon PostgreSQL role. table can include a schema. Up to 100 rows.

- **turso**: `databaseUrl, apiKey, table, columns[], limit?`. Use a Turso database URL and a read-only token. Up to 100 rows.

- **airtable**: `baseId, tableId, apiKey, columns[], limit?`. Use an Airtable personal access token scoped to the relevant base and read access. Up to 100 rows.

- **notion**: `dataSourceId, apiKey, columns[], limit?`. Share the data source with your Notion integration. Up to 50 rows.

- **dynamodb**: `roleArn, tableArn, partitionKey, partitionValue, partitionType?, columns[], limit?`. Use the generated AWS IAM role and exact external ID. Reads one table partition with Query. Select scalar attributes and a String (S) or Number (N) key. Defaults to 50 rows, capped at 100.

### OAuth and MCP transport

#### GET /.well-known/oauth-authorization-server

Discover authorization, token, registration and revocation URLs.

**Access:** Public

**Headers**

```text
No headers required.
```

**Request body**

No request body.

**Response**

200 · OAuth discovery metadata including supported grants and PKCE methods.

```json
{
  "issuer": "https://burstpage.com",
  "authorization_endpoint": "https://burstpage.com/oauth/authorize",
  "token_endpoint": "https://burstpage.com/oauth/token",
  "registration_endpoint": "https://burstpage.com/oauth/register",
  "revocation_endpoint": "https://burstpage.com/oauth/revoke",
  "response_types_supported": [
    "code"
  ],
  "grant_types_supported": [
    "authorization_code",
    "refresh_token"
  ],
  "token_endpoint_auth_methods_supported": [
    "none"
  ],
  "code_challenge_methods_supported": [
    "S256"
  ],
  "scopes_supported": [
    "sites:read"
  ],
  "authorization_response_iss_parameter_supported": true
}
```

#### GET /.well-known/oauth-protected-resource/mcp

Discover OAuth metadata and scopes for the full MCP server.

**Access:** Public

**Headers**

```text
No headers required.
```

**Request body**

No request body.

**Response**

200 · {resource, authorization_servers, scopes_supported, resource_documentation}.

```json
{
  "resource": "https://burstpage.com/mcp",
  "authorization_servers": [
    "https://burstpage.com"
  ],
  "scopes_supported": [
    "sites:read",
    "sites:write",
    "analytics:read"
  ],
  "resource_documentation": "https://burstpage.com/workspace/connect"
}
```

#### GET /.well-known/oauth-protected-resource/mcp/directory

Discover OAuth metadata for the directory MCP server.

**Access:** Public

**Headers**

```text
No headers required.
```

**Request body**

No request body.

**Response**

200 · the directory resource’s OAuth metadata. Use a credential approved for this exact resource.

```json
{
  "resource": "https://burstpage.com/mcp/directory",
  "authorization_servers": [
    "https://burstpage.com"
  ],
  "scopes_supported": [
    "sites:read",
    "sites:write",
    "analytics:read"
  ],
  "resource_documentation": "https://burstpage.com/workspace/connect"
}
```

#### POST /oauth/register

Register a public OAuth client that uses PKCE.

**Access:** Public client registration

**Headers**

```text
Content-Type: application/json
```

**Request body**

```json
{
  "client_name": "Portfolio assistant",
  "redirect_uris": [
    "https://app.example.com/oauth/callback"
  ],
  "token_endpoint_auth_method": "none"
}
```

redirect_uris requires 1–5 registered callback URLs. Use HTTPS, or an HTTP loopback address for a desktop client. client_name is optional.

**Response**

201 · client metadata including client_id and redirect_uris.

```json
{
  "client_id": "OAUTH_CLIENT_ID",
  "client_name": "Portfolio assistant",
  "redirect_uris": [
    "https://app.example.com/oauth/callback"
  ],
  "token_endpoint_auth_method": "none",
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "response_types": [
    "code"
  ],
  "expiresAt": 1802966400
}
```

#### GET /oauth/authorize

Open the review and consent flow in the user’s browser.

**Access:** Browser sign-in

**Headers**

```text
Cookie: dashboard session if already signed in
```

**Parameters:** Send response_type=code, client_id, redirect_uri, scope (space-separated), resource (the exact MCP URL), code_challenge, code_challenge_method=S256, and state for callback correlation.

**Request body**

No request body.

**Response**

302 · the sign-in or consent page.

```http
HTTP/1.1 302 Found
Location: https://burstpage.com/signin
```

#### POST /oauth/authorize

Complete the user’s approval from the BurstPage consent screen.

**Access:** Browser consent session

**Headers**

```text
Cookie: dashboard session sent by the browser
Origin: https://burstpage.com
Content-Type: application/json
```

**Request body**

```json
{
  "response_type": "code",
  "client_id": "OAUTH_CLIENT_ID",
  "redirect_uri": "https://app.example.com/oauth/callback",
  "scope": "sites:read",
  "resource": "https://burstpage.com/mcp",
  "workspaceId": "WORKSPACE_ID",
  "code_challenge": "PKCE_S256_CHALLENGE",
  "code_challenge_method": "S256",
  "state": "CLIENT_STATE"
}
```

The BurstPage consent screen submits this after the user chooses a workspace and approves. The code_challenge is the 43-character unpadded base64url SHA-256 value.

**Response**

200 · {redirect}, the registered callback URL with code, state and iss.

```json
{
  "redirect": "https://app.example.com/oauth/callback?code=AUTH_CODE&state=CLIENT_STATE&iss=https%3A%2F%2Fburstpage.com"
}
```

#### POST /oauth/token

Exchange an authorization code or rotate an existing refresh token.

**Access:** Public OAuth token exchange, bound to the registered client

**Headers**

```text
Content-Type: application/x-www-form-urlencoded
```

**Request body**

```text
grant_type=authorization_code&client_id=OAUTH_CLIENT_ID&code=AUTH_CODE&code_verifier=PKCE_VERIFIER&redirect_uri=REGISTERED_CALLBACK&resource=MCP_RESOURCE_URL
```

URL-encode each value. For refresh, send grant_type=refresh_token, client_id, refresh_token, and optionally resource. The resource must match the grant if supplied.

**Response**

200 · {access_token, token_type, expires_in, refresh_token, scope}. Store the new refresh token after a successful exchange.

```json
{
  "access_token": "ACCESS_TOKEN",
  "token_type": "Bearer",
  "expires_in": 3600,
  "refresh_token": "REFRESH_TOKEN",
  "scope": "sites:read"
}
```

#### POST /oauth/revoke

Revoke the grant associated with a token.

**Access:** Client ID and token from the same OAuth grant

**Headers**

```text
Content-Type: application/x-www-form-urlencoded
```

**Request body**

```text
client_id=OAUTH_CLIENT_ID&token=ACCESS_OR_REFRESH_TOKEN
```

URL-encode each value.

**Response**

200 · {}.

```json
{}
```

#### POST /mcp

Send a JSON-RPC request to the full remote MCP server.

**Access:** Bearer token approved for the full MCP resource

**Headers**

```text
Authorization: Bearer $MCP_ACCESS_TOKEN
Content-Type: application/json
Accept: application/json, text/event-stream
```

**Request body**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}
```

Let your MCP client negotiate the protocol during initialization before invoking tools.

**Response**

200 · a JSON-RPC reply, or 202 for notifications. Discover current tool schemas with tools/list.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "tools": [
      {
        "name": "list_sites",
        "description": "List websites in the workspace.",
        "inputSchema": {
          "type": "object",
          "properties": {}
        }
      }
    ]
  }
}
```

#### POST /mcp/directory

Send a JSON-RPC request to the limited directory MCP server.

**Access:** Bearer token approved for the directory resource

**Headers**

```text
Authorization: Bearer $DIRECTORY_MCP_ACCESS_TOKEN
Content-Type: application/json
Accept: application/json, text/event-stream
```

**Request body**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}
```

**Response**

200 · a JSON-RPC reply, or 202 for notifications. Discover the limited tool set with tools/list.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "tools": [
      {
        "name": "list_sites",
        "description": "List websites in the workspace.",
        "inputSchema": {
          "type": "object",
          "properties": {}
        }
      }
    ]
  }
}
```

## What BurstPage handles

- Hosted HTTPS addresses under my.burstpage.com, with CDN delivery
- Bring your own subdomain and serve every published path there with managed HTTPS
- 135 customizable HTML launch templates
- Authenticated remote MCP, REST API and a manually configured CLI
- Immutable releases, revision checks and restoration of published versions
- Several paths beneath one website, with safe partial updates and exact redirects
- Traffic by page and path, consented form responses and plan usage
- Public websites on every plan. Launch and higher include private publishing and selected-viewer access.
- Private dashboard data snapshots and configured Google Sheets or Supabase sources

## Setup and limits

- Installation and supported tools vary by AI client. See Connect your AI in the workspace for setup instructions.
- Bring static HTML, CSS, JavaScript and assets. BurstPage does not run customer Node.js servers, server-side rendering or arbitrary backend code.
- Custom-domain connection requires adding DNS records at your provider. Apex domains depend on the provider’s support for ALIAS, ANAME or CNAME flattening.
- Publishing is subject to website, storage, traffic, request and monthly usage limits. It is not unlimited.
- Private dashboards require authorized source configuration. Connector credentials stay on the server; do not embed secrets in static files.
- Your AI subscription, domain registration and external services are separate. Platform subscriptions and a page owner’s own sales checkout are separate.
- Traffic metrics count requests and responses, not unique people. No ranking, citation, traffic, lead or sales outcome is guaranteed.

## FAQ

### What is BurstPage?

BurstPage is a headless static website publisher for pages built with AI. Publish landing pages, funnels and private dashboards through compatible MCP, API or CLI tools.

### Can I use BurstPage to build a website?

Use your AI to create the website, then use BurstPage to publish and manage it. Start with one of the launch templates or bring your own finished static files. BurstPage provides the publishing workspace and tools; it does not replace your AI subscription.

### Who is it useful for?

Creators, independent businesses and small teams who want a live website, landing page, quiz, lead magnet, event registration, sales page, link page, waitlist or private dashboard without managing hosting for each launch.

### Which AI tools work with it?

Compatible AI clients can connect to the authenticated remote MCP endpoint at https://burstpage.com/mcp. HTTP-capable tools can use the API; a CLI is also available with manual configuration. Tool support, installation and OAuth support vary by client.

### Can I publish several pages under one address?

Yes. A website can contain /quiz/, /quiz/results/, /ebook/ and other paths. Partial releases preserve neighboring files, and redirects apply to exact paths. Paid plans can set a default visibility for the website and override it on individual pages. Private pages require authorized access.

### Can I connect my own domain?

Yes. Connect a domain or subdomain you own in Website settings, add the DNS records at your provider, and check the connection. Your DNS provider must support ALIAS, ANAME or CNAME flattening to connect a root domain. BurstPage provisions HTTPS after verification. Domain registration and renewal are separate.

### Can a static website have private or changing data?

Yes, with a protected data service. BurstPage checks access to private pages, assets and data. Private dashboards can use snapshots or configured Google Sheets and Supabase sources. Static HTML alone does not protect an exposed external database or API.

### What do the paid plans cost?

Launch is USD 9 per month, Scale is USD 19 per month, and Grow is USD 29 per month. Start a free trial without a card. See plan allowances on the pricing page and manage your subscription in the workspace.

### Can I sell products or collect leads?

Templates support consented lead forms, scored quizzes, event registrations and ebook delivery after configuration. Sales pages can link to the page owner’s own Stripe Payment Link. BurstPage does not automatically create the product, delivery asset or connected payment account.
