Content management
Webflow mock API
Webflow Data API v2: sites, collections, staged and live collection items, forms and submissions, and webhooks with signed delivery.
At a glance
- Operations
- 126
- Stateful operations
- 26
- Stateful resources
- 5
- Webhook events
- 5
- Vendor API version
- Data API v2
- Verification
- Spec-verified
How it works
Use Webflow without calling Webflow, Inc.
- Install the mock from the library into a workspace. It runs as a virtual service.
- Point your client's base URL at the virtual service instead of the vendor.
- Authenticate the way you already do. The mock accepts the same credential shape:
Authorization: Bearer wf_YourSiteToken State
Resources that remember
Writes persist per caller, so a create followed by a read returns what you created.
| Resource | Operations |
|---|---|
| Sites | 5 |
| Collections | 5 |
| Collection items | 8 |
| Webhooks | 4 |
| Forms and submissions | 4 |
Webhooks
Events your handlers can receive
- site_publish
- collection_item_created
- collection_item_deleted
- collection_item_published
- collection_item_changed
Deliveries are signed with the hmac scheme, so your verification code runs unchanged.
Coverage
126 operations
26 of them are stateful. The largest groups:
| Group | Operations |
|---|---|
| Other operations | 100 |
| Collection items | 8 |
| Collections | 5 |
| Sites | 5 |
| Forms and submissions | 4 |
| Webhooks | 4 |
Verification
Spec-verified
Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.
4 operations cannot be checked against the specification.
Source and limits
License, source and limits
- Generated from the Webflow, Inc. API description, licensed under MIT.
- Webflow, Inc. API documentation
- Source specification
Each collection (sites, collections, items with their live copies and slugs, webhooks, forms and submissions) holds up to 1 MiB of objects per token; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Served under /v2. Stateful: sites (list, get, patch displayName and shortName, delete, publish), collections (list, create with fields, get, patch, delete), collection items staged and live (create single or bulk with up to 3 items in items[], list with limit, offset, name, slug, sortBy and sortOrder, get, patch with fieldData merge, delete, publish by itemIds; live list and live get), webhooks (create, list, get, delete) and seeded read-only forms and submissions. Item create answers 202 with the created item and a GET reflects it at once (the real API is asynchronous). A duplicate slug in a collection answers 409 conflict (slug changes made through PATCH are not re-checked). Publish copies the staged item to live and stamps lastPublished (up to 5 itemIds); an item with isDraft true is never listed or returned as live, and publish does not report it as an error. Staged items report lastPublished as their creation time because the vendor schema requires a string. A webhook triggerType outside the vendor enum answers 400 validation_error and a repeated triggerType plus url answers 409 conflict. Webhooks always return a per-webhook secretKey (the real API only does for site tokens created after 2025-04-14); deliveries carry x-webflow-timestamp (milliseconds) and x-webflow-signature = hex(HMAC-SHA256(secretKey, "<timestamp>:<raw body>")). Emitted events: site_publish, collection_item_created, collection_item_changed, collection_item_deleted and collection_item_published (one event per request, for the first item id of a bulk or publish call); form_submission is accepted at registration but never emitted because the Data API has no operation that creates a submission (real ones come from the published site). Error bodies use the Webflow error object {message, code, externalReference, details} with codes unauthorized, not_found, validation_error and conflict; 429 is not produced. Item bulk operations other than create (update, delete, live variants of create/update/delete), pages, CMS locales, users, e-commerce and every other operation answer schema-valid samples. Four operations are skipped in conformance: the three Google tag operations (the sampler cannot satisfy their negative-lookahead pattern) and update-items (its oneOf accepts the sampled item twice).
MaxoPerf is not affiliated with, endorsed by, or sponsored by Webflow, Inc. Webflow is a trademark of its owner.