Sitemap
Generate a comprehensive XML sitemap for blog posts optimized for search engine discovery.
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
Filter the sitemap to include only posts from a specific category.
Provide the URL-friendly slug of the category. When specified, only blog posts assigned to this category will be included in the sitemap.
Filter the sitemap to include only posts with a specific tag.
Provide the URL-friendly slug of the tag. When specified, only blog posts tagged with this tag will be included in the sitemap.
Filter the sitemap to include only posts in the given locale (e.g. en, es). When omitted, defaults to your organization's default locale.
Returns 400 if the value is not a locale configured on your organization.
10Response
XML sitemap generated successfully
Complete XML sitemap with blog post URLs