Skip to content
OvertCMS Docs

Delivery API (Clients) Site & Discovery

Get published sitemap JSON

GET /delivery/v1/sitemap.json

Returns lightweight published entry records (url, postType, slug, updatedAt) for sitemap generation. When OVERTCMS_DELIVERY_REQUIRE_API_KEY=true, results are filtered by the key's allowedPostTypes.

Authentication

  • Bearer token BearerApiKey optional

    Optional scoped API key (Authorization: Bearer ocms_...) with delivery:read scope. Required only when OVERTCMS_DELIVERY_REQUIRE_API_KEY=true.

Headers

  • If-None-Match string
    Conditional GET validator matching a previously received ETag. Returns 304 Not Modified when unchanged.

Responses

  • 200 Published sitemap items.

    application/json

    • items array of SitemapItem required
      Show 4 fields
      • postType string required

        Example posts

      • slug string required

        Example introducing-overtcms

      • updatedAt string, date-time required

        Example 2026-05-01T14:30:00Z

      • url string required

        Example https://example.com/blog/introducing-overtcms

  • 304 Not Modified — client cached ETag matches the current response.
  • 401 Unauthorized.

    application/json

    • error APIError required
      Canonical error payload returned across all OvertCMS planes.
      Show 6 fields
      • applied boolean required
        Always false on 4xx responses, guaranteeing the mutation was not applied.

        Example false

      • code string required

        Example validation_error

      • details object
      • issues array of ValidationIssue
        Show 7 fields
        • code string required

          Example max_length

        • constraint object
        • field string

          Example seoTitle

        • instruction string

          Example Keep SEO titles under 60 characters for search snippet display.

        • label string

          Example SEO Title

        • message string required

          Example field must be at most 60 graphemes

        • searchEndpoint string

          Example /agent/v1/collections/posts/fields/author/options

      • message string required

        Example entry validation failed

      • retryable boolean required

        Example false

  • 403 Forbidden.

    application/json

    • error APIError required
      Canonical error payload returned across all OvertCMS planes.
      Show 6 fields
      • applied boolean required
        Always false on 4xx responses, guaranteeing the mutation was not applied.

        Example false

      • code string required

        Example validation_error

      • details object
      • issues array of ValidationIssue
        Show 7 fields
        • code string required

          Example max_length

        • constraint object
        • field string

          Example seoTitle

        • instruction string

          Example Keep SEO titles under 60 characters for search snippet display.

        • label string

          Example SEO Title

        • message string required

          Example field must be at most 60 graphemes

        • searchEndpoint string

          Example /agent/v1/collections/posts/fields/author/options

      • message string required

        Example entry validation failed

      • retryable boolean required

        Example false

Documentation

Start here