Deel · Capability

Endpoints — subpackage_eorWorkerDocuments

Endpoints — subpackage_eorWorkerDocuments. 1 operations. Lead operation: List HR verification letters and documents. Self-contained Naftiko capability covering one Deel business surface.

Run with Naftiko Deelsubpackage_eorWorkerDocuments

What You Can Do

GET
Geteorworkerhrdocuments — List HR verification letters and documents
/v1/eor/workers/contracts/{contract-id}/hr-documents

MCP Tools

list-hr-verification-letters-and

List HR verification letters and documents

read-only idempotent

Capability Spec

platform-endpoints-subpackage-eorworkerdocuments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Endpoints — subpackage_eorWorkerDocuments
  description: 'Endpoints — subpackage_eorWorkerDocuments. 1 operations. Lead operation: List HR verification letters and
    documents. Self-contained Naftiko capability covering one Deel business surface.'
  tags:
  - Deel
  - subpackage_eorWorkerDocuments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEEL_API_KEY: DEEL_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-endpoints-subpackage-eorworkerdocuments
    baseUri: https://api.letsdeel.com/rest/v2
    description: Endpoints — subpackage_eorWorkerDocuments business capability. Self-contained, no shared references.
    resources:
    - name: eor-workers-contracts-contract_id-hr-documents
      path: /eor/workers/contracts/{contract_id}/hr-documents
      operations:
      - name: geteorworkerhrdocuments
        method: GET
        description: List HR verification letters and documents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contract_id
          in: path
          type: string
          description: The unique identifier of the employee contract.
          required: true
        - name: Authorization
          in: header
          type: string
          description: '## Authentication'
          required: true
    authentication:
      type: bearer
      token: '{{env.DEEL_API_KEY}}'
  exposes:
  - type: rest
    namespace: platform-endpoints-subpackage-eorworkerdocuments-rest
    port: 8080
    description: REST adapter for Endpoints — subpackage_eorWorkerDocuments. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/eor/workers/contracts/{contract-id}/hr-documents
      name: eor-workers-contracts-contract-id-hr-documents
      description: REST surface for eor-workers-contracts-contract_id-hr-documents.
      operations:
      - method: GET
        name: geteorworkerhrdocuments
        description: List HR verification letters and documents
        call: platform-endpoints-subpackage-eorworkerdocuments.geteorworkerhrdocuments
        with:
          contract_id: rest.contract_id
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-endpoints-subpackage-eorworkerdocuments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Endpoints — subpackage_eorWorkerDocuments. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-hr-verification-letters-and
      description: List HR verification letters and documents
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-endpoints-subpackage-eorworkerdocuments.geteorworkerhrdocuments
      with:
        contract_id: tools.contract_id
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.