Sign-in
The step-based sign-in surface, SAML and the exit surface of a suspended tenant.
#Ask for an independent account recovery (always the same answer)
/auth/account-recoveryRequest body application/jsonrequired
Loading the schema…
Responses
202Accepted; an e-mail goes out only for an eligible account.
No body.
#Cancel the open request from the recovery browser, without a session
/auth/account-recovery/{requestId}/cancelXM-1026 (G-REC-03). Only the browser that the request is bound to can cancel this way. The e-mail's cancel link and a session also cancel.
Path parameters
requestIdrequired | string (uuid) | An account-recovery request id. |
Responses
204Cancelled.
No body.
#P1 — the bound browser presents a trusted device of the account
/auth/account-recovery/{requestId}/evidence/devicePath parameters
requestIdrequired | string (uuid) | An account-recovery request id. |
Responses
200The updated request.application/json
#E2 — the account's own password, or a Google or Microsoft round trip
/auth/account-recovery/{requestId}/evidence/primaryPath parameters
requestIdrequired | string (uuid) | An account-recovery request id. |
Request body application/jsonrequired
Loading the schema…
Responses
200The updated request, or a redirect for a provider round trip.application/json
#P3 — a personal access token of the account, compared by hash
/auth/account-recovery/{requestId}/evidence/tokenPath parameters
requestIdrequired | string (uuid) | An account-recovery request id. |
Request body application/jsonrequired
Loading the schema…
Responses
200The updated request.application/json
#Hand the request to Youniton's support for review
/auth/account-recovery/{requestId}/submitPath parameters
requestIdrequired | string (uuid) | An account-recovery request id. |
Responses
200The submitted request.application/json
#Cancel with the e-mail's single-use link, without signing in
/auth/account-recovery/cancelRequest body application/jsonrequired
Loading the schema…
Responses
204Cancelled (also when it was already ended).
No body.
#The open request of this browser (bound with E1), without a session
/auth/account-recovery/currentXM-1024 (G-REC-01). The recovery page reads its request after an E2 provider round trip and on a reload. The answer is the same 204 when no request is open and when the open request belongs to another browser.
Responses
200The open request of this browser, with the waits and the E2 providers.application/json
204No open request is bound to this browser.
No body.
#E1 — the token from the e-mail's link binds the request to this browser
/auth/account-recovery/emailRequest body application/jsonrequired
Loading the schema…
Responses
200The request with its evidence and what is missing.application/json
#Abandon the current sign-in attempt
/auth/cancelResponses
204The attempt is gone (also when none existed).
No body.
#Issue a pending authenticator secret during a sign-in that requires 2FA
/auth/enrolmentRequest body application/json
Loading the schema…
Responses
201The pending secret as QR code, setup key and URI, valid 10 minutes.application/json
#Confirm the pending secret with a code; returns the recovery codes once and the session (an exit attempt gets its grant, no codes)
/auth/enrolment/confirmRequest body application/jsonrequired
Loading the schema…
Responses
200The attempt view and, for every attempt except an exit attempt, the eight recovery codes (shown once). An exit attempt (intent exit_export, R09) answers only the attempt view in state exit_granted; its factor issues no recovery codes (XM-1072).application/json
#Start an exit attempt bound to one tenant; the same neutral attempt view for any slug
/auth/exit404 tenant.not_found only on a tenant-pinned host (XM-1048: the trusted X-Kanso-Pinned-Tenant of its edge proxy): there a slug that does not name the pinned tenant (another tenant's, an unknown one, one that cannot exist) gets this one answer. Every other host answers every slug with the same neutral attempt view.
Request body application/jsonrequired
Loading the schema…
Responses
200The attempt view with intent exit_export.application/json
#Exchange the one-time entry token for an app session as the user
/auth/impersonation/enterRequest body application/jsonrequired
Loading the schema…
Responses
200The app session now acts as the user; the state for the banner.application/json
#Accept with a password (new or existing account) or with the current session
/auth/invitations/acceptRequest body application/jsonrequired
Loading the schema…
Responses
200The sign-in attempt view — pending_enrolment, pending_second_factor or session with its landing.application/json
#Resolve an invitation token into the landing card
/auth/invitations/lookupRequest body application/jsonrequired
Loading the schema…
Responses
200A usable invitation; Cache-Control no-store.application/json
#The provider's redirect back; continues the attempt
/auth/oidc/{provider}/callbackPath parameters
providerrequired | string | One of: |
Query parameters
code | string | Max length 4096 |
staterequired | string | Max length 256 |
error | string | Max length 256 |
Responses
303To /sign-in/continue (on the console origin, to the console's sign-in page, R10); the outcome is read from GET /auth/state.
No body.
#Start a Google or Microsoft round trip for an intent
/auth/oidc/{provider}/startPath parameters
providerrequired | string | One of: |
Request body application/jsonrequired
Loading the schema…
Responses
200The provider's authorization URL for a top-level navigation.application/json
#Start the console attempt that proves the invited e-mail and enrols TOTP before activation
/auth/operator-invitations/acceptRequest body application/jsonrequired
Loading the schema…
Responses
200The console attempt view after the password step — pending_second_factor for an enrolled existing account, else pending_enrolment (R04, R12).application/json
#Resolve an operator invitation token on the console (one neutral 404 for every invalid token)
/auth/operator-invitations/lookupRequest body application/jsonrequired
Loading the schema…
Responses
200The invitation's name, e-mail, role and expiry.application/json
#Verify an e-mail and password and continue the sign-in
/auth/passwordRequest body application/jsonrequired
Loading the schema…
Responses
200The attempt view after the evaluation — pending_second_factor, pending_enrolment or session with the landing.application/json
#Ask for a password-reset link (always the same answer)
/auth/password-resetRequest body application/jsonrequired
Loading the schema…
Responses
202Accepted; an e-mail goes out only to an active account with a password.
No body.
#Set a new password with the token from the link and continue the sign-in
/auth/password-reset/completeRequest body application/jsonrequired
Loading the schema…
Responses
200The attempt view (pending_second_factor, pending_enrolment or session).application/json
#Read the password rules of an open reset link (the minimum of the strictest tenant)
/auth/password-reset/policyXM-1050 (G-SGN-02; R11). The token goes in the body, never in the address. The answer names no tenant and no account. The completion's limiter applies (per IP, one budget for reads and completions). Every unusable token answers the same 400 password_reset.invalid_token as the completion. The read writes nothing; the link stays open.
Request body application/jsonrequired
Loading the schema…
Responses
200The password rules of the link's account.application/json
#Record a fresh proof for a re-authentication window
/auth/reauthenticateRequest body application/jsonrequired
Loading the schema…
Responses
200The stamp's window and validity, or a redirect URL for a provider round trip.application/json
#Complete the pending sign-in with a recovery code
/auth/recovery-codeRequest body application/jsonrequired
Loading the schema…
Responses
200The attempt view in state session with recoveryCodesRemaining.application/json
#Consume the one-time handoff in the browser that started the attempt
/auth/saml/continueQuery parameters
handoffrequired | string | Pattern |
Responses
303To /sign-in/continue.
No body.
#The neutral SAML exit start's one-time hand-off — to the tenant's IdP, or ending like a refused assertion
/auth/saml/exitRegister §41.10 (c); S04: POST /auth/sso with intent exit_export (the e-mail optional, only a login hint; the tenant is the exit attempt's, XM-1072) answers this app-origin URL and an empty tenant name for every slug — unknown, without SAML, with it — so the API answer reveals neither SAML use nor the IdP. Followed once (60 seconds), by the browser that started it only (another browser gets 401 auth.attempt_expired and its own attempt is untouched; REV-XP11-18): 302 to the tenant's IdP with ForceAuthn (or its HTTP-POST page), else 303 to /sign-in/continue, the attempt ended auth.failed as after an assertion the IdP refused. Following it necessarily shows whoever follows it the tenant's IdP — the credential is entered there; this is inherent to SAML and bounded by the exit start limiter (REV-XP11-16, accepted by the coordinator).
Query parameters
handlerequired | string | Pattern |
Responses
302To the tenant's IdP (no-store, no referrer).
No body.
303To /sign-in/continue, the attempt failed.
No body.
#The one-time page that posts a signed AuthnRequest to an IdP taking only the HTTP-POST binding
/auth/saml/postXM-34 (SAML bindings §3.5): the redirectUrl of the SSO start, a step-up or a test sign-in when the IdP's metadata offers only HTTP-POST. An HTML form carrying the base64 SAMLRequest (enveloped RSA-SHA256 signature), submitted by a nonce'd script; the CSP allows nothing else and form-action only the IdP's origin. The handle is single use and lives 60 seconds.
Query parameters
handlerequired | string | Pattern |
Responses
200The auto-submitting form (text/html, no-store).text/html
#End the current session (and, for SAML with the tenant's opt-in, start the IdP logout)
/auth/sign-outResponses
200Signed out locally; continue the identity provider's logout at redirectUrl.application/json
204Signed out (or there was no session).
No body.
#Resolve the tenant from the work e-mail and start its SAML sign-in
/auth/ssosign_in and invitation need the work e-mail. With intent exit_export (F-PLT-09.R08; XM-1072) the tenant is the browser's started exit attempt's (POST /auth/exit); the e-mail is optional and only the IdP's login hint. That start answers the neutral hand-off of handOffExitSaml and an empty tenant name for every exit slug, and 401 auth.attempt_expired without a started exit attempt. Every intent answers 503 service.unavailable while the service provider is not configured.
Request body application/jsonrequired
Loading the schema…
Responses
200The tenant's name and the IdP redirect URL.application/json
#The current attempt, or the signed-in landing
/auth/stateResponses
200The attempt view, or state session with the landing.application/json
204Neither an attempt nor a session.
No body.
#Start a step-up for a tenant whose policy the session does not yet satisfy
/auth/step-upRequest body application/jsonrequired
Loading the schema…
Responses
200The step-up attempt view (pending_second_factor, pending_enrolment) or, for reason saml, the IdP redirect (F-IDN-04.R05 rule 4; XM-34).application/json
#Verify the authenticator code of the pending sign-in or step-up
/auth/totpRequest body application/jsonrequired
Loading the schema…
Responses
200The attempt view in state session with the landing (or the completed step-up).application/json
#The exit grant's view — tenant, administrator, expiry and the tenant's exports
/exitResponses
200The grant view.application/json
#Request a fresh tenant export (an export-class operation that runs during the suspension)
/exit/exportsExempt from Idempotency-Key (REV-XP11-10): one export runs per tenant at a time, so a retry after a lost 202 cannot start a second one — it answers 409 exit.export_in_progress, and GET /exit lists the running export to continue with.
Responses
202The export in state queued or generating.application/json
#State and manifest summary of one export of the grant's tenant
/exit/exports/{exportId}Path parameters
exportIdrequired | string (uuid) |
Responses
200The export; Retry-After while generating.application/json
#Redirect to a 60-second signed download URL (at most five per grant)
/exit/exports/{exportId}/downloadPath parameters
exportIdrequired | string (uuid) |
Responses
302To the signed URL with Content-Disposition attachment.
No body.
#Revoke the exit grant and clear its cookie
/exit/sign-outResponses
204The grant is revoked.
No body.
#The tenant's assertion consumer service (HTTP-POST binding)
/saml/{tenantId}/acsPath parameters
tenantIdrequired | string (uuid) |
Request body application/x-www-form-urlencodedrequired
Loading the schema…
Responses
303To /auth/saml/continue with a one-time handoff code.
No body.
#The tenant's SAML service-provider metadata (XML) for its IdP
/saml/{tenantId}/metadataThe contract marks this operation public, but the token catalogue (version 7) does not open it to personal tokens. A token call answers 404 route.not_found.
Path parameters
tenantIdrequired | string (uuid) |
Responses
200SP entityID, ACS, SLS and the platform SP certificate(s) as application/samlmetadata+xml.
No body.
#The same over the HTTP-Redirect binding
/saml/{tenantId}/slsPath parameters
tenantIdrequired | string (uuid) |
Query parameters
SAMLRequest | string | Max length 65536 |
SAMLResponse | string | Max length 65536 |
Responses
302The LogoutResponse to the IdP, or /sign-in after an SP-initiated logout.
No body.
#IdP-initiated LogoutRequest or the LogoutResponse to an SP-initiated logout (POST binding)
/saml/{tenantId}/slsPath parameters
tenantIdrequired | string (uuid) |
Responses
200A LogoutResponse (auto-posting form) or a redirect to /sign-in.
No body.
Was this helpful?