Deel · Capability
Endpoints — subpackage_eorWorkerAgreements
Endpoints — subpackage_eorWorkerAgreements. 3 operations. Lead operation: Download employee agreement PDF. Self-contained Naftiko capability covering one Deel business surface.
What You Can Do
GET
Downloadworkeremployeeagreement
— Download employee agreement PDF
/v1/eor/workers/contracts/{contract-id}/employee-agreement/download
GET
Downloadworkerofferletter
— Preview job offer letter
/v1/eor/workers/contracts/{contract-id}/offer-letter
POST
Signeorcontractasworker
— Sign a contract
/v1/eor/workers/contracts/{contract-id}/signatures
MCP Tools
download-employee-agreement-pdf
Download employee agreement PDF
read-only
idempotent
preview-job-offer-letter
Preview job offer letter
read-only
idempotent
sign-contract
Sign a contract
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Endpoints — subpackage_eorWorkerAgreements
description: 'Endpoints — subpackage_eorWorkerAgreements. 3 operations. Lead operation: Download employee agreement PDF.
Self-contained Naftiko capability covering one Deel business surface.'
tags:
- Deel
- subpackage_eorWorkerAgreements
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-eorworkeragreements
baseUri: https://api.letsdeel.com/rest/v2
description: Endpoints — subpackage_eorWorkerAgreements business capability. Self-contained, no shared references.
resources:
- name: eor-workers-contracts-contract_id-employee-agreement-download
path: /eor/workers/contracts/{contract_id}/employee-agreement/download
operations:
- name: downloadworkeremployeeagreement
method: GET
description: Download employee agreement PDF
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: version
in: query
type: string
description: Optional version of the Employment Agreement to be signed. If informed and in the case of a mismatch,
the API will return an error.
- name: Authorization
in: header
type: string
description: '## Authentication'
required: true
- name: eor-workers-contracts-contract_id-offer-letter
path: /eor/workers/contracts/{contract_id}/offer-letter
operations:
- name: downloadworkerofferletter
method: GET
description: Preview job offer letter
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: contract_id
in: path
type: string
description: Deel contract id.
required: true
- name: Authorization
in: header
type: string
description: '## Authentication'
required: true
- name: eor-workers-contracts-contract_id-signatures
path: /eor/workers/contracts/{contract_id}/signatures
operations:
- name: signeorcontractasworker
method: POST
description: Sign a contract
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
- name: body
in: body
type: object
description: Request body (JSON).
required: false
authentication:
type: bearer
token: '{{env.DEEL_API_KEY}}'
exposes:
- type: rest
namespace: platform-endpoints-subpackage-eorworkeragreements-rest
port: 8080
description: REST adapter for Endpoints — subpackage_eorWorkerAgreements. One Spectral-compliant resource per consumed
operation, prefixed with /v1.
resources:
- path: /v1/eor/workers/contracts/{contract-id}/employee-agreement/download
name: eor-workers-contracts-contract-id-employee-agreement-download
description: REST surface for eor-workers-contracts-contract_id-employee-agreement-download.
operations:
- method: GET
name: downloadworkeremployeeagreement
description: Download employee agreement PDF
call: platform-endpoints-subpackage-eorworkeragreements.downloadworkeremployeeagreement
with:
contract_id: rest.contract_id
version: rest.version
Authorization: rest.Authorization
outputParameters:
- type: object
mapping: $.
- path: /v1/eor/workers/contracts/{contract-id}/offer-letter
name: eor-workers-contracts-contract-id-offer-letter
description: REST surface for eor-workers-contracts-contract_id-offer-letter.
operations:
- method: GET
name: downloadworkerofferletter
description: Preview job offer letter
call: platform-endpoints-subpackage-eorworkeragreements.downloadworkerofferletter
with:
contract_id: rest.contract_id
Authorization: rest.Authorization
outputParameters:
- type: object
mapping: $.
- path: /v1/eor/workers/contracts/{contract-id}/signatures
name: eor-workers-contracts-contract-id-signatures
description: REST surface for eor-workers-contracts-contract_id-signatures.
operations:
- method: POST
name: signeorcontractasworker
description: Sign a contract
call: platform-endpoints-subpackage-eorworkeragreements.signeorcontractasworker
with:
contract_id: rest.contract_id
Authorization: rest.Authorization
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: platform-endpoints-subpackage-eorworkeragreements-mcp
port: 9090
transport: http
description: MCP adapter for Endpoints — subpackage_eorWorkerAgreements. One tool per consumed operation, routed inline
through this capability's consumes block.
tools:
- name: download-employee-agreement-pdf
description: Download employee agreement PDF
hints:
readOnly: true
destructive: false
idempotent: true
call: platform-endpoints-subpackage-eorworkeragreements.downloadworkeremployeeagreement
with:
contract_id: tools.contract_id
version: tools.version
Authorization: tools.Authorization
outputParameters:
- type: object
mapping: $.
- name: preview-job-offer-letter
description: Preview job offer letter
hints:
readOnly: true
destructive: false
idempotent: true
call: platform-endpoints-subpackage-eorworkeragreements.downloadworkerofferletter
with:
contract_id: tools.contract_id
Authorization: tools.Authorization
outputParameters:
- type: object
mapping: $.
- name: sign-contract
description: Sign a contract
hints:
readOnly: false
destructive: false
idempotent: false
call: platform-endpoints-subpackage-eorworkeragreements.signeorcontractasworker
with:
contract_id: tools.contract_id
Authorization: tools.Authorization
body: tools.body
outputParameters:
- type: object
mapping: $.