Get a paginated list of categories
cURL
curl --request GET \ --url https://api.marblecms.com/v1/categories \ --header 'Authorization: Bearer <token>'
{ "categories": [ { "id": "clx456def", "name": "Technology", "slug": "technology", "description": "Tech news and tutorials", "count": { "posts": 15 } } ], "pagination": { "limit": 10, "currentPage": 1, "nextPage": 2, "previousPage": null, "totalPages": 5, "totalItems": 42 } }
Your Marble API key
Number of items per page (1-100)
1 <= x <= 100
"10"
Page number
x > 0
"1"
Paginated list of categories
Show child attributes
Was this page helpful?