BRICK Schema Auth API

The Auth API from BRICK Schema — 5 operation(s) for auth.

Operations 6

GET /brickapi/v1/auth/login Get Login Via Google #
GET /brickapi/v1/auth/is_registered Get Is Registered #
DELETE /brickapi/v1/auth/app_tokens/{app_token} Del Token #
GET /brickapi/v1/auth/app_tokens Get Tokens #
POST /brickapi/v1/auth/app_tokens Gen Token #
GET /brickapi/v1/auth/register Post Register User #

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/brick-auth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

brick-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Brick Server Auth API
  version: 0.1.0
tags:
- name: Auth
paths:
  /brickapi/v1/auth/login:
    get:
      tags:
      - Auth
      summary: Get Login Via Google
      operationId: get_login_via_google_brickapi_v1_auth_login_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /brickapi/v1/auth/is_registered:
    get:
      tags:
      - Auth
      summary: Get Is Registered
      operationId: get_is_registered_brickapi_v1_auth_is_registered_get
      responses:
        '302':
          description: Successful Response
  /brickapi/v1/auth/app_tokens/{app_token}:
    delete:
      tags:
      - Auth
      summary: Del Token
      operationId: del_token_brickapi_v1_auth_app_tokens__app_token__delete
      parameters:
      - description: Token to delete.
        required: true
        schema:
          title: App Token
          type: string
          description: Token to delete.
        name: app_token
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IsSuccess'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /brickapi/v1/auth/app_tokens:
    get:
      tags:
      - Auth
      summary: Get Tokens
      operationId: get_tokens_brickapi_v1_auth_app_tokens_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Get Tokens Brickapi V1 Auth App Tokens Get
                type: array
                items:
                  $ref: '#/components/schemas/TokenResponse'
      security:
      - HTTPBearer: []
    post:
      tags:
      - Auth
      summary: Gen Token
      operationId: gen_token_brickapi_v1_auth_app_tokens_post
      parameters:
      - description: The name of an app the user needs to generate a token for
        required: false
        schema:
          title: App Name
          type: string
          description: The name of an app the user needs to generate a token for
          default: ''
        name: app_name
        in: query
      - description: Expiration time of the requested token in seconds.
        required: false
        schema:
          title: Token Lifetime
          type: integer
          description: Expiration time of the requested token in seconds.
          default: 3600
        name: token_lifetime
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /brickapi/v1/auth/register:
    get:
      tags:
      - Auth
      summary: Post Register User
      operationId: post_register_user_brickapi_v1_auth_register_get
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_post_register_user_brickapi_v1_auth_register_get'
      responses:
        '302':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_post_register_user_brickapi_v1_auth_register_get:
      title: Body_post_register_user_brickapi_v1_auth_register_get
      type: object
      properties:
        is_admin:
          title: Is Admin
          type: boolean
          description: Designate if the user is going to be an admin or not.
          default: false
    TokenResponse:
      title: TokenResponse
      required:
      - token
      - name
      - exp
      type: object
      properties:
        token:
          title: Token
          type: string
          description: JWT token
        name:
          title: Name
          type: string
          description: Associated name with the token
        exp:
          title: Exp
          type: integer
          description: The token's expiration time in unix timestamp
    ValidationError:
      title: ValidationError
      required:
      - loc
      - msg
      - type
      type: object
      properties:
        loc:
          title: Location
          type: array
          items:
            type: string
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
    IsSuccess:
      title: IsSuccess
      type: object
      properties:
        is_success:
          title: Is Success
          type: boolean
          default: true
        reason:
          title: Reason
          type: string
          default: ''
    HTTPValidationError:
      title: HTTPValidationError
      type: object
      properties:
        detail:
          title: Detail
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT