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
Name | Type | Required | Description |
---|---|---|---|
document_id | string | β | Unique identifier for a compliance document in Deel |
β
Successful Response 200 OK
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
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.