Admin API (Dashboard & Team) Authentication & MFA
Bootstrap initial organization Owner
/admin-api/v1/auth/setup Creates the first owner account when 0 users exist and sets HttpOnly overtcms_access and overtcms_refresh cookies. Returns 409 setup_already_completed once any user exists.
Authentication
Public. No credentials are needed.
Request body application/json required
-
displayNamestringExample Ada Lovelace
-
emailstring, email requiredExample owner@example.com
-
passwordstring, password requiredmin length 8, Example StrongPassw0rd!
Responses
-
201 Initial owner created and authenticated.
application/json
-
accessTokenstring -
expiresAtstring, date-time nullable -
mfaChallengeTokenstring -
mfaEnrollmentRequiredboolean -
mfaMethodsarray of string -
mfaRequiredboolean -
refreshTokenstring -
sessionUserSessionShow 10 fields Hide
-
createdAtstring, date-time required -
expiresAtstring, date-time required -
familyIdstring, uuid required -
idstring, uuid required -
ipAddressstring -
mfaVerifiedAtstring, date-time nullable -
revokedAtstring, date-time nullable -
rotatedAtstring, date-time nullable -
userAgentstring -
userIdstring, uuid required
-
-
userUserShow 16 fields Hide
-
allowedPostTypesarray of string required -
avatarAssetIdstring, uuid -
biostring -
createdAtstring, date-time required -
displayNamestring requiredExample Ada Lovelace
-
emailstring, email requiredExample owner@example.com
-
idstring, uuid required -
linkedAuthorEntryIdstring, uuid -
localestring requiredExample en
-
oidcSubjectstring -
organizationIdstring, uuid required -
rolestring requiredAllowed:
owneradmineditorwriterviewerExample owner
-
statusstring requiredAllowed:
activedisabledExample active
-
timezonestring requiredExample UTC
-
titlestringExample Managing Editor
-
updatedAtstring, date-time required
-
-
-
409 Initial owner setup was already completed.
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
-
-
-
422 Email or password validation failed.
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
-
-