Skip to navigation

List organization tasks

Returns a paginated list of all tasks for the current organization, not limited to those assigned to the caller; intended for callers with the organization.manage permission. Supports both offset/limit and cursor-based pagination, which are mutually exclusive — do not supply cursor together with an offset parameter.

Token scopes: tasks:read

Authentication

AuthorizationBearer

Authentication

The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.

curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
  -H 'Authorization: Bearer YOUR-TOKEN-HERE'

Learn more about authentication

OR
AuthorizationBearer

Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Query parameters

statuseslist of enumsOptionalDefaults to ["PENDING"]
Filter by task statuses.
Allowed values:
categoryenumOptional
Filter by task category.
searchstringOptional
Search string for task display name or description.
external_idstringOptional

Filter by external ID (for tasks created with an external reference).

cursorstringOptional

Opaque cursor for cursor-based pagination. When provided, use with limit only (do not use offset).

limitintegerOptional1-100Defaults to 20

Maximum number of records to return (1-100).

Response

Successful response. Returns tasks for the organization
datalist of objects
List of task objects for the organization.
has_moreboolean
Flag to highlight if there are more items to be fetched.
next_cursorstring or null

Cursor to request the next page; null if there are no more pages.

total_countinteger>=0
Total number of tasks matching the filter.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error