Skip to main content
GET
/
publisher
/
{publisher_id}
/
category
/
{identifier}
Category Details
curl --request GET \
  --url https://cds.thepublive.com/publisher/{publisher_id}/category/{identifier}/ \
  --header 'Authorization: Basic <encoded-value>'
{
  "status": "ok",
  "data": {
    "id": 100,
    "name": "News",
    "slug": "news",
    "content": "<p>Latest news and updates</p>",
    "category_brand_color": "#EF4444",
    "child_categories": [
      {
        "id": 101,
        "name": "Politics",
        "slug": "politics"
      },
      {
        "id": 102,
        "name": "Business",
        "slug": "business"
      }
    ],
    "parent_category": null,
    "meta_title": "News - My Publication",
    "meta_description": "Latest news and breaking stories",
    "og_title": "News - My Publication",
    "og_description": "Latest news and breaking stories",
    "og_image": "https://cdn.publive.com/images/news-og.jpg",
    "twitter_title": "News - My Publication",
    "twitter_description": "Latest news and breaking stories",
    "twitter_image": "https://cdn.publive.com/images/news-twitter.jpg",
    "absolute_url": "/news"
  },
  "message": ""
}
Returns detailed information about a single category, including SEO metadata, Open Graph tags, and child categories.
publisher_id
string
required
Your Publisher ID
identifier
string
required
Category ID or slug
{
  "status": "ok",
  "data": {
    "id": 100,
    "name": "News",
    "slug": "news",
    "content": "<p>Latest news and updates</p>",
    "category_brand_color": "#EF4444",
    "child_categories": [
      {
        "id": 101,
        "name": "Politics",
        "slug": "politics"
      },
      {
        "id": 102,
        "name": "Business",
        "slug": "business"
      }
    ],
    "parent_category": null,
    "meta_title": "News - My Publication",
    "meta_description": "Latest news and breaking stories",
    "og_title": "News - My Publication",
    "og_description": "Latest news and breaking stories",
    "og_image": "https://cdn.publive.com/images/news-og.jpg",
    "twitter_title": "News - My Publication",
    "twitter_description": "Latest news and breaking stories",
    "twitter_image": "https://cdn.publive.com/images/news-twitter.jpg",
    "absolute_url": "/news"
  },
  "message": ""
}