Alleva Facilities API

The Facilities API from Alleva — 8 operation(s) for facilities.

Operations 8

PATCH /facilities/{id}/npi Update facilities by id npi #
PATCH /v{version}/facilities/{id}/npi Update v{version} facilities by id npi #
GET /facilities Get facilities #
GET /v{version}/facilities Get v{version} facilities #
GET /facilities/{id} Get facilities by id #
GET /v{version}/facilities/{id} Get v{version} facilities by id #

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/alleva-facilities-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

alleva-facilities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Alleva Rest Facilities API
  version: '1.0'
security:
- Bearer: []
tags:
- name: Facilities
paths:
  /facilities/{id}/logo:
    post:
      tags:
      - Facilities
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/FacilityLogoData'
          application/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/FacilityLogoData'
          text/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/FacilityLogoData'
          application/*+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/FacilityLogoData'
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
      summary: Create facilities by id logo
      x-summary-source: derived
      operationId: postFacilitiesByIdLogo
      x-operation-id-source: derived
  /v{version}/facilities/{id}/logo:
    post:
      tags:
      - Facilities
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/FacilityLogoData'
          application/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/FacilityLogoData'
          text/json; ver=1.0:
            schema:
              $ref: '#/components/schemas/FacilityLogoData'
          application/*+json; ver=1.0:
            schema:
              $ref: '#/components/schemas/FacilityLogoData'
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
      summary: Create v{version} facilities by id logo
      x-summary-source: derived
      operationId: postV{version}FacilitiesByIdLogo
      x-operation-id-source: derived
  /facilities/{id}/npi:
    patch:
      tags:
      - Facilities
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              type: string
          application/json; ver=1.0:
            schema:
              type: string
          text/json; ver=1.0:
            schema:
              type: string
          application/*+json; ver=1.0:
            schema:
              type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
      summary: Update facilities by id npi
      x-summary-source: derived
      operationId: patchFacilitiesByIdNpi
      x-operation-id-source: derived
  /v{version}/facilities/{id}/npi:
    patch:
      tags:
      - Facilities
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json; ver=1.0:
            schema:
              type: string
          application/json; ver=1.0:
            schema:
              type: string
          text/json; ver=1.0:
            schema:
              type: string
          application/*+json; ver=1.0:
            schema:
              type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/UpdateResult'
      summary: Update v{version} facilities by id npi
      x-summary-source: derived
      operationId: patchV{version}FacilitiesByIdNpi
      x-operation-id-source: derived
  /facilities:
    get:
      tags:
      - Facilities
      parameters:
      - name: Limit
        in: query
        schema:
          type: integer
          format: int64
      - name: Cursor
        in: query
        schema:
          type: integer
          format: int32
      - name: StartDate
        in: query
        schema:
          type: string
          format: date-time
      - name: EndDate
        in: query
        schema:
          type: string
          format: date-time
      - name: fields
        in: query
        schema:
          type: array
          items:
            type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Facility'
            application/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Facility'
            text/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Facility'
      summary: Get facilities
      x-summary-source: derived
      operationId: getFacilities
      x-operation-id-source: derived
  /v{version}/facilities:
    get:
      tags:
      - Facilities
      parameters:
      - name: Limit
        in: query
        schema:
          type: integer
          format: int64
      - name: Cursor
        in: query
        schema:
          type: integer
          format: int32
      - name: StartDate
        in: query
        schema:
          type: string
          format: date-time
      - name: EndDate
        in: query
        schema:
          type: string
          format: date-time
      - name: fields
        in: query
        schema:
          type: array
          items:
            type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Facility'
            application/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Facility'
            text/json; ver=1.0:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Facility'
      summary: Get v{version} facilities
      x-summary-source: derived
      operationId: getV{version}Facilities
      x-operation-id-source: derived
  /facilities/{id}:
    get:
      tags:
      - Facilities
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/Facility'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/Facility'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/Facility'
      summary: Get facilities by id
      x-summary-source: derived
      operationId: getFacilitiesById
      x-operation-id-source: derived
  /v{version}/facilities/{id}:
    get:
      tags:
      - Facilities
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: api-version
        in: query
        schema:
          type: string
      - name: X-Version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            text/plain; ver=1.0:
              schema:
                $ref: '#/components/schemas/Facility'
            application/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/Facility'
            text/json; ver=1.0:
              schema:
                $ref: '#/components/schemas/Facility'
      summary: Get v{version} facilities by id
      x-summary-source: derived
      operationId: getV{version}FacilitiesById
      x-operation-id-source: derived
components:
  schemas:
    UpdateResult:
      type: object
      properties:
        operationResult:
          $ref: '#/components/schemas/UpdateOperationResult'
        success:
          type: boolean
        id:
          type: integer
          format: int64
        messages:
          type:
          - array
          - 'null'
          items:
            type: string
        reason:
          type:
          - string
          - 'null'
      additionalProperties: false
    FacilityLogoData:
      type: object
      properties:
        fileName:
          type:
          - string
          - 'null'
        base64String:
          type:
          - string
          - 'null'
      additionalProperties: false
    UpdateOperationResult:
      enum:
      - 0
      - 1
      - 2
      - 3
      type: integer
      format: int32
    Facility:
      type: object
      properties:
        id:
          type: integer
          format: int32
        href:
          type:
          - string
          - 'null'
          readOnly: true
        name:
          type:
          - string
          - 'null'
        rehabName:
          type:
          - string
          - 'null'
        domainName:
          type:
          - string
          - 'null'
        email:
          type:
          - string
          - 'null'
        officePhone:
          type:
          - string
          - 'null'
        fax:
          type:
          - string
          - 'null'
        address1:
          type:
          - string
          - 'null'
        address2:
          type:
          - string
          - 'null'
        state:
          type:
          - string
          - 'null'
        city:
          type:
          - string
          - 'null'
        postalCode:
          type:
          - string
          - 'null'
        country:
          type:
          - string
          - 'null'
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: "JWT Authorization header using the Bearer scheme. \n\n Enter Bearer [space] and then your token in the text input below.\n\nExample: Bearer 12345abcdef"
      name: Authorization
      in: header