Create a new item within a Collection via the Write API with support for locales and media uploads.
Media is the field_type for a chosen field, any URL can be provided as the field’s value. The media corresponding to this URL will be automatically downloaded and uploaded to your ButterCMS media library, ensuring reliable hosting and CDN integration.
Asynchronous Processing: This endpoint returns 202 Accepted immediately to ensure fast response times for your application. The actual item creation, including media uploads, validation, and any configured webhooks, happens in the background processing queue.
See also: Architecture & Performance for guidance on levels, pagination, and performance best practices.Write-enabled API token required for creating content.
The API token you use for reading from the ButterCMS API will not allow you to create content in the API. For this you will need to use a different write-enabled token. Chat or email support@buttercms.com to get yours.
Set the Authorization header to Token your_write_api_token.
Example: Authorization: Token abc123def456
Your write-enabled token should never be used anywhere it would be exposed, e.g. in client-side JavaScript.
Collection item data with dynamic field structure based on collection configuration and locale settings.
The unique identifier/slug of the Collection to create an item in.
Must match an existing collection in your organization.
"team_members"
Array of collection item data. Structure varies based on locale configuration:
Dynamic Nature: Field names and types are defined by your collection schema and can vary completely between collections.
1[
{
"name": "John Smith",
"position": "Senior Developer",
"email": "john@company.com"
}
]Status of the collection item:
Defaults to "draft" if not specified.
published, draft "published"
Accepted - Collection Item Creation Queued
The collection item has passed initial validation and creation has been queued for asynchronous processing.
Important: The item may not be immediately available in collection queries. Background processing includes:
If creation fails during background processing, contact support for assistance.
Response for successful collection item creation (202 Accepted)
Indicates that the collection item creation is being processed asynchronously
pending "pending"