Get a single category by ID or slug
cURL
curl --request GET \ --url https://api.marblecms.com/v1/categories/{identifier} \ --header 'Authorization: <api-key>'
{ "category": { "id": "cryitfjp2345kl05weoybfk9", "name": "Technology", "slug": "technology", "description": "Tech news and tutorials", "count": { "posts": 15 } } }
Documentation IndexFetch the complete documentation index at: https://docs.marblecms.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.marblecms.com/llms.txt
Use this file to discover all available pages before exploring further.
Your Marble API key
Category ID or slug
"technology"
The requested category
Show child attributes
Was this page helpful?