Site Qwality Security API

Self-service authentication settings: passwords, OAuth providers, passkeys, TOTP.

GitHub OpenAPI

Operations 16

GET /account/security/methods Get the authenticated member's available sign-in methods #
DELETE /account/security/oauth/{provider} Stop a provider signing in to the authenticated member #
POST /account/security/oauth/{provider}/complete Attach the provider after confirming the same member, organization and email #
GET /account/security/oauth/{provider}/start Start attaching Google or GitHub to the currently signed-in member #
POST /account/security/passkeys/register/complete Passkey register complete #
POST /account/security/passkeys/register/start Passkey register start #
DELETE /account/security/passkeys/{id} Passkey delete #
DELETE /account/security/password Remove the member's password. #
POST /account/security/password/change Change a password. Verifies the current password before applying the new one #
POST /account/security/password/set Set a password on an account that doesn't have one yet (magic-link / OAuth… #
DELETE /account/security/totp Totp delete #
POST /account/security/totp/complete Totp complete #
POST /account/security/totp/recovery-codes Recovery codes #
POST /account/security/totp/start Totp start #
POST /auth/step-up/start Start step up #
POST /auth/step-up/verify Verify step up #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/siteqwality-com:siteqwality-com-security-api"
All apis
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.

Get an API 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 Specification

siteqwality-com-security-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Siteqwality Com Security API
  version: 0.1.0
  contact:
    name: Site Qwality Support
    url: https://siteqwality.com
    email: support@siteqwality.com
  license:
    name: Proprietary
  description: 'Operations tagged Security 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: Security
  description: 'Self-service authentication settings: passwords, OAuth providers, passkeys, TOTP.'
