Skip to content
OvertCMS Docs

Admin API (Dashboard & Team) Users & Invitations

Accept a team invitation

POST /admin-api/v1/invitations/accept

Public endpoint that consumes a valid invitation token, creates the invited human user account, and issues HttpOnly session cookies.

Authentication

Public. No credentials are needed.

Request body application/json required

  • displayName string

    Example Grace Hopper

  • password string, password required

    min length 8

  • token string required

Responses

  • 201 Invitation accepted and user authenticated.

    application/json

    • accessToken string
    • expiresAt string, date-time nullable
    • mfaChallengeToken string
    • mfaEnrollmentRequired boolean
    • mfaMethods array of string
    • mfaRequired boolean
    • refreshToken string
    • session UserSession
      Show 10 fields
      • createdAt string, date-time required
      • expiresAt string, date-time required
      • familyId string, uuid required
      • id string, uuid required
      • ipAddress string
      • mfaVerifiedAt string, date-time nullable
      • revokedAt string, date-time nullable
      • rotatedAt string, date-time nullable
      • userAgent string
      • userId string, uuid required
    • user User
      Show 16 fields
      • allowedPostTypes array of string required
      • avatarAssetId string, uuid
      • bio string
      • createdAt string, date-time required
      • displayName string required

        Example Ada Lovelace

      • email string, email required

        Example owner@example.com

      • id string, uuid required
      • linkedAuthorEntryId string, uuid
      • locale string required

        Example en

      • oidcSubject string
      • organizationId string, uuid required
      • role string required

        Allowed: owneradmineditorwriterviewer

        Example owner

      • status string required

        Allowed: activedisabled

        Example active

      • timezone string required

        Example UTC

      • title string

        Example Managing Editor

      • updatedAt string, date-time required
  • 401 Invalid or expired invitation token.

    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

  • 409 Email already registered or invitation already accepted.

    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

  • 422 Validation failed.

    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

  • 429 Rate limited.

    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