AlayaCare Branches API

Branch related endpoints.

Operations 1

GET /branches Get a list of branches #

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/alayacare-branches-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

alayacare-branches-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Alayacare Branches API
  version: '1.0'
  description: 'Operations tagged Branches across 3 of this provider''s published API definitions: alayacare-client-openapi.yml, alayacare-employee-openapi.yml, alayacare-employee-skills-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: '{server}/ext/api/v2/patients'
  variables:
    server:
      default: https://demo3.alayacare.ca
- url: https://homecare.alayacare.ca/ext/api/v2/employees
tags:
- name: Branches
  description: Branch related endpoints.
paths:
  /branches:
    get:
      tags:
      - Branches
      parameters:
      - $ref: '#/components/parameters/page'
      - $ref: '#/components/parameters/count'
      summary: Get a list of branches
      operationId: listBranches
      description: Returns a paginated list of branches.
      responses:
        '200':
          description: A list of branches
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BranchList'
        '401':
          $ref: '#/components/responses/ErrorResponseAuthentication'
    servers:
    - url: '{server}/ext/api/v2/patients'
      variables:
        server:
          default: https://demo3.alayacare.ca
components:
  schemas:
    ErrorResponse:
      description: Error response
      type: object
      properties:
        code:
          type: integer
          example: 400
          description: Response code
        message:
          type: string
          example: Invalid request
          description: Detailed error message
      required:
      - code
      - message
    BranchProfile:
      description: 'Collection of key/value pairs where keys are existing attributes in the agency profile, defined through

        the AlayaCare web application.

        On the example below default profile keys for the agency profile are used.


        Example profile attributes:

        + `first_name`: string

        + `last_name`: string

        + `city`: string

        + `title`: string

        + `state`: string

        + `gender`: string

        + `relationship`: string

        + `contact_type`: string

        + `fax`: string

        + `company`: string

        + `phone_other`: string

        + `phone_main`: string

        + `address`: string

        + `country`: string

        + `zip`: string

        + `address_suite`: string

        + `remarks`: string

        '
      type: object
      properties:
        name:
          description: Branch company name
          type: string
          example: Alayacare
        phone_main:
          description: Branch main phone number
          type: string
          example: 514-999-9999
    PaginatedList:
      description: Base model of all paginated lists
      type: object
      properties:
        count:
          type: integer
          description: Number of items in the response
          example: 1
        page:
          type: integer
          description: Current page number
          example: 1
        total_pages:
          type: integer
          description: Total number of pages available
          example: 1
        items:
          type: array
          items:
            type: object
      required:
      - count
      - page
      - total_pages
      - items
    Branch:
      description: AlayaCare branch.
      type: object
      properties:
        id:
          type: integer
          description: AlayaCare branch ID
          example: 1
        name:
          type: string
          description: AlayaCare branch name
          example: Toronto branch
        profile:
          $ref: '#/components/schemas/BranchProfile'
      required:
      - id
      - name
    BranchList:
      allOf:
      - $ref: '#/components/schemas/PaginatedList'
      - type: object
        description: Paginated list of branches
        properties:
          items:
            type: array
            items:
              $ref: '#/components/schemas/Branch'
    ErrorResponse_2:
      description: Error response
      type: object
      properties:
        code:
          type: integer
          description: Response code
        message:
          type: string
          description: Detailed error message
      required:
      - code
      - message
    PaginatedList_2:
      description: Base model of all paginated lists
      type: object
      properties:
        count:
          type: integer
          description: Number of items in the response
          example: 1
        page:
          type: integer
          description: Current page number
          example: 1
        total_pages:
          type: integer
          description: Total number of pages availbale
          example: 1
      required:
      - count
      - page
      - total_pages
      - items
    BranchList_2:
      allOf:
      - $ref: '#/components/schemas/PaginatedList_2'
      description: Paginated list of branches
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Branch'
    ErrorResponse_3:
      description: Error response
      type: object
      properties:
        code:
          type: integer
          description: Response code
        message:
          type: string
          description: Detailed error message
      required:
      - code
      - message
    PaginatedList_3:
      description: Base model of all paginated lists
      type: object
      properties:
        count:
          type: integer
          description: Number of items in the response
          example: 1
        page:
          type: integer
          description: Current page number
          example: 1
        total_pages:
          type: integer
          description: Total number of pages availbale
          example: 1
      required:
      - count
      - page
      - total_pages
      - items
    BranchList_3:
      allOf:
      - $ref: '#/components/schemas/PaginatedList_3'
      description: Paginated list of branches
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Branch'
  parameters:
    page:
      description: Filter by page number.
      name: page
      in: query
      required: false
      schema:
        type: integer
        default: 1
    count:
      description: Number of items per page.
      name: count
      in: query
      required: false
      schema:
        type: integer
        default: 100
  responses:
    ErrorResponseAuthentication:
      description: Authorization required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            response:
              value:
                code: 401
                message: Authorization required.
    ErrorResponseAuthentication_2:
      description: Authorization required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse_2'
          example:
            code: 401
            message: Authorization required.
    ErrorResponseAuthentication_3:
      description: Authorization required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse_3'
          example:
            code: 401
            message: Authorization required.
  securitySchemes:
    basic_auth:
      type: http
      description: Basic HTTP auth over https
      scheme: basic
x-refined-from:
- alayacare-client-openapi.yml
- alayacare-employee-openapi.yml
- alayacare-employee-skills-openapi.yml