Apideck · Capability

Apideck HRIS API — Companies

Apideck HRIS API — Companies. 5 operations. Lead operation: Apideck List Companies. Self-contained Naftiko capability covering one Apideck business surface.

Run with Naftiko ApideckCompanies

What You Can Do

GET
Companiesall — Apideck List Companies
/v1/hris/companies
POST
Companiesadd — Apideck Create Company
/v1/hris/companies
GET
Companiesone — Apideck Get Company
/v1/hris/companies/{id}
PATCH
Companiesupdate — Apideck Update Company
/v1/hris/companies/{id}
DELETE
Companiesdelete — Apideck Delete Company
/v1/hris/companies/{id}

MCP Tools

apideck-list-companies

Apideck List Companies

read-only idempotent
apideck-create-company

Apideck Create Company

apideck-get-company

Apideck Get Company

read-only idempotent
apideck-update-company

Apideck Update Company

idempotent
apideck-delete-company

Apideck Delete Company

idempotent

Capability Spec

hris-companies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apideck HRIS API — Companies
  description: 'Apideck HRIS API — Companies. 5 operations. Lead operation: Apideck List Companies. Self-contained Naftiko
    capability covering one Apideck business surface.'
  tags:
  - Apideck
  - Companies
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APIDECK_API_KEY: APIDECK_API_KEY
capability:
  consumes:
  - type: http
    namespace: hris-companies
    baseUri: https://unify.apideck.com
    description: Apideck HRIS API — Companies business capability. Self-contained, no shared references.
    resources:
    - name: hris-companies
      path: /hris/companies
      operations:
      - name: companiesall
        method: GET
        description: Apideck List Companies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: companiesadd
        method: POST
        description: Apideck Create Company
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: hris-companies-id
      path: /hris/companies/{id}
      operations:
      - name: companiesone
        method: GET
        description: Apideck Get Company
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: companiesupdate
        method: PATCH
        description: Apideck Update Company
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: companiesdelete
        method: DELETE
        description: Apideck Delete Company
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.APIDECK_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: hris-companies-rest
    port: 8080
    description: REST adapter for Apideck HRIS API — Companies. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/hris/companies
      name: hris-companies
      description: REST surface for hris-companies.
      operations:
      - method: GET
        name: companiesall
        description: Apideck List Companies
        call: hris-companies.companiesall
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: companiesadd
        description: Apideck Create Company
        call: hris-companies.companiesadd
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/hris/companies/{id}
      name: hris-companies-id
      description: REST surface for hris-companies-id.
      operations:
      - method: GET
        name: companiesone
        description: Apideck Get Company
        call: hris-companies.companiesone
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: companiesupdate
        description: Apideck Update Company
        call: hris-companies.companiesupdate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: companiesdelete
        description: Apideck Delete Company
        call: hris-companies.companiesdelete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hris-companies-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apideck HRIS API — Companies. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: apideck-list-companies
      description: Apideck List Companies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hris-companies.companiesall
      outputParameters:
      - type: object
        mapping: $.
    - name: apideck-create-company
      description: Apideck Create Company
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: hris-companies.companiesadd
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apideck-get-company
      description: Apideck Get Company
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hris-companies.companiesone
      outputParameters:
      - type: object
        mapping: $.
    - name: apideck-update-company
      description: Apideck Update Company
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: hris-companies.companiesupdate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apideck-delete-company
      description: Apideck Delete Company
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: hris-companies.companiesdelete
      outputParameters:
      - type: object
        mapping: $.