Commands Reference
Complete guide to all wfapi commands and their options.
Command Overview
| Command | Description |
|---|---|
wfapi sites | List Webflow sites |
wfapi config | Manage API token configuration |
wfapi env | Manage environments |
wfapi use | Manage site and collection context |
wfapi cms | List CMS collections |
wfapi items | List CMS items |
wfapi docs | Open documentation in browser |
wfapi login | OAuth authentication (future) |
wfapi --help | Show help for all commands |
Global Options
All commands support:
wfapi <command> --help # Show help for specific commandEnvironment override (per command):
wfapi <command> --env test # same as --env=test
wfapi items --raw --env=stagingMost core commands (sites, cms, items, schema, use) accept --env <name> to temporarily run against that environment without changing the saved ENV setting.
Context overrides (per command, no persistence):
wfapi cms --site my-site-slug
wfapi items --site my-site --cms blog-posts
wfapi schema --cms=products --env=devUse --site <id|slug> and --cms <id|slug> on supported commands to point at a different site/collection for a single call without updating saved context.
Last updated on