Skip to content
OvertCMS Docs

Admin API (Dashboard & Team) Organization & Sites

Get organization settings

GET /admin-api/v1/organization

Returns the default organization record including its active mfaPolicy.

Authentication

  • overtcms_access cookie SessionCookie

    HttpOnly SameSite=Lax access token cookie issued by login/setup/refresh. State-changing requests (POST, PATCH, PUT, DELETE) authenticated via cookie must also send a matching same-origin Origin header for CSRF protection.

  • Bearer token BearerJWT

    Human Admin access JWT returned by login/setup/refresh/step-up. Agent API keys (ocms_...) are rejected on the Admin Plane.

Responses

  • 200 Organization details.

    application/json

    • organization Organization required
      Show 7 fields
      • createdAt string, date-time required
      • id string, uuid required
      • mfaPolicy string required

        Allowed: optionalrequired_for_publishers_and_adminsrequired_for_all

        Example required_for_publishers_and_admins

      • name string required

        Example Default Organization

      • notifications NotificationSettings
        Show 3 fields
        • agentKillSwitchAlerts boolean required
          Email org owners/admins when AI agent writes are paused or resumed.

          Example true

        • securityAlerts boolean required
          Email affected users on critical security events (MFA enrollment, session compromise).

          Example true

        • sendInvitations boolean required
          Automatically email clickable invite links when SMTP is verified.

          Example true

      • slug string required

        Example default

      • updatedAt string, date-time required
  • 401 Unauthenticated — missing or expired session cookie / JWT (API keys are rejected).

    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 — insufficient RBAC role capability, CSRF Origin mismatch, post-type restriction, or step-up MFA required.

    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