Create Collection Field

Create a custom field in a collection.

Field validation is currently not available through the API.

Bulk creation of fields is not supported with this endpoint. To add multiple fields at once, include them when you create the collection.

Required scope | cms:write

Path parameters

collection_idstringRequiredformat: "objectid"
Unique identifier for a Collection

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

The field to create
Static FieldobjectRequired
OR
Option FieldobjectRequired
OR
Reference FieldobjectRequired

Response

Request was successful
Static Fieldobject
OR
Option Fieldobject
OR
Reference Fieldobject

Errors