In this release, we are introducing improvements to EOR endpoints.
Deel Healthcare
In some countries, it is mandatory to have healthcare coverage for employees. The following updates enable you to add healthcare plans to contracts when creating contracts with Deel API.
Retrieve healthcare plans
The EOR country guide endpoint (link) now returns healthcare options available in each country. Below is an example of a US country guide including health insurance providers.
When creating an EOR contract, provide the health insurance plan id in the request payload to indicate the chosen healthcare plan. In the example above, the plan id resides in the following path. data.health_insurance.providers[].plan_groups[].plans[].id
Below is an example request payload to create an EOR contract with the healthcare plan included:
Introducing Deel Webhooks. You can now subscribe to events taking place in Deel.
The complete list of changes in this version is:
Create a webhook
Create a webhook subscription to receive events from Deel. Link.
The following events are supported at the moment:
<th>
Description
</th>
</tr>
<td>
Triggered when a contract is created.
</td>
</tr>
<tr>
<td>
contract.status.updated
</td>
<td>
Triggered when a contract status is updated.
</td>
</tr>
<tr>
<td>
contract.archived
</td>
<td>
Triggered when a contract is archived.
</td>
</tr>
<tr>
<td>
contract.terminated
</td>
<td>
Triggered when a contract is terminated.
</td>
</tr>
Event
contract.created
Other webhook operations
In addition to creating new webhooks you can also:
Retrieve a list of webhooks.
Retrieve a single webhook.
Edit a webhook.
Delete a webhook.
Alternate email
We have added an alternate email field to the worker object in the contract response. You will now be able to see all the alternate email addresses a contract has.
Introducing Employee of Record (EOR) contract quote creation. You can create EOR contracts using the API.
The complete list of changes in this version is:
EOR Country employment guide
Retrieve employment guide per country to determine local compliance laws and rules to hire full-time or part-time employees. Link.
Create an EOR contract
Create an EOR contract quote to hire full-time or part-time employees. Link.
Custom fields Retrieve a contract response includes custom fields (if present).