> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracecat.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deel

> Reference for the Tracecat Deel integration: registered actions, required secrets, expected inputs, and example workflow usage.

## Get organization

Action ID: `tools.deel.get_organization`

Returns details of the organization associated with the authentication token; the organization is resolved automatically from the token and requires no additional identifier. Calls GET /rest/organizations. Required token scopes: organizations:read.

Reference: [https://developer.deel.com/api/endpoints/organizations/get-organizations](https://developer.deel.com/api/endpoints/organizations/get-organizations)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

## Get organization structure

Action ID: `tools.deel.get_organization_structure`

Retrieves detailed information about a specific organizational structure including its teams and roles. Calls GET /rest/hris/organization\_structures/\{hris\_org\_structure\_id}. Required token scopes: organizations:read.

Reference: [https://developer.deel.com/api/hris-endpoints/organization-structure/get-organization-structure](https://developer.deel.com/api/hris-endpoints/organization-structure/get-organization-structure)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**hris\_org\_structure\_id** `string` *required*

HRIS Organization Structure ID.

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

## Get person

Action ID: `tools.deel.get_person`

Returns detailed information about a single person in the organization by their public ID. Calls GET /rest/people/\{hris\_profile\_id}. Required token scopes: people:read.

Reference: [https://developer.deel.com/api/hris-endpoints/people/get-person-by-id](https://developer.deel.com/api/hris-endpoints/people/get-person-by-id)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**hris\_profile\_id** `string` *required*

Unique identifier for the person.

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

**include\_custom\_fields** `boolean | null`

Include custom fields in the response.

Default: `null`.

**include\_worker\_relations** `boolean | null`

Include worker relations in the response.

Default: `null`.

## Get person custom fields

Action ID: `tools.deel.get_person_custom_fields`

Returns the custom field values recorded on a worker profile. Calls GET /rest/people/\{worker\_id}/custom\_fields. Required token scopes: people:read.

Reference: [https://developer.deel.com/api/hris-endpoints/custom-fields-people/get-person-custom-fields](https://developer.deel.com/api/hris-endpoints/custom-fields-people/get-person-custom-fields)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**worker\_id** `string` *required*

Worker id.

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

## Get person personal information

Action ID: `tools.deel.get_person_personal_information`

Returns the personal information of a worker profile addressed by its Deel public worker ID, limited to profiles in the caller organization and legal entities the caller is allowed to access. Calls GET /rest/people/\{worker\_id}/personal. Required token scopes: people:read.

Reference: [https://developer.deel.com/api/hris-endpoints/personal-information/get-person-personal-info](https://developer.deel.com/api/hris-endpoints/personal-information/get-person-personal-info)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**worker\_id** `string` *required*

Unique identifier for a worker (External ID).

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

## Get SCIM user

Action ID: `tools.deel.get_user`

Fetch one worker's SCIM-formatted user profile by their HRIS profile ID. Calls GET /scim/v2/Users/\{hris\_profile\_id}. Required token scopes: Users:read.

Reference: [https://developer.deel.com/api/hris-endpoints/users/get-user-by-id](https://developer.deel.com/api/hris-endpoints/users/get-user-by-id)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**hris\_profile\_id** `string` *required*

The unique identifier (OID) of the HRIS profile to retrieve.

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

## Get time off entitlements

Action ID: `tools.deel.get_time_off_entitlements`

Use this endpoint to check a worker's current leave balance — total entitlement granted, days used, and days remaining — across all active policies for a given tracking period. Calls GET /rest/time\_offs/profile/\{hris\_profile\_id}/entitlements. Required token scopes: time-off:read.

Reference: [https://developer.deel.com/api/hris-endpoints/time-off/get-time-off-entitlements](https://developer.deel.com/api/hris-endpoints/time-off/get-time-off-entitlements)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**hris\_profile\_id** `string` *required*

HRIS profile ID.

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

**policy\_type\_name** `string | null`

Policy type name. Allowed values: Adoption leave, Advanced vacation, Bereaved partner's paternity leave, Bereavement leave, Blood donation leave, Breastfeeding leave, Carer's leave, Childbirth leave, Childcare leave, Civic/public duty leave, Compensatory leave, Disability leave, Doctor's appointment leave, Family & domestic violence leave, Family responsibility leave, Floating Holiday Allowance, Hajj leave, Hospitalization leave, Long Service Leave, Make-up time, Marriage/wedding leave, Maternity leave, Menstrual leave, Military leave, Moving leave, Neonatal care leave, Other leave, Paid leave, Parental bereavement leave, Parental leave, Paternity leave, Personal leave, Pregnancy leave, Regional holiday, RTT, Shared parental leave, Sick leave, Strike, Study leave, Supplementary Leave, Unpaid leave, Vacation, Vacation - public holidays replacement, Volunteer leave, Voting leave, Work accident leave, Work away from office, Work Location.

Default: `null`.

**tracking\_period\_date** `string | null`

Tracking period date. Format: YYYY-MM-DD.

Default: `null`.

## List groups

Action ID: `tools.deel.list_groups`

Lists the groups available to the caller, including archived ones by default; set the `include_archived_groups` query parameter to false to exclude them. Calls GET /rest/groups. Required token scopes: groups:read.

Reference: [https://developer.deel.com/api/endpoints/groups/get-groups](https://developer.deel.com/api/endpoints/groups/get-groups)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

**cursor** `string | null`

The encoded cursor for paginated results. This is an opaque string that allows fetching the next set of results.

Default: `null`.

**external\_metadata** `string | null`

Extra information about the group.

Default: `null`.

**include\_archived\_groups** `boolean | null`

Include archived groups (soft deleted records). Defaults to `true`.

Default: `null`.

**limit** `integer | null`

The maximum number of groups to return (between 1 and 100). Maximum: 100.

Default: `null`.

**sort\_order** `string | null`

Sort the results in ascending (ASC) or descending (DESC) order based on the group name. Allowed values: ASC, DESC.

Default: `null`.

## List legal entities

Action ID: `tools.deel.list_legal_entities`

Lists the legal entities under the calling organization so an integration can resolve which entity a worker, contract, payroll cycle or invoice belongs to. Calls GET /rest/legal-entities. Required token scopes: organizations:read, accounting:read.

Reference: [https://developer.deel.com/api/endpoints/legal-entities/get-legal-entities](https://developer.deel.com/api/endpoints/legal-entities/get-legal-entities)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

**country** `string | null`

Filter by country.

Default: `null`.

**cursor** `string | null`

Cursor for pagination.

Default: `null`.

**global\_payroll** `boolean | null`

Filter by global payroll flag.

Default: `null`.

**include\_archived** `boolean | null`

Whether to include archived legal entities in the results.

Default: `null`.

**include\_payroll\_settings** `boolean | null`

Whether to include payroll settings in the response.

Default: `null`.

**legal\_entity\_id** `string | null`

Filter by specific legal entity ID.

Default: `null`.

**limit** `integer | null`

The number of results to return per page. Maximum: 100.

Default: `null`.

**sort\_order** `string | null`

Sorting order of the results. Allowed values: ASC, DESC.

Default: `null`.

**type** `string | null`

Filter by entity type.

Default: `null`.

## List managers

Action ID: `tools.deel.list_managers`

Lists the managers of the calling organization, including managers who have not logged in yet, so you can see who currently manages the organization. Calls GET /rest/managers. Required token scopes: organizations:read.

Reference: [https://developer.deel.com/api/endpoints/managers/get-managers](https://developer.deel.com/api/endpoints/managers/get-managers)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

**limit** `integer | null`

The number of records to return in the response.

Default: `null`.

**offset** `integer | null`

The offset or starting point for pagination.

Default: `null`.

## List organization structures

Action ID: `tools.deel.list_organization_structures`

Returns the organization's hierarchical structure, including departments and teams, with offset-based pagination. Calls GET /rest/hris/organization\_structures. Required token scopes: organizations:read, worker:read.

Reference: [https://developer.deel.com/api/hris-endpoints/organization-structure/get-organization-structures](https://developer.deel.com/api/hris-endpoints/organization-structure/get-organization-structures)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

**limit** `integer | null`

Return a page of results with given number of records. Maximum: 200.

Default: `null`.

**offset** `integer | null`

Return a page of results with given number of records.

Default: `null`.

## List people

Action ID: `tools.deel.list_people`

Returns a paginated list of people records in the organization. Calls GET /rest/people. Required token scopes: people:read, worker:read.

Reference: [https://developer.deel.com/api/hris-endpoints/people/get-people](https://developer.deel.com/api/hris-endpoints/people/get-people)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**band\_placements** `array[string] | null`

Employee's current band placement. Allowed values: ABOVE, WITHIN, BELOW.

Default: `null`.

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

**comparative\_ratios\_from** `number | null`

Employee's minimum band placement.

Default: `null`.

**comparative\_ratios\_to** `number | null`

Employee's maximum band placement.

Default: `null`.

**countries** `array[string] | null`

Filter people by country (ISO 3166-1 alpha-2 code). Matches the country of the person's primary employment, returned as `country`.

Default: `null`.

**direct\_managers** `array[string] | null`

Filter people by the public ID of their direct manager (HRIS profile).

Default: `null`.

**fields** `array[string] | null`

Pick the fields you want to see in the response in order to avoid a bloated people list output. Supports dot notation (e.g., 'employments\[0].contract\_status') to access nested fields. Allowed values include id, full\_name, emails, job\_title, direct\_manager, hiring\_status, person\_status, and employments.

Default: `null`.

**hiring\_statuses** `array[string] | null`

Employee's current hiring status. Allowed values: pending\_invite, draft, invited, onboarding, onboarding\_at\_risk, onboarding\_overdue, onboarded, offboarding, active, inactive, in\_review, quote\_requires\_changes.

Default: `null`.

**hiring\_types** `array[string] | null`

Filter people by hiring types. Allowed values: contractor, eor, peo, hris\_direct\_employee, hris\_direct\_contractor, direct\_employee, contractor\_outside\_deel, person\_without\_contract.

Default: `null`.

**limit** `integer | null`

Return a page of results with given number of records. Maximum: 200.

Default: `null`.

**offset** `integer | null`

Return a page of results with given number of records.

Default: `null`.

**person\_statuses** `array[string] | null`

Filter people by person (worker profile) lifecycle status. Allowed values: ACTIVE, NOT\_STARTED, INACTIVE.

Default: `null`.

**search** `string | null`

Include a contract if by name or contractor name contains given search term.

Default: `null`.

**sort\_by** `string | null`

Sort people by given field name. Allowed values: id, first\_name, last\_name, full\_name, email, country, birth\_date, hiring\_type, start\_date, team, job\_title, hiring\_status, completion\_date, direct\_manager, direct\_reports\_count, band\_placement, comparative\_ratio.

Default: `null`.

**sort\_order** `string | null`

Order direction of results; ascending or descending. Allowed values: asc, desc.

Default: `null`.

**teams** `array[string] | null`

Filter the results based on the team(group) the users contract is associated with.

Default: `null`.

## List people custom fields

Action ID: `tools.deel.list_people_custom_fields`

Returns the list of custom field definitions configured for people within the organization. Calls GET /rest/people/custom\_fields. Required token scopes: people:read.

Reference: [https://developer.deel.com/api/hris-endpoints/custom-fields-people/get-custom-fields](https://developer.deel.com/api/hris-endpoints/custom-fields-people/get-custom-fields)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

## List person positions

Action ID: `tools.deel.list_person_positions`

Returns the positions held by one HRIS profile, optionally within a single organization structure. Calls GET /rest/hris/positions/profile/\{hris\_profile\_id}. Required token scopes: profile:read, worker:read.

Reference: [https://developer.deel.com/api/hris-endpoints/positions/get-positions-by-profile](https://developer.deel.com/api/hris-endpoints/positions/get-positions-by-profile)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**hris\_profile\_id** `string` *required*

HRIS Profile ID.

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

## List SCIM users

Action ID: `tools.deel.list_users`

Lists users in the Deel HRIS using the SCIM user format. Calls GET /scim/v2/Users. Required token scopes: Users:read.

Reference: [https://developer.deel.com/api/hris-endpoints/users/get-users](https://developer.deel.com/api/hris-endpoints/users/get-users)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

**count** `string | null`

The maximum number of results to return per page. Used for pagination. A value of 0 is treated as a special case and returns 1 result. Typically should be a positive integer.

Default: `null`.

**filter** `string | null`

Filter results using [SCIM's filtering syntax](https://datatracker.ietf.org/doc/html/rfc7644#section-3.4.2.2). Currently supports only `eq` operator and filtering by a user's email. Expected format 'email eq "[email@domain.com](mailto:email@domain.com)"'.

Default: `null`.

**startIndex** `string | null`

The 1-based index of the first result to return. Used for pagination. Minimum value is 1. Defaults to 1 if not provided.

Default: `null`.

## List time off events

Action ID: `tools.deel.list_time_off_events`

Returns the parental-leave events linked to the time-off requests of a worker, which carry the birth or adoption context behind that leave. Calls GET /rest/time\_offs/time-off-events. Required token scopes: time-off:read.

Reference: [https://developer.deel.com/api/hris-endpoints/time-off/get-time-off-events](https://developer.deel.com/api/hris-endpoints/time-off/get-time-off-events)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**hris\_profile\_id** `string` *required*

Worker hris profile id.

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

**policy\_id** `string | null`

Policy id.

Default: `null`.

**time\_off\_type\_id** `string | null`

Time off type id.

Default: `null`.

## List time off policies

Action ID: `tools.deel.list_time_off_policies`

Returns the time-off policies assigned to a worker, with the rules of each policy and whether a request under it needs an attachment, a description or custom field answers. Calls GET /rest/time\_offs/profile/\{hris\_profile\_id}/policies. Required token scopes: time-off:read.

Reference: [https://developer.deel.com/api/hris-endpoints/time-off/get-time-off-policies](https://developer.deel.com/api/hris-endpoints/time-off/get-time-off-policies)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**hris\_profile\_id** `string` *required*

hrisProfileId id.

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.

**policy\_type\_id** `string | null`

policy type id.

Default: `null`.

**policy\_type\_name** `string | null`

Policy type name. Allowed values: Adoption leave, Advanced vacation, Bereaved partner's paternity leave, Bereavement leave, Blood donation leave, Breastfeeding leave, Carer's leave, Childbirth leave, Childcare leave, Civic/public duty leave, Compensatory leave, Disability leave, Doctor's appointment leave, Family & domestic violence leave, Family responsibility leave, Floating Holiday Allowance, Hajj leave, Hospitalization leave, Long Service Leave, Make-up time, Marriage/wedding leave, Maternity leave, Menstrual leave, Military leave, Moving leave, Neonatal care leave, Other leave, Paid leave, Parental bereavement leave, Parental leave, Paternity leave, Personal leave, Pregnancy leave, Regional holiday, RTT, Shared parental leave, Sick leave, Strike, Study leave, Supplementary Leave, Unpaid leave, Vacation, Vacation - public holidays replacement, Volunteer leave, Voting leave, Work accident leave, Work away from office, Work Location.

Default: `null`.

## List worker relations

Action ID: `tools.deel.list_worker_relations`

Returns all worker relations associated with the HrisProfile, including both parent and child relationships. Calls GET /rest/hris/worker\_relations/profile/\{hrisProfileOid}. Required token scopes: profile:read.

Reference: [https://developer.deel.com/api/hris-endpoints/worker-relations/get-worker-relation-profile](https://developer.deel.com/api/hris-endpoints/worker-relations/get-worker-relation-profile)

### Secrets

Required secrets:

* `deel`: required values `DEEL_API_TOKEN`.

### Input fields

**hrisProfileOid** `string` *required*

HrisProfile ID.

**base\_url** `string | null`

Deel API host. Defaults to production ([https://api.letsdeel.com](https://api.letsdeel.com)); use [https://api-staging.letsdeel.com](https://api-staging.letsdeel.com) for the Deel sandbox.

Default: `null`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.