## List custom field groups `GET https://getkollek.com/api/collection-types/{collectionType}/custom-field-groups` Retrieve the custom field groups of a collection type, in position order. A group is a named section of custom fields within a type, such as Publishing info on Comics. Groups are optional: a type with no groups shows its fields as a flat list. Where a type has both, the fields with no group come first, followed by each group. **Permissions:** Any member of the account. ### Path parameters - `collectionType` (integer, required): The ID of the collection type the group belongs to. ### Query parameters - `per_page` (integer, optional): The number of groups to return per page, between 1 and 100. Default: `10`. - `page` (integer, optional): The page number to return. Default: `1`. **Returns:** A paginated list of custom_field_group objects. ### Example request ```bash curl https://getkollek.com/api/collection-types/1/custom-field-groups \ -H "Authorization: Bearer $API_KEY" \ -H "Accept: application/json" ``` ### Example response `Status: 200` ```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" } }, { "type": "custom_field_group", "id": "2", "attributes": { "name": "Condition & grading", "position": 2, "created_at": 1752537600, "updated_at": 1752537600 }, "links": { "self": "https://getkollek.com/api/collection-types/1/custom-field-groups/2" } } ], "links": { "first": "https://getkollek.com/api/collection-types/1/custom-field-groups?page=1", "last": "https://getkollek.com/api/collection-types/1/custom-field-groups?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "https://getkollek.com/api/collection-types/1/custom-field-groups?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ], "path": "https://getkollek.com/api/collection-types/1/custom-field-groups", "per_page": 10, "to": 2, "total": 2 } } ```