Skip to main content
GET
/
v1
/
categories
/
{identifier}
Get category
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 Index

Fetch the complete documentation index at: https://docs.marblecms.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Marble API key

Path Parameters

identifier
string
required

Category ID or slug

Example:

"technology"

Response

The requested category

category
object
required