---
title: "Connect Webflow with a site API token"
method: POST
path: "/v1/connect/webflow/token"
tags: ["Connect"]
---

# Connect Webflow with a site API token

`POST /v1/connect/webflow/token`

## Request

- Base URL: `https://zernio.com/api`
- URL: `https://zernio.com/api/v1/connect/webflow/token`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Connect-Token`

Connects one Webflow site using a site API token, created in the
site's Site settings > Apps & integrations > API access with Sites
read-only and CMS read and write access. Zernio checks the token's
scopes, reads its site, and stores the token encrypted. Webflow is a
connect-only blog platform: each CMS collection with a rich text field
is a blog in the Blogs API (`/v1/accounts/{accountId}/blogs`); it does
not support social posts, inbox, analytics or ads. Publishing an
article needs a site that has been published once. Reconnecting the
same site and profile updates the connection in place.

## Request body

- object
  - `profileId` string, required: Your Zernio profile ID (get from /v1/profiles).
  - `siteToken` string, required: Webflow site API token with Sites read and CMS read and write access.

## Response `200`

Webflow site connected as a platform account

- object
  - `account` object, required
    - `_id` string, required
    - `platform` 'webflow', required
    - `username` string, required: Hostname of the connected Webflow site.
    - `displayName` string, required: Webflow site name.
    - `profileId` string, required

## Other responses

- `400`: Malformed body, or a token Webflow rejects, that is not scoped to one site, or that lacks Sites read or CMS write access.
- `401`: Missing or invalid API key. `code` is `missing_credentials` when no Authorization header was sent and `invalid_credentials` when the key is unknown, revoked or expired.
- `402`: Payment method or enterprise contract required. The authenticated account hit a billing gate before the connection could proceed. Three reasons: - `free_tier_exceeded`: the team has connected more accounts than the free tier allows. Add a payment method on the dashboard to continue (the user will be billed per additional connected account). - `twitter_passthrough`: connecting an X account requires a card on file from day one because X API calls incur real per-call pass-through costs. Applies to the 1st X account, not only the 3rd+. - `enterprise_required`: the team is on an enterprise contract with a negotiated connected-account cap and has reached it. Self-service teams have NO connected-account cap (the $1/account rate continues at any scale), so this reason can only fire for teams whose contract sets an explicit limit. `dashboard_url` deep-links to the enterprise contact page rather than the billing tab. The end-user already has a card on file; this gate is about contract terms, not card collection. - `card_verification_required`: the card on file was flagged at add time (prepaid, or issued in a different country than the billing address) and a one-time verification charge of `details.verification_amount_cents` (USD) is pending. The charge is credited to the team's usage balance, not a fee. `dashboard_url` opens the billing page on the verification step; the request succeeds once it is paid. SDK consumers should switch on `reason` to render the right prompt. For `free_tier_exceeded`, `twitter_passthrough` and `card_verification_required`, redirect the end-user to `dashboard_url`: it opens the add-payment-method drawer on the Zernio billing page, and the request succeeds once the card is on file (or verified). For `enterprise_required`, redirect to `dashboard_url` (the enterprise contact form) to adjust the contract's limit.
- `403`: API key does not have access to this profile.
- `404`: Profile not found or access denied.
- `502`: Webflow returned an unclassified upstream error.

## Changes

- **2026-10-21** `5304778ae6b6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/connect/webflow/token/post.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) · [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/4e74db179e73?raw)
