Retrieve a specific blog post category by slug with optional recent posts integration.
include=recent_posts parameter to enrich the response with the category’s recent blog posts. This adds a recent_posts array containing up to 10 of the most recently published posts in this category, ideal for creating category landing pages that showcase both the category information and latest content.Set the Authorization header to Token your_read_api_token.
Example: Authorization: Token abc123def456
Note: The header value includes the Token prefix.
You can access your API token from your settings page.
The unique slug identifier of the category to retrieve.
Your ButterCMS read API token
Include additional data in the response.
When set to recent_posts, the category object will include a recent_posts array containing the latest blog posts in this category (up to 10 posts, ordered by most recent first).
recent_posts Category retrieved successfully
Response structure for retrieving a single category
Single category object