Skip to content

Get Sitemap

GET
/api/sitemap/sitemap.xml

Strapi v5 Content API endpoint handled by controller.getSitemap. Protected by Strapi Users & Permissions / API Token (bearerAuth); can be granted to the Public role in Strapi Settings.

locale
string

Optional Strapi i18n locale filter

Successful response

UTF-8 XML feed / Sitemap document

string

Bad Request — validation or parameter error

Unauthorized — missing or invalid Bearer token

Forbidden — insufficient Strapi RBAC permissions