Deel: List organization tasks
Deel organizationTasks.listOrganizationTasks: arguments, response, policy and SDK examples.
← Organization tasks operations · Get started
Operation deel.organizationtasks_listorganizationtasks_v2026_03_03
Provider route: GET /organizations/tasks. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/deel with npm, or alter-sdk-deel with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { DeelIntegration } from "@alter-ai/deel";
async function execute(input: Parameters<DeelIntegration["organizationTasks"]["listOrganizationTasks"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new DeelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.organizationTasks.listOrganizationTasks(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_deel import DeelIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = DeelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.organization_tasks.list_organization_tasks(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
query | object | Optional | Additional keys: not allowed |
query.statuses | array | Optional | Default: [“PENDING”] |
query.statuses[] | string | Each item | One of: PENDING, COMPLETED, DISMISSED, FAILED |
query.category | string | Optional | One of: SETUP, EXPENSE_REQUESTS, EXPENSES_TO_CLARIFY, DOCUMENT_ACTIONS, LEGAL_ENTITY_DOCUMENTS, OTHER_TASKS, DEEL_IT, COMPLIANCE, PAYMENT_METHODS, ACCOUNTING, APPROVE_CHILD_ORG_CONTRACT_EDIT |
query.search | string | Optional | |
query.external_id | string | Optional | |
query.cursor | string | Optional | |
query.limit | integer | Optional | Default: 20 Maximum: 100 Minimum: 1 |
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand List organization tasks — 200 response body |
Referenced models: List organization tasks — 200 response body
Schemas
Section titled “Schemas”List organization tasks — 200 response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | array | Required within parent | List of task objects for the organization. |
data[] | Model | Each item | Expand List organization tasks — 200 response body — data item |
has_more | boolean | Required within parent | Flag to highlight if there are more items to be fetched. |
next_cursor | JSON | Required within parent | |
next_cursor (anyOf 1) | string | Alternative | Cursor to request the next page; null if there are no more pages. |
next_cursor (anyOf 2) | null | Alternative | Cursor to request the next page; null if there are no more pages. |
total_count | JSON | Required within parent | |
total_count (anyOf 1) | integer | Alternative | Total number of tasks matching the filter. Minimum: 0 |
total_count (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Referenced models: List organization tasks — 200 response body — data item
List organization tasks — 200 response body — data item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
assignees | array | Optional | List of users assigned to this task. Each assignee is either an HRIS profile (worker in organization context) or a profile without organization context. |
assignees[] | Model | Each item | Expand List organization tasks — 200 response body — data item assignees item |
category | string | Optional | Category of the task. |
created_at | string | Optional | When the task was created. Format: date-time |
description | JSON | Optional | |
description (anyOf 1) | string | Alternative | Detailed description of the task. |
description (anyOf 2) | null | Alternative | Detailed description of the task. |
display_name | string | Optional | Human-readable title of the task. |
due_date | JSON | Optional | |
due_date (anyOf 1) | string | Alternative | When the task is due. Format: date-time |
due_date (anyOf 2) | null | Alternative | When the task is due. Format: date-time |
expired_at | JSON | Optional | |
expired_at (anyOf 1) | string | Alternative | When the task expires, if set. Format: date-time |
expired_at (anyOf 2) | null | Alternative | When the task expires, if set. Format: date-time |
external_id | JSON | Optional | |
external_id (anyOf 1) | string | Alternative | External reference ID, if the task was created with one. |
external_id (anyOf 2) | null | Alternative | External reference ID, if the task was created with one. |
id | string | Optional | Unique identifier of the task. Format: uuid |
resolved_at | JSON | Optional | |
resolved_at (anyOf 1) | string | Alternative | When the task was resolved (completed or dismissed). Format: date-time |
resolved_at (anyOf 2) | null | Alternative | When the task was resolved (completed or dismissed). Format: date-time |
status | string | Optional | Current status of the task. Known values: PENDING, COMPLETED, DISMISSED, FAILED |
Referenced models: List organization tasks — 200 response body — data item assignees item
List organization tasks — 200 response body — data item assignees item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
email | JSON | Optional | |
email (anyOf 1) | string | Alternative | Assignee's email address. |
email (anyOf 2) | null | Alternative | Assignee's email address. |
first_name | JSON | Optional | |
first_name (anyOf 1) | string | Alternative | Assignee's first name. |
first_name (anyOf 2) | null | Alternative | Assignee's first name. |
id | string | Required within parent | Public identifier of the assignee (HRIS profile OID or profile public_id). |
last_name | JSON | Optional | |
last_name (anyOf 1) | string | Alternative | Assignee's last name. |
last_name (anyOf 2) | null | Alternative | Assignee's last name. |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: deel.organizationtasks_listorganizationtasks_v2026_03_03. Catalog operation: organizationtasks_listorganizationtasks_v2026_03_03. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.
Required provider scopes: ["tasks:read"]
Pinned headers: {"X-Version": "2026-03-03"}