## Create a custom field group `POST https://getkollek.com/api/collection-types/{collectionType}/custom-field-groups` Create a custom field group on a collection type. The group is appended after the existing ones. To place a field inside it, pass its ID as group_id when creating the custom field. **Permissions:** Owners and editors. Viewers get a 404 response. ### Path parameters - `collectionType` (integer, required): The ID of the collection type the group belongs to. ### Body parameters - `name` (string, optional): The name of the group. Maximum 255 characters. **Returns:** The created custom_field_group object. ### Example request ```bash curl https://getkollek.com/api/collection-types/1/custom-field-groups \ -X POST \ -H "Authorization: Bearer $API_KEY" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{ "name": "Publishing info" }' ``` ### Example response `Status: 201` ```json { "data": { "type": "custom_field_group", "id": "1", "attributes": { "name": "Publishing info", "position": 1, "created_at": 1752537600, "updated_at": 1752537600 }, "links": { "self": "https://getkollek.com/api/collection-types/1/custom-field-groups/1" } } } ```