Webflow API Setup
Purpose: Access Webflow CMS and site data for brainforge.ai migration and content extraction.
1. Credentials
| Variable | Location | Purpose |
|---|---|---|
WEBFLOW_BRAINFORGE_AI_API_KEY | apps/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
- Log in to Webflow → Account Settings
- Go to Integrations → API Access (or Apps & Integrations)
- Create a new token with scopes:
sites:read,collections:read,items:read(minimum for migration) - 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/sitesList 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)
| Field | Value |
|---|---|
| Site ID | 65fdaa759c65dd5b9c9105d4 |
| Key collections | Services (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