AlayaCare Employee Notes API

The Employee Notes API from AlayaCare — 2 operation(s) for employee notes.

Operations 4

GET /employee_notes/{employee_id} Get a list of employee notes by the employee's AlayaCare ID
POST /employee_notes/{employee_id} Create an employee note by the employee's AlayaCare ID
GET /employee_notes/by_id/{external_employee_id} Get a list of employee notes by the employee's external ID
POST /employee_notes/by_id/{external_employee_id} Create an employee note by the employee's external 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/alayacare-employee-notes-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-employee-notes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: External Employee Employee Notes API
  version: 1.0.8
  description: "**AlayaCare IDs:**\nThe following terms are used to reference IDs that identify resources in AlayaCare:\n- employee_id\n- contact_id\n\n**External IDs**\nThe following terms are used to reference IDs that identify resources systems external to AlayaCare:\n- external_employee_id\n- external_contact_id\n\nExternal IDs are required to be unique.\nNo other assumptions are made regarding their format they are treated as strings.\n\n**Remarks**\n- All dates must be in ISO 8601 format with timezone data\n\n**Employee Status Considerations**\n- When updating the `status` of an employee to `terminated`, it is possible to add a `comment`. This `comment` is saved as an Employee Note with a `note_type` of type `terminated`.\n- Updating the `status` of an employee will have repercussions in the AlayaCare application. Please refer to this link for more information: \n  https://alayacare.zendesk.com/hc/en-us/articles/360020774691\n"
servers:
- url: https://homecare.alayacare.ca/ext/api/v2/employees
tags:
- name: Employee Notes
paths:
  /employee_notes/{employee_id}:
    parameters:
    - name: employee_id
      description: AlayaCare ID of the employee
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Employee Notes
      parameters:
      - $ref: '#/components/parameters/page'
      - $ref: '#/components/parameters/count'
      - name: note_type
        description: Filter on the employee note type category
        in: query
        schema:
          type: string
      - name: created_at
        description: 'Filter employee notes by creation date greater or equal than specified value.

          Expected format is ISO 8601.

          Ex: `2018-02-03T08:00:00-05:00`

          '
        in: query
        schema:
          type: string
          format: date-time
      summary: Get a list of employee notes by the employee's AlayaCare ID
      responses:
        '200':
          description: A list of employee notes
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmployeeNotesDetailsList'
        '401':
          $ref: '#/components/responses/ErrorResponseAuthentication'
    post:
      summary: Create an employee note by the employee's AlayaCare ID
      tags:
      - Employee Notes
      description: '* A subset of HTML is accepted in the content. Supported HTML is based upon the following library: https://bleach.readthedocs.io/en/latest/

        * Note `status` is optional, if omitted the employee note will be created with status set to `Active`.

        '
      responses:
        201:
          description: Employee note created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmployeeNotesDetails'
        401:
          $ref: '#/components/responses/ErrorResponseAuthentication'
        400:
          $ref: '#/components/responses/ErrorResponseCreateNoteInvalidRequest'
        404:
          $ref: '#/components/responses/ErrorResponseEmployeeNotFound'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmployeeNotesCreate'
        description: Employee note data in JSON format
        required: true
  /employee_notes/by_id/{external_employee_id}:
    parameters:
    - name: external_employee_id
      description: External ID of the employee
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Employee Notes
      parameters:
      - $ref: '#/components/parameters/page'
      - $ref: '#/components/parameters/count'
      - name: note_type
        description: Filter on the employee note type category
        in: query
        schema:
          type: string
      - name: created_at
        description: 'Filter employee notes by creation date greater or equal than specified value.

          Expected format is ISO 8601.

          Ex: `2018-02-03T08:00:00-05:00`

          '
        in: query
        schema:
          type: string
          format: date-time
      summary: Get a list of employee notes by the employee's external ID
      responses:
        '200':
          description: A list of employee notes
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmployeeNotesDetailsList'
        '401':
          $ref: '#/components/responses/ErrorResponseAuthentication'
    post:
      summary: Create an employee note by the employee's external ID
      tags:
      - Employee Notes
      description: '* A subset of HTML is accepted in the content. Supported HTML is based upon the following library: https://bleach.readthedocs.io/en/latest/

        * Note `status` is optional, if omitted the employee note will be created with status set to `Active`.

        '
      responses:
        201:
          description: Employee note created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmployeeNotesDetails'
        401:
          $ref: '#/components/responses/ErrorResponseAuthentication'
        400:
          $ref: '#/components/responses/ErrorResponseCreateNoteInvalidRequest'
        404:
          $ref: '#/components/responses/ErrorResponseEmployeeNotFound'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmployeeNotesCreate'
        description: Employee note data in JSON format
        required: true
components:
  schemas:
    ErrorResponse:
      description: Error response
      type: object
      properties:
        code:
          type: integer
          description: Response code
        message:
          type: string
          description: Detailed error message
      required:
      - code
      - message
    EmployeeNotesDetailsList:
      allOf:
      - $ref: '#/components/schemas/PaginatedList'
      description: Paginated list of employee notes
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/EmployeeNotesDetails'
    EmployeeNotesDetails:
      description: An employee note
      type: object
      properties:
        id:
          type: integer
          description: ID of the employee note
          example: 123
        status:
          type: string
          default: active
          description: Status of the employee note. Either `active` or `archived`.
          example: active
          enum:
          - active
          - archived
        note_type:
          type: string
          description: Note type category of the employee note
          example: employee_general
        content:
          type: string
          description: Content of the employee note. A subset of HTML is accepted.
          example: Employee requested additional training.
        created_at:
          type: string
          format: date-time
          description: Date employee note was created (ISO 8601)
          example: '2018-07-08T13:30:00+00:00'
        created_by:
          type: integer
          description: AlayaCare ID of the employee who created the employee note.
          example: 1001
    EmployeeNotesCreate:
      description: Employee note data required for creation.
      type: object
      properties:
        status:
          type: string
          default: active
          description: Status of the employee note. Either `active` or `archived`.
          example: active
          enum:
          - active
          - archived
        note_type:
          type: string
          description: Note type category of the employee note
          example: employee_general
        content:
          type: string
          description: Content of the employee note. A subset of HTML is accepted.
          example: Employee requested additional training.
      required:
      - note_type
      - content
    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 availbale
          example: 1
      required:
      - count
      - page
      - total_pages
      - items
  responses:
    ErrorResponseCreateNoteInvalidRequest:
      description: Invalid data submitted for creation
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 400,
            message: Invalid note type
    ErrorResponseEmployeeNotFound:
      description: Employee not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 404
            message: Employee not found.
    ErrorResponseAuthentication:
      description: Authorization required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 401
            message: Authorization required.
  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
  securitySchemes:
    basic_auth:
      type: http
      scheme: basic
      description: Basic HTTP auth over https