paths:
  /account/security/methods:
    get:
      tags:
      - Security
      summary: Get the authenticated member's available sign-in methods
      operationId: get_security_methods
      responses:
        '200':
          description: Sign-in methods overview
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityMethodsResponse'
        '401':
          description: Missing or invalid authentication
        '403':
          description: Endpoint requires a user session
        '500':
          description: Internal server error
        '502':
          description: Sign-in service unavailable
      security:
      - bearer_auth: []
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/oauth/{provider}:
    delete:
      tags:
      - Security
      summary: Stop a provider signing in to the authenticated member
      description: Sign-in with the provider is refused until it is connected again.
      operationId: disconnect_oauth_provider
      parameters:
      - name: provider
        in: path
        description: '"google" or "github"'
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Provider disconnected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecuritySimpleResponse'
        '401':
          description: Missing or invalid authentication
        '403':
          description: Endpoint requires a user session
        '404':
          description: Unknown provider
        '500':
          description: Internal server error
      security:
      - bearer_auth: []
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/oauth/{provider}/complete:
    post:
      tags:
      - Security
      summary: Attach the provider after confirming the same member, organization and email
      operationId: complete_oauth_connect
      parameters:
      - name: provider
        in: path
        description: '"google" or "github"'
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OAuthConnectCompleteRequest'
        required: true
      responses:
        '200':
          description: Provider connected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecuritySimpleResponse'
        '400':
          description: Missing session token or email mismatch
        '401':
          description: Missing or invalid authentication
        '403':
          description: Endpoint requires a user session
        '404':
          description: Unknown provider
        '500':
          description: Internal server error
        '502':
          description: Sign-in service unavailable
      security:
      - bearer_auth: []
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/oauth/{provider}/start:
    get:
      tags:
      - Security
      summary: Start attaching Google or GitHub to the currently signed-in member
      description: 'Returns an org-scoped Stytch start URL (not discovery). The SPA navigates

        the browser there; after consent Stytch redirects to the dashboard

        callback with a token that `complete_oauth_connect` consumes.'
      operationId: start_oauth_connect
      parameters:
      - name: provider
        in: path
        description: '"google" or "github"'
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OAuth start URL
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthConnectStartResponse'
        '401':
          description: Missing or invalid authentication
        '403':
          description: Endpoint requires a user session
        '404':
          description: Unknown provider
        '500':
          description: Internal server error
      security:
      - bearer_auth: []
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/passkeys/register/complete:
    post:
      tags:
      - Security
      operationId: passkey_register_complete
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasskeyRegisterCompleteRequest'
        required: true
      responses:
        '200':
          description: Passkey registered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasskeyRegisterCompleteResponse'
        '400':
          description: Invalid passkey ceremony
      security:
      - bearer_auth: []
      summary: Passkey register complete
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/passkeys/register/start:
    post:
      tags:
      - Security
      operationId: passkey_register_start
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasskeyRegisterStartRequest'
        required: true
      responses:
        '200':
          description: Passkey creation options
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasskeyRegisterStartResponse'
        '400':
          description: Invalid label or passkey limit
        '403':
          description: Security confirmation required
      security:
      - bearer_auth: []
      summary: Passkey register start
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/passkeys/{id}:
    delete:
      tags:
      - Security
      operationId: passkey_delete
      parameters:
      - name: id
        in: path
        description: Passkey id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Passkey removed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecuritySimpleResponse'
        '404':
          description: Passkey not found
      security:
      - bearer_auth: []
      summary: Passkey delete
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/password:
    delete:
      tags:
      - Security
      summary: Remove the member's password.
      operationId: delete_password
      responses:
        '200':
          description: Password removed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecuritySimpleResponse'
        '401':
          description: Missing or invalid authentication
        '403':
          description: Endpoint requires a user session
        '500':
          description: Internal server error
        '502':
          description: Sign-in service unavailable
      security:
      - bearer_auth: []
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/password/change:
    post:
      tags:
      - Security
      summary: Change a password. Verifies the current password before applying the new one
      operationId: change_password
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangePasswordRequest'
        required: true
      responses:
        '200':
          description: Password changed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecuritySimpleResponse'
        '400':
          description: Invalid new password
        '401':
          description: Current password is incorrect
        '403':
          description: Endpoint requires a user session
        '500':
          description: Internal server error
        '502':
          description: Sign-in service unavailable
      security:
      - bearer_auth: []
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/password/set:
    post:
      tags:
      - Security
      summary: Set a password on an account that doesn't have one yet (magic-link / OAuth…
      operationId: set_password
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetPasswordRequest'
        required: true
      responses:
        '200':
          description: Password set
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecuritySimpleResponse'
        '400':
          description: Invalid password
        '401':
          description: Missing or invalid authentication
        '403':
          description: Endpoint requires a user session
        '500':
          description: Internal server error
        '502':
          description: Sign-in service unavailable
      security:
      - bearer_auth: []
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/totp:
    delete:
      tags:
      - Security
      operationId: totp_delete
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TotpDisableRequest'
        required: true
      responses:
        '200':
          description: Authenticator disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecuritySimpleResponse'
      security:
      - bearer_auth: []
      summary: Totp delete
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/totp/complete:
    post:
      tags:
      - Security
      operationId: totp_complete
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TotpCompleteRequest'
        required: true
      responses:
        '200':
          description: Authenticator enabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecuritySimpleResponse'
      security:
      - bearer_auth: []
      summary: Totp complete
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/totp/recovery-codes:
    post:
      tags:
      - Security
      operationId: recovery_codes
      responses:
        '200':
          description: New recovery codes
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecoveryCodesResponse'
      security:
      - bearer_auth: []
      summary: Recovery codes
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /account/security/totp/start:
    post:
      tags:
      - Security
      operationId: totp_start
      responses:
        '200':
          description: Authenticator setup
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TotpStartResponse'
      security:
      - bearer_auth: []
      summary: Totp start
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /auth/step-up/start:
    post:
      tags:
      - Security
      operationId: start_step_up
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StepUpStartRequest'
        required: true
      responses:
        '200':
          description: Security confirmation sent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StepUpStartResponse'
      security:
      - bearer_auth: []
      summary: Start step up
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /auth/step-up/verify:
    post:
      tags:
      - Security
      operationId: verify_step_up
      parameters:
      - name: X-SQ-Session-Token
        in: header
        description: Current opaque session token. The legacy X-Stytch-Session-Token header is also accepted.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StepUpVerifyRequest'
        required: true
      responses:
        '200':
          description: Security change confirmed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StepUpVerifyResponse'
      security:
      - bearer_auth: []
      summary: Verify step up
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
components:
  schemas:
    StepUpAction:
      type: string
      description: A sensitive action that may need a fresh email step-up.
      enum:
      - set_password
      - change_password
      - disable_totp
      - regenerate_recovery_codes
      - add_passkey
      - connect_device
    StepUpStartRequest:
      type: object
      required:
      - action
      properties:
        action:
          $ref: '#/components/schemas/StepUpAction'
    PasskeyRegisterStartResponse:
      type: object
      required:
      - ceremony_id
      - public_key_credential_creation_options
      properties:
        ceremony_id:
          type: string
          format: uuid
        public_key_credential_creation_options:
          type: string
          description: 'Opaque JSON string. The browser passes this straight to

            `navigator.credentials.create()` after parsing.'
    SecuritySimpleResponse:
      type: object
      required:
      - ok
      properties:
        ok:
          type: boolean
    PasskeyRegisterCompleteResponse:
      type: object
      required:
      - created_at
      - id
      - label
      properties:
        created_at:
          type: string
          format: date-time
        id:
          type: string
        label:
          type: string
    TotpDisableRequest:
      type: object
      description: '`DELETE /account/security/totp`: a current code, or a `disable_totp` step-up grant.'
      properties:
        totp_code:
          type:
          - string
          - 'null'
        recovery_code:
          type:
          - string
          - 'null'
    PasskeyRegisterStartRequest:
      type: object
      required:
      - label
      properties:
        label:
          type: string
          description: Human label for the passkey (e.g., "iPhone 15 Pro").
    PasskeyRegisterCompleteRequest:
      type: object
      required:
      - ceremony_id
      - public_key_credential
      - label
      properties:
        ceremony_id:
          type: string
          format: uuid
        public_key_credential:
          type: string
          description: Opaque JSON string from `navigator.credentials.create()`.
        label:
          type: string
    StepUpVerifyRequest:
      type: object
      required:
      - challenge_handle
      - code
      properties:
        challenge_handle:
          type: string
        code:
          type: string
    TotpCompleteRequest:
      type: object
      required:
      - totp_code
      properties:
        totp_code:
          type: string
          description: 6-digit code from the user's authenticator app.
    SecurityMethodsResponse:
      type: object
      required:
      - has_password
      - oauth_providers
      - passkeys
      - totp_enabled
      properties:
        has_password:
          type: boolean
        password_set_at:
          type:
          - string
          - 'null'
          format: date-time
        oauth_providers:
          type: array
          items:
            $ref: '#/components/schemas/OAuthProviderInfo'
        passkeys:
          type: array
          items:
            $ref: '#/components/schemas/PasskeyInfo'
        totp_enabled:
          type: boolean
    ChangePasswordRequest:
      type: object
      required:
      - current_password
      - new_password
      properties:
        current_password:
          type: string
        new_password:
          type: string
    StepUpVerifyResponse:
      type: object
      required:
      - ok
      properties:
        ok:
          type: boolean
    OAuthConnectCompleteRequest:
      type: object
      description: Complete an in-session OAuth provider attach.
      required:
      - oauth_token
      properties:
        oauth_token:
          type: string
          description: Token from the Stytch redirect (`?token=` on the callback URL).
    StepUpStartResponse:
      type: object
      required:
      - challenge_handle
      - expires_in
      - code_length
      properties:
        challenge_handle:
          type: string
        expires_in:
          type: integer
          format: int64
          minimum: 0
        code_length:
          type: integer
          format: int32
          minimum: 0
    OAuthProviderInfo:
      type: object
      required:
      - provider
      - connected_email
      properties:
        provider:
          type: string
          description: 'Provider identifier: "google" or "github".'
        connected_email:
          type: string
    RecoveryCodesResponse:
      type: object
      description: '`POST /account/security/totp/recovery-codes`.'
      required:
      - recovery_codes
      properties:
        recovery_codes:
          type: array
          items:
            type: string
    SetPasswordRequest:
      type: object
      required:
      - password
      properties:
        password:
          type: string
    OAuthConnectStartResponse:
      type: object
      description: Start URL for attaching an OAuth provider while already signed in.
      required:
      - url
      properties:
        url:
          type: string
          description: Stytch public OAuth start URL. The browser navigates here directly.
    TotpStartResponse:
      type: object
      required:
      - secret
      - qr_code_url
      - recovery_codes
      properties:
        secret:
          type: string
          description: Base32-encoded TOTP secret (for "enter manually" UX).
        qr_code_url:
          type: string
          description: '`otpauth://` URL, rendered as a QR code on the client.'
        recovery_codes:
          type: array
          items:
            type: string
          description: One-time recovery codes. Shown once; never recoverable.
    PasskeyInfo:
      type: object
      required:
      - id
      - label
      - added_at
      properties:
        id:
          type: string
        label:
          type: string
        added_at:
          type: string
          format: date-time
        last_used_at:
          type:
          - string
          - 'null'
          format: date-time
  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