The Art of Service Auth API

The auth API from The Art of Service — 11 operation(s) for auth.

GitHub OpenAPI

Operations 12

POST /api/auth/register Register #
POST /api/auth/login Login #
POST /api/auth/refresh Refresh Token #
POST /api/auth/password/forgot Forgot Password #
POST /api/auth/password/reset Reset Password #
GET /api/auth/social/providers Social Providers Route #
GET /api/auth/social/{provider}/login Social Login Route #
GET /api/auth/social/{provider}/callback Social Callback Route #
GET /api/auth/sso/lookup Sso Lookup Route #
GET /api/auth/sso/{tenant_id}/login Sso Login Route #
GET /api/auth/sso/{tenant_id}/callback Sso Callback Get Route #
POST /api/auth/sso/{tenant_id}/callback Sso Callback Post Route #

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/theartofservice-com:theartofservice-com-auth-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

theartofservice-com-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TheArtOfService Knowledge Graph Compliance Platform Auth API
  version: 1.0.0
tags:
- name: Auth
paths:
  /api/auth/register:
    post:
      tags:
      - Auth
      summary: Register
      operationId: register_api_auth_register_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/login:
    post:
      tags:
      - Auth
      summary: Login
      operationId: login_api_auth_login_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/refresh:
    post:
      tags:
      - Auth
      summary: Refresh Token
      description: Re-issue a JWT with the latest tier/role from the database.
      operationId: refresh_token_api_auth_refresh_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/auth/password/forgot:
    post:
      tags:
      - Auth
      summary: Forgot Password
      description: 'Request a single-use password reset link.


        Always returns the same response whether or not the email belongs to an

        account (no account enumeration). Rate-limited by client IP via the same

        dependency /login and /register use (5 attempts/minute). The Neo4j

        lookup, token generation, and email send all happen in a background

        task so the response itself returns at the same speed either way; doing

        that work synchronously only for an existing account would be its own

        timing tell.'
      operationId: forgot_password_api_auth_password_forgot_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ForgotPasswordRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/password/reset:
    post:
      tags:
      - Auth
      summary: Reset Password
      description: 'Consume a single-use reset token and set a new password.


        The token is looked up and deleted from Redis in the same step

        (consume_reset_token), so a second attempt with the same token, even a

        legitimate retry, always fails: that is the "invalidate after use"

        requirement, not a bug.'
      operationId: reset_password_api_auth_password_reset_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResetPasswordRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/social/providers:
    get:
      tags:
      - Auth
      summary: Social Providers Route
      description: 'Public endpoint: return list of social OAuth providers with credentials configured.'
      operationId: social_providers_route_api_auth_social_providers_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/auth/social/{provider}/login:
    get:
      tags:
      - Auth
      summary: Social Login Route
      description: Redirect to the social provider's OAuth consent screen.
      operationId: social_login_route_api_auth_social__provider__login_get
      parameters:
      - name: provider
        in: path
        required: true
        schema:
          type: string
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/social/{provider}/callback:
    get:
      tags:
      - Auth
      summary: Social Callback Route
      description: Handle the OAuth callback from a social provider.
      operationId: social_callback_route_api_auth_social__provider__callback_get
      parameters:
      - name: provider
        in: path
        required: true
        schema:
          type: string
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/sso/lookup:
    get:
      tags:
      - Auth
      summary: Sso Lookup Route
      description: 'Public endpoint: look up SSO config by email domain.'
      operationId: sso_lookup_route_api_auth_sso_lookup_get
      parameters:
      - name: domain
        in: query
        required: true
        schema:
          type: string
          title: Domain
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/sso/{tenant_id}/login:
    get:
      tags:
      - Auth
      summary: Sso Login Route
      operationId: sso_login_route_api_auth_sso__tenant_id__login_get
      parameters:
      - name: tenant_id
        in: path
        required: true
        schema:
          type: string
          title: Tenant Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/sso/{tenant_id}/callback:
    get:
      tags:
      - Auth
      summary: Sso Callback Get Route
      description: OIDC callback (GET).
      operationId: sso_callback_get_route_api_auth_sso__tenant_id__callback_get
      parameters:
      - name: tenant_id
        in: path
        required: true
        schema:
          type: string
          title: Tenant Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Auth
      summary: Sso Callback Post Route
      description: SAML callback (POST).
      operationId: sso_callback_post_route_api_auth_sso__tenant_id__callback_post
      parameters:
      - name: tenant_id
        in: path
        required: true
        schema:
          type: string
          title: Tenant Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    RegisterRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
        password:
          type: string
          maxLength: 128
          minLength: 8
          title: Password
        name:
          type: string
          title: Name
        marketing_opt_in:
          type: boolean
          title: Marketing Opt In
          default: false
        utm_source:
          type: string
          title: Utm Source
          default: ''
        utm_medium:
          type: string
          title: Utm Medium
          default: ''
        utm_campaign:
          type: string
          title: Utm Campaign
          default: ''
        utm_content:
          type: string
          title: Utm Content
          default: ''
        utm_term:
          type: string
          title: Utm Term
          default: ''
        referrer:
          type: string
          title: Referrer
          default: ''
      type: object
      required:
      - email
      - password
      - name
      title: RegisterRequest
    ResetPasswordRequest:
      properties:
        token:
          type: string
          title: Token
        new_password:
          type: string
          maxLength: 128
          minLength: 8
          title: New Password
      type: object
      required:
      - token
      - new_password
      title: ResetPasswordRequest
    LoginRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
        password:
          type: string
          title: Password
      type: object
      required:
      - email
      - password
      title: LoginRequest
    ForgotPasswordRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
      type: object
      required:
      - email
      title: ForgotPasswordRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer