OPC Suite HR API

Employees, leave and payroll.

GitHub OpenAPI

Operations 5

GET /api/hrm/employees List hrm/employees #
POST /api/hrm/employees Create a employee #
GET /api/hrm/employees/{id} Get a employee #
PATCH /api/hrm/employees/{id} Update a employee #
DELETE /api/hrm/employees/{id} Delete a employee #

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/myopc-io:myopc-io-hr-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

myopc-io-hr-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Myopc Io HR API
  version: 1.0.0
  contact:
    name: OPC Suite Support
    email: support@tsa-ai.com
    url: https://www.myopc.io/developers
  termsOfService: https://www.myopc.io/terms
  description: 'Operations tagged HR across 2 of this provider''s published API definitions: openapi.json, myopc-io-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.myopc.io
  description: OPC Suite
security:
- bearerAuth: []
- oauth2: []
tags:
- name: HR
  description: Employees, leave and payroll.
paths:
  /api/hrm/employees:
    get:
      tags:
      - HR
      summary: List hrm/employees
      operationId: list_hrm
      security:
      - bearerAuth:
        - hrm.read
      - oauth2:
        - hrm.read
      parameters: []
      responses:
        '200':
          description: A list of hrm/employees.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      tags:
      - HR
      summary: Create a employee
      operationId: create_hrm
      security:
      - bearerAuth:
        - hrm.write
      - oauth2:
        - hrm.write
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: The created employee.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
    servers:
    - url: https://www.myopc.io
      description: OPC Suite
  /api/hrm/employees/{id}:
    get:
      tags:
      - HR
      summary: Get a employee
      operationId: get_hrm
      security:
      - bearerAuth:
        - hrm.read
      - oauth2:
        - hrm.read
      parameters:
      - name: id
        in: path
        required: true
        description: The employee ID.
        schema:
          type: string
      responses:
        '200':
          description: The requested employee.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Not found.
    patch:
      tags:
      - HR
      summary: Update a employee
      operationId: update_hrm
      security:
      - bearerAuth:
        - hrm.write
      - oauth2:
        - hrm.write
      parameters:
      - name: id
        in: path
        required: true
        description: The employee ID.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: The updated employee.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Not found.
    delete:
      tags:
      - HR
      summary: Delete a employee
      operationId: delete_hrm
      security:
      - bearerAuth:
        - hrm.write
      - oauth2:
        - hrm.write
      parameters:
      - name: id
        in: path
        required: true
        description: The employee ID.
        schema:
          type: string
      responses:
        '200':
          description: The employee was deleted.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Not found.
    servers:
    - url: https://www.myopc.io
      description: OPC Suite
components:
  responses:
    Forbidden:
      description: The token lacks the required scope.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
    Unauthorized:
      description: Missing or invalid credentials.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
    SubscriptionRequired:
      description: The account's subscription is not active.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              message:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Personal access token (opc_pat_…) from /dashboard/settings/developer.
    oauth2:
      type: oauth2
      description: OAuth 2.1 authorization code + PKCE.
      flows:
        authorizationCode:
          authorizationUrl: https://www.myopc.io/oauth/authorize
          tokenUrl: https://www.myopc.io/oauth/token
          scopes: {}
x-refined-from:
- openapi.json
- myopc-io-openapi.json
x-provenance:
  method: harvested
  publisher: OPC Suite
  source: https://myopc.io/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)