List All Categories
Retrieve a complete list of blog post categories with optional recent post data for category-based navigation.
include=recent_posts parameter to enrich the response with each category’s most recent blog posts. This is ideal for creating category landing pages that display both the category information and a preview of the latest content within that category.Authorizations
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.
Query Parameters
Your ButterCMS read API token
Include additional data in the response.
When set to recent_posts, each category object will include a recent_posts array containing the latest blog posts in that category.
recent_posts Filter the embedded recent_posts list to posts in the given locale (e.g. en, es). The category itself is shared across locales and is always returned. When omitted, defaults to your organization's default locale.
Returns 400 if the value is not a locale configured on your organization.
10Response
Categories retrieved successfully
Response structure for listing all categories
Array of category objects