## List collection types `GET https://getkollek.com/api/collection-types` Retrieve the collection types of your account, most recently updated first. A collection type is a user-defined category (Comics, Vinyl, Wine) that decides which custom fields apply to an item. **Permissions:** Any member of the account. ### Query parameters - `per_page` (integer, optional): The number of collection types 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 collection_type objects. ### Example request ```bash curl https://getkollek.com/api/collection-types \ -H "Authorization: Bearer $API_KEY" \ -H "Accept: application/json" ``` ### Example response `Status: 200` ```json { "data": [ { "type": "collection_type", "id": "2", "attributes": { "name": "Wine", "color": "#8b5cf6", "created_at": 1752537600, "updated_at": 1752537600 }, "links": { "self": "https://getkollek.com/api/collection-types/2" } }, { "type": "collection_type", "id": "1", "attributes": { "name": "Comics", "color": "#fb923c", "created_at": 1752537600, "updated_at": 1752537600 }, "links": { "self": "https://getkollek.com/api/collection-types/1" } } ], "links": { "first": "https://getkollek.com/api/collection-types?page=1", "last": "https://getkollek.com/api/collection-types?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?page=1", "label": "1", "active": true }, { "url": null, "label": "Next »", "active": false } ], "path": "https://getkollek.com/api/collection-types", "per_page": 10, "to": 2, "total": 2 } } ```