
Deel Organization LegalEntities
CertifiedList Legal Entities
Deel Organization LegalEntities
List Legal Entities
List legal entities in the account. Requires the organizations: read scope. Supports cursor-based pagination.
type: io.kestra.plugin.deel.org.LegalEntitiesExamples
List legal entities
id: list_legal_entities
namespace: company.team
tasks:
- id: list_legal_entities
type: io.kestra.plugin.deel.org.LegalEntities
apiToken: "{{ secret('DEEL_API_TOKEN') }}"
limit: 100
fetchType: FETCH
List legal entities filtered by country
id: list_us_entities
namespace: company.team
tasks:
- id: list_legal_entities
type: io.kestra.plugin.deel.org.LegalEntities
apiToken: "{{ secret('DEEL_API_TOKEN') }}"
country: "US"
fetchType: STORE
Installation
Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:
kestractl plugins get io.kestra.plugin:plugin-deel --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.
Properties
apiToken *string
Deel API token
API token for authentication. Can be an organization token, personal token, or worker token.
apiVersion string
2026-01-01API version
API version header value. Defaults to 2026-01-01.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150baseUrl string
https://api.letsdeel.com/restDeel API base URL
Base URL for the Deel API. Use https://api-sandbox.demo.deel.com/rest for sandbox environment.
country string
Filter by country
Filter by country.
cursor string
Cursor for pagination
Cursor for pagination, as returned by a previous response.
entityType string
Filter by entity type
Filter by entity type.
fetchType string
FETCHSTOREFETCHFETCH_ONENONEResult handling mode
Controls how hits are exposed in outputs. FETCH returns all hits in the response. FETCH_ONE returns only the first hit. STORE writes hits to Kestra storage and returns a URI. NONE leaves outputs empty.
globalPayroll booleanstring
Filter by global payroll flag
Filter by global payroll flag.
includeArchived booleanstring
Include archived legal entities
Whether to include archived legal entities in the results.
legalEntityId string
Filter by legal entity ID
Filter by specific legal entity ID.
limit integerstring
100Maximum number of legal entities per page
The number of results to return per page. Default is 100.
Outputs
row object
First legal entity
Available only when fetchType=FETCH_ONE; contains the first legal entity.
rows array
Fetched legal entities
Available only when fetchType=FETCH; contains legal entities for the current response page.
size integer
Number of legal entities returned in this response
Number of legal entities included in outputs for the selected fetch type.
total integer
Total number of legal entities
Total legal entities reported by the API, regardless of pagination.
uri string
uriStored legal entities URI
Available only when fetchType=STORE; Kestra internal storage path to the Ion file.