CMS > Entries
Create an entry
Add a record to a collection.
/v1/cms/collections/{collectionId}/entriesEvery value is validated against the collection's active schema. Unknown
field IDs and values of the wrong type return 400 instead of being dropped, so
a 201 means everything you sent was stored.
Omitted optional fields are stored as null. Omitted required fields are
rejected.
Key by field ID, not label
Values are keyed by the generated field ID (published_at), not the label
you gave the field (Published at). Read the IDs from
the collection.
Path parameters
collectionIdstringrequiredID of the collection.
Request body
valuesobjectrequiredEntry values keyed by field ID.
Response · 201
entryobjectrequiredShow 6 propertiesHide properties
entryobjectrequiredidstringrequiredcollectionIdstringrequiredvaluesobjectrequiredstatusenumrequiredOne of: active, deleted
createdAtstringrequiredupdatedAtstringrequiredErrors: 400, 401, 404, 405, 429, 500. See Errors for the response shape.