Initial Integration Set Up
In order to integrate with Deel, you will need to create a Deel account and OAuth application, and connect your Deel OAuth application to Finch. See the our full guide for more details.Request Forwarding
The Deel integration supports request forwarding for connections made with theoauth authentication method. Use it to read Deel data that Finch’s standard API doesn’t return, such as a worker’s work location.
Finch sends your request to the Deel API using the connection’s OAuth token and returns Deel’s response unchanged.
methodis the HTTP method Deel expects. Finch’s Deel connection has read-only access (people, contracts, organizations and users), so useGET. Deel returns a403for writes and for routes outside those permissions.routeis the full Deel API path, including/restand the version, for example/rest/v2/people.paramsholds query parameters, such aslimitandoffset.- No
headersordataare required forGETrequests. - Deel’s response body is returned as a string in the
datafield of the Finch response, so parse it as JSON.
Example: get a worker’s work location
Finch’s /employment endpoint doesn’t include a work location for Deel workers, because Deel only exposes it as a free-text label (for exampleRemote - California) and not as a structured address. To read it with request forwarding:
Step 1: Get the worker’s source_id from Finch’s /employment endpoint. For Deel, this is the worker’s Deel person ID.
Step 2: Request the worker from Deel with that ID. In the example below, replace 0b1c2d3e-4f50-4a6b-8c7d-9e0f1a2b3c4d with the worker’s source_id.
Request:
work_location is null when no work location is set for the worker in Deel. For the other fields Deel returns, see the Deel Get person by ID documentation.