licensy-ai Organizations API

The organizations API from licensy-ai — 5 operation(s) for organizations.

Operations 5

GET /api/v2/orgs/{slug}/physicians Get Org Physicians #
PATCH /api/v2/orgs/{slug}/members/{user_id} Update Org Membership #
POST /api/v2/orgs/{slug}/invite Invite Or Add Physician To Org #
GET /api/v2/orgs/ List Organizations #
GET /api/v2/orgs/me Get My Organizations #

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-organizations-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-organizations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Organizations API
  version: 0.1.0
tags:
- name: Organizations
paths:
  /api/v2/orgs/{slug}/physicians:
    get:
      tags:
      - Organizations
      summary: Get Org Physicians
      description: Get list of physicians for an organization (admin or org staff only)
      operationId: get_org_physicians_api_v2_orgs__slug__physicians_get
      security:
      - HTTPBearer: []
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgPhysiciansResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v2/orgs/{slug}/members/{user_id}:
    patch:
      tags:
      - Organizations
      summary: Update Org Membership
      description: Add or remove organization membership (admin only)
      operationId: update_org_membership_api_v2_orgs__slug__members__user_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MembershipUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Update Org Membership Api V2 Orgs  Slug  Members  User Id  Patch
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v2/orgs/{slug}/invite:
    post:
      tags:
      - Organizations
      summary: Invite Or Add Physician To Org
      description: 'Org staff can invite a physician by email (or add an existing user) to their org roster.

        This creates an auth user if needed and ensures an organization_memberships row exists.'
      operationId: invite_or_add_physician_to_org_api_v2_orgs__slug__invite_post
      security:
      - HTTPBearer: []
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvitePhysicianRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Invite Or Add Physician To Org Api V2 Orgs  Slug  Invite Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v2/orgs/:
    get:
      tags:
      - Organizations
      summary: List Organizations
      description: List all organizations (public endpoint)
      operationId: list_organizations_api_v2_orgs__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                type: array
                title: Response List Organizations Api V2 Orgs  Get
  /api/v2/orgs/me:
    get:
      tags:
      - Organizations
      summary: Get My Organizations
      description: List the current user's organization memberships (org name/slug + membership role)
      operationId: get_my_organizations_api_v2_orgs_me_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MyOrgMembership'
                type: array
                title: Response Get My Organizations Api V2 Orgs Me Get
      security:
      - HTTPBearer: []
components:
  schemas:
    MembershipUpdate:
      properties:
        action:
          type: string
          title: Action
        membership_role:
          anyOf:
          - type: string
          - type: 'null'
          title: Membership Role
          default: physician
      type: object
      required:
      - action
      title: MembershipUpdate
    InvitePhysicianRequest:
      properties:
        email:
          type: string
          title: Email
        full_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Full Name
      type: object
      required:
      - email
      title: InvitePhysicianRequest
    MyOrgMembership:
      properties:
        organization_id:
          type: string
          title: Organization Id
        organization_slug:
          type: string
          title: Organization Slug
        organization_name:
          type: string
          title: Organization Name
        membership_role:
          type: string
          title: Membership Role
      type: object
      required:
      - organization_id
      - organization_slug
      - organization_name
      - membership_role
      title: MyOrgMembership
    PhysicianInfo:
      properties:
        user_id:
          type: string
          title: User Id
        email:
          type: string
          title: Email
        full_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Full Name
        report_count:
          type: integer
          title: Report Count
          default: 0
        latest_update:
          anyOf:
          - type: string
          - type: 'null'
          title: Latest Update
        membership_role:
          type: string
          title: Membership Role
          default: physician
      type: object
      required:
      - user_id
      - email
      title: PhysicianInfo
    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
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    OrgPhysiciansResponse:
      properties:
        organization_slug:
          type: string
          title: Organization Slug
        organization_name:
          type: string
          title: Organization Name
        physicians:
          items:
            $ref: '#/components/schemas/PhysicianInfo'
          type: array
          title: Physicians
        total_count:
          type: integer
          title: Total Count
      type: object
      required:
      - organization_slug
      - organization_name
      - physicians
      - total_count
      title: OrgPhysiciansResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer