Webflow API Setup

Purpose: Access Webflow CMS and site data for brainforge.ai migration and content extraction.


1. Credentials

VariableLocationPurpose
WEBFLOW_BRAINFORGE_AI_API_KEYapps/platform/.env.local (or root .env.local)Webflow API token for brainforge.ai site

1Password: Store in Brainforge AI Team vault if shared; otherwise Employee for personal keys.


2. Obtaining the Token

  1. Log in to Webflow → Account Settings
  2. Go to IntegrationsAPI Access (or Apps & Integrations)
  3. Create a new token with scopes: sites:read, collections:read, items:read (minimum for migration)
  4. Copy the token and add to .env.local

3. API Usage

List sites

curl -H "Authorization: Bearer $WEBFLOW_BRAINFORGE_AI_API_KEY" \
  https://api.webflow.com/v2/sites

List collections (CMS)

curl -H "Authorization: Bearer $WEBFLOW_BRAINFORGE_AI_API_KEY" \
  "https://api.webflow.com/v2/sites/{site_id}/collections"

List collection items

curl -H "Authorization: Bearer $WEBFLOW_BRAINFORGE_AI_API_KEY" \
  "https://api.webflow.com/v2/collections/{collection_id}/items"

4. brainforge.ai Site (verified)

FieldValue
Site ID65fdaa759c65dd5b9c9105d4
Key collectionsServices (6606eb1d103b4925646e3b05), Case Studies (68a2e79a7045f35ec9315f9f), Blog Posts (661719ce1d158d9b104129f2), AI Demos (68aeedac62a50004b424feeb)

Full inventory: knowledge/plans/brainforge-website-webflow-to-code-migration-2026/brainforge-website-webflow-to-code-migration-2026.md Section 3.

5. Migration Use Cases

  • Design extraction: Site structure, pages (via Sites API)
  • Content extraction: Blog posts, case studies, testimonials (via Collections API)
  • CMS export: Programmatic export for Astro content collections

6. References

  • Webflow API v2 Docs
  • Migration plan: knowledge/plans/brainforge-website-webflow-to-code-migration-2026/brainforge-website-webflow-to-code-migration-2026.md