Skip to main content
POST
Create CMS Item
The data object is validated against the collection’s schema before the row is stored. Required fields must be present; unknown fields are dropped.

Example

Pass expires_at to make the item disappear from public lists after a specific moment, or starts_at to schedule it.

Authorizations

x-api-key
string
header
required

API key for authentication. Get yours from Settings > API Keys in the Kardow dashboard.

Path Parameters

slug
string
required

Body

application/json
data
object
required

Validated against the collection's schema.

id
string<uuid>

Provide to update an existing item.

status
enum<string>
default:published
Available options:
draft,
pending_review,
published,
expired,
archived
starts_at
string<date-time> | null
expires_at
string<date-time> | null
owner_user_id
string<uuid> | null

Response

Created

item
object