Admin API (Dashboard & Team) Authentication & MFA
Begin TOTP 2FA enrollment
/admin-api/v1/auth/mfa/totp/enroll Generates a pending 160-bit RFC 6238 TOTP secret and otpauth:// provisioning URL. Confirm with POST /admin-api/v1/auth/mfa/totp/confirm.
Authentication
- overtcms_access cookie
SessionCookieHttpOnly 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-originOriginheader for CSRF protection. - Bearer token
BearerJWTHuman Admin access JWT returned by login/setup/refresh/step-up. Agent API keys (
ocms_...) are rejected on the Admin Plane.
Headers
-
OriginstringSame-origin header required by CSRF protection on state-changing requests authenticated viaovertcms_accesscookie.
Responses
-
200 Pending TOTP secret and otpauth URL.
application/json
-
otpauthUrlstring requiredExample otpauth://totp/OvertCMS:owner%40example.com?secret=JBSWY3DPEHPK3PXP&issuer=OvertCMS
-
secretstring requiredBase32-encoded 160-bit RFC 6238 TOTP secret.Example JBSWY3DPEHPK3PXP
-
-
401 Unauthenticated — missing or expired session cookie / JWT (API keys are rejected).
application/json
-
errorAPIError requiredCanonical error payload returned across all OvertCMS planes.Show 6 fields Hide
-
appliedboolean requiredAlways false on 4xx responses, guaranteeing the mutation was not applied.Example false
-
codestring requiredExample validation_error
-
detailsobject -
issuesarray of ValidationIssueShow 7 fields Hide
-
codestring requiredExample max_length
-
constraintobject -
fieldstringExample seoTitle
-
instructionstringExample Keep SEO titles under 60 characters for search snippet display.
-
labelstringExample SEO Title
-
messagestring requiredExample field must be at most 60 graphemes
-
searchEndpointstringExample /agent/v1/collections/posts/fields/author/options
-
-
messagestring requiredExample entry validation failed
-
retryableboolean requiredExample false
-
-
-
403 Forbidden — insufficient RBAC role capability, CSRF Origin mismatch, post-type restriction, or step-up MFA required.
application/json
-
errorAPIError requiredCanonical error payload returned across all OvertCMS planes.Show 6 fields Hide
-
appliedboolean requiredAlways false on 4xx responses, guaranteeing the mutation was not applied.Example false
-
codestring requiredExample validation_error
-
detailsobject -
issuesarray of ValidationIssueShow 7 fields Hide
-
codestring requiredExample max_length
-
constraintobject -
fieldstringExample seoTitle
-
instructionstringExample Keep SEO titles under 60 characters for search snippet display.
-
labelstringExample SEO Title
-
messagestring requiredExample field must be at most 60 graphemes
-
searchEndpointstringExample /agent/v1/collections/posts/fields/author/options
-
-
messagestring requiredExample entry validation failed
-
retryableboolean requiredExample false
-
-