licensy-ai Authentication API

The authentication API from licensy-ai — 9 operation(s) for authentication.

Operations 10

POST /api/v1/auth/create-setup-intent Create Stripe SetupIntent #
POST /api/v1/auth/login User login #
POST /api/v1/auth/check-user Check if user exists #
POST /api/v1/auth/check-email Check if email is already registered #
POST /api/v1/auth/signup User registration #
GET /api/v1/auth/me Get user profile #
PATCH /api/v1/auth/me Update user profile #
POST /api/v1/auth/logout User logout #
POST /api/v1/auth/change-password Change user password #
GET /api/v1/auth/auth/google Google OAuth callback #

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/licensy-ai:licensy-ai-authentication-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

licensy-ai-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Authentication API
  version: 0.1.0
tags:
- name: Authentication
paths:
  /api/v1/auth/create-setup-intent:
    post:
      tags:
      - Authentication
      summary: Create Stripe SetupIntent
      description: Create a setup intent for collecting payment method during signup
      operationId: create_setup_intent_api_v1_auth_create_setup_intent_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Create Setup Intent Api V1 Auth Create Setup Intent Post
  /api/v1/auth/login:
    post:
      tags:
      - Authentication
      summary: User login
      description: Login with email and password to get access token
      operationId: login_api_v1_auth_login_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Token'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/auth/check-user:
    post:
      tags:
      - Authentication
      summary: Check if user exists
      description: Check if user exists in auth.users table and validate credentials
      operationId: check_user_api_v1_auth_check_user_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckUserRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Check User Api V1 Auth Check User Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/auth/check-email:
    post:
      tags:
      - Authentication
      summary: Check if email is already registered
      description: Check if an email address is already registered in the system
      operationId: check_email_api_v1_auth_check_email_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckEmailRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Check Email Api V1 Auth Check Email Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/auth/signup:
    post:
      tags:
      - Authentication
      summary: User registration
      description: Register a new user account with additional profile information
      operationId: signup_api_v1_auth_signup_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignupRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Signup Api V1 Auth Signup Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/auth/me:
    get:
      tags:
      - Authentication
      summary: Get user profile
      description: Get the current user's profile information
      operationId: get_user_profile_api_v1_auth_me_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserProfile'
      security:
      - HTTPBearer: []
    patch:
      tags:
      - Authentication
      summary: Update user profile
      description: Update the current user's profile information
      operationId: update_user_profile_api_v1_auth_me_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProfileUpdate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserProfile'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/auth/logout:
    post:
      tags:
      - Authentication
      summary: User logout
      description: Logout the current user
      operationId: logout_api_v1_auth_logout_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Logout Api V1 Auth Logout Post
      security:
      - HTTPBearer: []
  /api/v1/auth/change-password:
    post:
      tags:
      - Authentication
      summary: Change user password
      description: Change the current user's password
      operationId: change_password_api_v1_auth_change_password_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangePasswordRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Change Password Api V1 Auth Change Password Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/auth/auth/google:
    get:
      tags:
      - Authentication
      summary: Google OAuth callback
      description: Handle Google OAuth callback and create/authenticate user
      operationId: auth_google_callback_api_v1_auth_auth_google_get
      parameters:
      - name: code
        in: query
        required: true
        schema:
          type: string
          title: Code
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Token'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    NewOrganization:
      properties:
        slug:
          type: string
          title: Slug
        name:
          type: string
          title: Name
      type: object
      required:
      - slug
      - name
      title: NewOrganization
    SignupRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
        password:
          type: string
          title: Password
        full_name:
          type: string
          title: Full Name
        organization:
          anyOf:
          - type: string
          - type: 'null'
          title: Organization
        organizations:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Organizations
        new_organizations:
          anyOf:
          - items:
              $ref: '#/components/schemas/NewOrganization'
            type: array
          - type: 'null'
          title: New Organizations
        user_type:
          $ref: '#/components/schemas/UserType'
        api_usage_info:
          anyOf:
          - $ref: '#/components/schemas/APIUsageInfo'
          - type: 'null'
        setup_intent_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Setup Intent Id
      type: object
      required:
      - email
      - password
      - full_name
      - user_type
      title: SignupRequest
    APIUsageInfo:
      properties:
        purpose_of_use:
          type: string
          title: Purpose Of Use
        estimated_monthly_calls:
          type: integer
          title: Estimated Monthly Calls
        preferred_data_format:
          $ref: '#/components/schemas/DataFormat'
      type: object
      required:
      - purpose_of_use
      - estimated_monthly_calls
      - preferred_data_format
      title: APIUsageInfo
    ProfileUpdate:
      properties:
        full_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Full Name
        avatar_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Avatar Url
        phone_number:
          anyOf:
          - type: string
          - type: 'null'
          title: Phone Number
      type: object
      title: ProfileUpdate
    UserProfile:
      properties:
        id:
          type: string
          title: Id
        email:
          type: string
          title: Email
        full_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Full Name
        avatar_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Avatar Url
        phone_number:
          anyOf:
          - type: string
          - type: 'null'
          title: Phone Number
      type: object
      required:
      - id
      - email
      title: UserProfile
    ChangePasswordRequest:
      properties:
        current_password:
          type: string
          title: Current Password
        new_password:
          type: string
          title: New Password
      type: object
      required:
      - current_password
      - new_password
      title: ChangePasswordRequest
    CheckUserRequest:
      properties:
        email:
          type: string
          title: Email
        password:
          type: string
          title: Password
      type: object
      required:
      - email
      - password
      title: CheckUserRequest
    CheckEmailRequest:
      properties:
        email:
          type: string
          title: Email
      type: object
      required:
      - email
      title: CheckEmailRequest
    Token:
      properties:
        access_token:
          type: string
          title: Access Token
        token_type:
          type: string
          title: Token Type
          default: bearer
      type: object
      required:
      - access_token
      title: Token
    UserType:
      type: string
      enum:
      - individual_physician
      - clinic_or_practice
      - enterprise_admin
      - developer
      title: UserType
    LoginRequest:
      properties:
        email:
          type: string
          title: Email
        password:
          type: string
          title: Password
      type: object
      required:
      - email
      - password
      title: LoginRequest
      examples:
      - email: user@example.com
        password: your_password
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DataFormat:
      type: string
      enum:
      - json
      - csv
      title: DataFormat
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer