GuidesAPI ReferenceChangelog
Changelog
improved

v2.1.90

🚀 New Endpoint: Download Compliance Document

We’ve added a new endpoint to make it easier for you to retrieve submitted compliance documents for EOR workers.

📘 Endpoint

GET /rest/v2/eor/workers/compliance-documents/:document_id/download
API Reference

🔐 Authorization

  • Scopes required: worker:read
  • Allowed token types: OAUTH2:PERSONAL

📄 Description

Retrieves a secure, temporary download link for an employee's submitted compliance document.

📥 Path Parameters

NameTypeRequiredDescription
document_idstringUnique identifier for a compliance document in Deel

✅ Successful Response 200 OK

Returns the download link and its expiration timestamp.

{
  "data": {
    "url": "https://api-prod.letsdeel.com/contract_requirement/12345.pdf",
    "expires_at": "2020-03-31T10:58:49.780Z"
  }
}

 


🚀 New Endpoint Released: GET /v2/benefits/legal-entities/:legal_entity_id/paystubs/:payroll_event_id

We’ve introduced a new endpoint to enhance your integration with external benefits vendors:

📌 Endpoint

GET /v2/benefits/legal-entities/:legal_entity_id/paystubs/:payroll_event_id

📖 Description

Retrieve a specific paystub by payroll event for a legal entity that is integrated with an external benefits vendor. This endpoint simplifies access to payroll-related benefit data, enabling smoother integrations and better data accuracy.

🔐 Required Scopes

  • benefits:read

🔑 Allowed Tokens

  • OAUTH2:ORGANIZATION
  • OAUTH2:PERSONAL
  • PAT:ORGANIZATION
  • PAT:PERSONAL

📚 API Reference

For full details and request/response examples, check out the API documentation.


🛠️ Need help? Reach out via our support channels or contact your integration manager.

📘 Endpoint Update: POST /rest/v2/time_tracking/shifts

What's New

We’ve removed meta property from request and response payload, now you don't need to pass it in your request payload.