Create Collection Item

POST

Create a new collection item. To upload a new image to an attachment field, set the field value to the image URL. To reuse an existing image from a collection, set the field value to the fileId property.

Path parameters

collection_idstringRequired

Unique identifier for a Collection

Headers

Accept-VersionstringOptional

The API version

Query parameters

livebooleanOptional

Boolean indicating if the item(s) should be published/unpublished to/from the live site

Request

This endpoint expects an object.
fieldsobjectOptional

The fields for the new item

Response

Request was successful

_archivedbooleanOptional

Boolean determining if the Item is set to archived

_draftbooleanOptional

Boolean determining if the Item is set to draft

_idstringOptional

Unique identifier for the Item

_cidstringOptional

Unique identifier for the Collection the Item belongs within

namestringOptional

Name given to the Item

slugstringOptional

URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug.