Site Qwality Authentication API
The Authentication API from Site Qwality — 12 operation(s) for authentication.
The Authentication API from Site Qwality — 12 operation(s) for authentication.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/siteqwality-com:siteqwality-com-authentication-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Siteqwality Com Authentication API
version: 0.1.0
contact:
name: Site Qwality Support
url: https://siteqwality.com
email: support@siteqwality.com
license:
name: Proprietary
description: 'Operations tagged Authentication across 2 of this provider''s published API definitions: siteqwality-com-openapi-openapi.json, siteqwality-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.siteqwality.com
description: Production
tags:
- name: Authentication
paths:
/auth/email/confirm:
post:
tags:
- Authentication
operationId: confirm
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EmailConfirmRequest'
required: true
responses:
'200':
description: Email verified
content:
application/json:
schema:
$ref: '#/components/schemas/EmailConfirmResponse'
'400':
description: Invalid verification link
summary: Confirm
x-summary-source: derived
servers:
- url: https://api.siteqwality.com
description: Production
/auth/email/resend-verification:
post:
tags:
- Authentication
summary: Re-send the email verification magic link to the authenticated user
operationId: resend_verification
responses:
'200':
description: Verification email queued
'401':
description: Missing or invalid authentication
'500':
description: Internal server error
security:
- bearer_auth: []
servers:
- url: https://api.siteqwality.com
description: Production
/auth/email/start:
post:
tags:
- Authentication
summary: Send a sign-in link and code, or Stytch's link, to an address.
operationId: start_email_sign_in
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EmailStartRequest'
required: true
responses:
'200':
description: Email sent (or claimed sent, so account existence is not leaked)
content:
application/json:
schema:
$ref: '#/components/schemas/EmailStartResponse'
'400':
description: Invalid email, or `turnstile_required`
'429':
description: '`rate_limited`'
'500':
description: Internal server error
'503':
description: '`email_send_failed` or `auth_unavailable`'
servers:
- url: https://api.siteqwality.com
description: Production
/auth/email/verify:
post:
tags:
- Authentication
summary: Redeem an emailed link or code.
operationId: verify_email_sign_in
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EmailVerifyRequest'
required: true
responses:
'200':
description: Authenticated (with `redirect_path` when one was kept), or MFA required
content:
application/json:
schema:
$ref: '#/components/schemas/LoginResponse'
'400':
description: '`challenge_invalid`, `code_invalid` (with `attempts_remaining`) or `code_locked`'
'403':
description: '`partner_managed`'
'429':
description: '`rate_limited`'
'500':
description: Internal server error
'503':
description: '`auth_unavailable`'
servers:
- url: https://api.siteqwality.com
description: Production
/auth/magic-link/authenticate:
post:
tags:
- Authentication
summary: Complete a magic link authentication.
operationId: authenticate
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MagicLinkAuthenticateRequest'
required: true
responses:
'200':
description: Authenticated, or MFA required
content:
application/json:
schema:
$ref: '#/components/schemas/LoginResponse'
'401':
description: Invalid or expired magic link
'500':
description: Internal server error
servers:
- url: https://api.siteqwality.com
description: Production
/auth/magic-link/send:
post:
tags:
- Authentication
summary: Legacy alias of `POST /auth/email/start`.
operationId: send
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MagicLinkSendRequest'
required: true
responses:
'200':
description: Email sent (or claimed sent, so account existence is not leaked)
content:
application/json:
schema:
$ref: '#/components/schemas/EmailStartResponse'
'400':
description: Invalid email, or `turnstile_required`
'429':
description: '`rate_limited`'
'500':
description: Internal server error
'503':
description: '`email_send_failed` or `auth_unavailable`'
servers:
- url: https://api.siteqwality.com
description: Production
/auth/methods:
get:
tags:
- Authentication
summary: Look up which authentication methods exist for an email.
operationId: methods
parameters:
- name: email
in: query
required: true
schema:
type: string
responses:
'200':
description: Auth methods (always 200 even if email unknown)
content:
application/json:
schema:
$ref: '#/components/schemas/AuthMethodsResponse'
'400':
description: Invalid email
'429':
description: Rate limited
'500':
description: Internal server error
servers:
- url: https://api.siteqwality.com
description: Production
/auth/mfa/verify:
post:
tags:
- Authentication
summary: Complete a login with a TOTP code or a recovery code
operationId: verify_mfa_sign_in
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MfaVerifyRequest'
required: true
responses:
'200':
description: Authenticated (with `redirect_path` when the login kept one)
content:
application/json:
schema:
$ref: '#/components/schemas/LoginResponse'
'400':
description: '`mfa_invalid_code` (with `attempts_remaining`) or `mfa_ticket_invalid`'
'429':
description: '`rate_limited`'
'500':
description: Internal server error
'503':
description: '`auth_unavailable`'
servers:
- url: https://api.siteqwality.com
description: Production
/auth/passkey/start:
post:
tags:
- Authentication
operationId: start_passkey_sign_in
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PasskeyStartRequest'
required: true
responses:
'200':
description: Discoverable passkey options
content:
application/json:
schema:
$ref: '#/components/schemas/PasskeyStartResponse'
'429':
description: Too many attempts
summary: Start passkey sign in
x-summary-source: derived
servers:
- url: https://api.siteqwality.com
description: Production
/auth/passkey/verify:
post:
tags:
- Authentication
operationId: verify_passkey_sign_in
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PasskeyVerifyRequest'
required: true
responses:
'200':
description: Signed in
content:
application/json:
schema:
$ref: '#/components/schemas/LoginResponse'
'400':
description: Passkey verification failed
'429':
description: Too many attempts
summary: Verify passkey sign in
x-summary-source: derived
servers:
- url: https://api.siteqwality.com
description: Production
/auth/sso/start:
post:
tags:
- Authentication
summary: Resolve an email address to its account's SSO start URL, if that domain has an…
operationId: start_sso_sign_in
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SsoStartRequest'
required: true
responses:
'200':
description: Redirect URL, or null when the domain has no active SSO connection
content:
application/json:
schema:
$ref: '#/components/schemas/SsoStartResponse'
'400':
description: Invalid email
'429':
description: Rate limited
'500':
description: Internal server error
servers:
- url: https://api.siteqwality.com
description: Production
/login/sso:
put:
tags:
- Authentication
summary: 'Complete an SSO login: exchange the `token` Stytch appended to the login…'
description: 'Stytch runs the whole IdP dance, so there is no SAML parsing here. The
local user mirror must already exist (created at invite time or by the
SCIM webhook); a member without one is refused rather than auto-created,
which keeps seat accounting and the account linkage in one place.'
operationId: login
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SsoAuthenticateRequest'
required: true
responses:
'200':
description: Authenticated, or MFA required
content:
application/json:
schema:
$ref: '#/components/schemas/LoginResponse'
'401':
description: Invalid SSO token, or no local user for this member
'500':
description: Internal server error
servers:
- url: https://api.siteqwality.com
description: Production
components:
schemas:
EmailStartRequest:
type: object
description: '`POST /auth/email/start`.'
required:
- email
properties:
email:
type: string
turnstile_response:
type:
- string
- 'null'
redirect_path:
type:
- string
- 'null'
description: Where to land after sign-in; silently dropped unless allowlisted.
promotekit_referral:
type:
- string
- 'null'
MagicLinkSendRequest:
type: object
required:
- email
properties:
email:
type: string
redirect_url:
type:
- string
- 'null'
description: 'SPA URL the Stytch email link should redirect to. The SPA reads the
`token` query param and POSTs it to `/auth/magic-link/authenticate`.
Defaults to `${base_frontend_url}/auth/magic-link/callback`. When we
send the email instead, its path and query become the `redirect_path`,
and only on the frontend''s own origin.'
turnstile_response:
type:
- string
- 'null'
description: 'Cloudflare Turnstile token from the sign-in or sign-up widget. Required
wherever Turnstile is configured.'
EmailConfirmRequest:
type: object
description: '`POST /auth/email/confirm`: redeems a `verify_email` link, never a session.'
required:
- token
properties:
token:
type: string
SsoStartResponse:
type: object
description: 'Response for `POST /auth/sso/start`.
Enumeration-safe by construction: the shape is identical whether or not
the domain has SSO, and the status code is always 200. `redirect_url` is
`null` when there is no startable connection, which covers "no such
account", "account without SSO", and "SSO configured but not yet active"
with one indistinguishable answer.'
properties:
redirect_url:
type:
- string
- 'null'
description: Stytch SSO start URL to redirect the browser to, or `null`.
LoginResponse:
oneOf:
- $ref: '#/components/schemas/SessionResponse'
- $ref: '#/components/schemas/MfaRequiredResponse'
description: 'What every login endpoint answers: a session, or the MFA step still owed.
The frontend checks `mfa_required` first.'
SsoAuthenticateRequest:
type: object
description: Body for `POST /login/sso`, which completes the SSO redirect.
required:
- token
properties:
token:
type: string
description: 'The `token` query param Stytch appends to the login redirect URL when
`stytch_token_type=sso`.'
MfaRequiredResponse:
type: object
description: 'Answer of any login endpoint when the member has confirmed TOTP. The
frontend checks `mfa_required` before reading an `AuthResponse`.'
required:
- mfa_required
- pending_token
- methods
properties:
mfa_required:
type: boolean
description: Always true; the discriminator against `AuthResponse`.
pending_token:
type: string
description: '`sqm1_...`, valid 10 minutes for 5 attempts.'
methods:
type: array
items:
$ref: '#/components/schemas/MfaMethod'
redirect_path:
type:
- string
- 'null'
AuthMethodsResponse:
type: object
description: 'What auth methods are configured for a given email. Used by the email-first
login UI to branch between password, magic link, and OAuth.'
required:
- exists
- has_password
- has_oauth_google
- has_passkey
properties:
exists:
type: boolean
description: '`true` if a local account exists for this email.'
has_password:
type: boolean
description: '`true` if the account can authenticate with a password.'
has_oauth_google:
type: boolean
description: '`true` if the account has Google OAuth linked.'
has_passkey:
type: boolean
description: '`true` if the account has a registered WebAuthn passkey.'
MemberInfo:
type: object
description: Full member info returned on every authentication response.
required:
- email
- organization_id
- roles
properties:
name:
type:
- string
- 'null'
email:
type: string
organization_id:
type: string
roles:
type: array
items:
type: string
EmailStartResponse:
type: object
description: Same body whoever sent the email, so it never reveals whether an account exists.
required:
- sent
properties:
sent:
type: boolean
challenge_handle:
type:
- string
- 'null'
description: Null when Stytch sent its own link (no code box).
expires_in:
type:
- integer
- 'null'
format: int64
description: Seconds until the link and code expire.
minimum: 0
code_length:
type:
- integer
- 'null'
format: int32
minimum: 0
PasskeyStartRequest:
type: object
properties:
redirect_path:
type:
- string
- 'null'
MfaVerifyRequest:
type: object
description: '`POST /auth/mfa/verify`: exactly one of `code` and `recovery_code`.'
required:
- pending_token
properties:
pending_token:
type: string
code:
type:
- string
- 'null'
recovery_code:
type:
- string
- 'null'
MagicLinkAuthenticateRequest:
type: object
required:
- token
properties:
token:
type: string
promotekit_referral:
type:
- string
- 'null'
description: 'The PromoteKit referral, recorded on the Stripe customer when this
click creates the account. Ignored when it signs an existing user in.'
PasskeyStartResponse:
type: object
required:
- ceremony_id
- public_key_credential_request_options
properties:
ceremony_id:
type: string
format: uuid
public_key_credential_request_options:
type: string
PasskeyVerifyRequest:
type: object
required:
- ceremony_id
- public_key_credential
properties:
ceremony_id:
type: string
format: uuid
public_key_credential:
type: string
MfaMethod:
type: string
description: A second factor the member can complete MFA with.
enum:
- totp
- recovery_code
SessionResponse:
allOf:
- $ref: '#/components/schemas/AuthResponse'
- type: object
properties:
redirect_path:
type:
- string
- 'null'
description: Sanitized at start; absent on the doors that never take one.
description: A session from a login, plus where the frontend should land.
SsoStartRequest:
type: object
description: Body for `POST /auth/sso/start` (public, unauthenticated).
required:
- email
properties:
email:
type: string
AuthResponse:
type: object
description: Unified authentication response returned by login, signup, and refresh endpoints.
required:
- session_token
- session_jwt
- member
properties:
session_token:
type: string
session_jwt:
type: string
member:
$ref: '#/components/schemas/MemberInfo'
is_new_account:
type: boolean
description: True only when this authentication created a new account.
EmailConfirmResponse:
type: object
required:
- verified
properties:
verified:
type: boolean
EmailVerifyRequest:
type: object
description: '`POST /auth/email/verify`: either `token`, or `challenge_handle` with `code`.'
properties:
token:
type:
- string
- 'null'
challenge_handle:
type:
- string
- 'null'
code:
type:
- string
- 'null'
securitySchemes:
bearer_auth:
type: http
scheme: bearer
bearerFormat: API Key
description: 'Generate an API key in account settings and pass it as `Authorization: Bearer <KEY>`.'
x-refined-from:
- siteqwality-com-openapi-openapi.json
- siteqwality-com-openapi.json