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 } } }
Your Marble API key
Category ID or slug
"technology"
The requested category
Show child attributes
Was this page helpful?