Create Collection and First Item
A 4-step recipe with Webflow API and Documentation. We can help you get access.
Recipe · 4 steps
Create Collection and First Item
Create a collection, add a field, create an item, and publish it.
- Create a new CMS collection on the site.
- Add a single custom field to the new collection.
- Create the first item in the collection using the supplied field data.
- Publish the newly created item to the live site.
What you'll need to have ready
- accessToken: Webflow OAuth bearer token with cms:write scope.
- siteId: Unique identifier for the Site the collection belongs to.
- collectionDisplayName: Display name for the new collection (must be distinct).
- collectionSingularName: Singular name for each item in the collection.
- collectionSlug: Optional slug for the collection URL.
- fieldType: Field type to add (e.g. PlainText, RichText, Email).
- fieldDisplayName: Display name for the custom field.
- itemName: Name of the first collection item.
- itemSlug: URL slug of the first collection item.
For your developer
Arazzo workflow webflow-api-and-documentation-webflow:create-collection-and-first-item, 4 operations: create-collection → create-field → create-item → publish-item. Specs on APIs.io.