---
title: "List of tasks"
method: GET
path: "/contracts/{contract_id}/tasks"
tags: ["Tasks"]
---

# List of tasks

`GET /contracts/{contract_id}/tasks`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/contracts/{contract_id}/tasks`
- Auth: HTTP bearer

Retrieves all tasks associated with a specific contract, including each task's ID, amount, submission date, status, and description.

 **Token scopes**: `contracts:read`

## Path parameters

- `contract_id` string, required

## Response `200`

Successful operation. A list of tasks associated with the specified contract.

- TasksGetContractTasksResponse200
  - `data` ContractsContractIdTasksGetResponsesContentApplicationJsonSchemaDataItems[], required
    - `id` string, required: The unique identifier for the task.
    - `amount` string, required: The monetary amount associated with the task.
    - `status` 'approved' | 'declined' | 'not_payable' | 'paid' | 'pending' | 'processing', nullable, required: The current status of the task.
    - `attachment` ContractsContractIdTasksGetResponsesContentApplicationJsonSchemaDataItemsAttachment
      - `key` string, nullable: (Optional) The key for accessing the attachment.
      - `filename` string, nullable: (Optional) The name of the file attached to the task.
    - `description` string, required: (Required) A brief description of the task.
    - `date_submitted` string, required: (Required) The date when the task was submitted.

## Other responses

- `400`: Operation failed.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Operation failed.
- `500`: Operation failed.

---

[API](https://skmtc.dev/deel/apis/endpoints-2.md) - [All operations](https://skmtc.dev/deel/apis/endpoints-2/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/endpoints-2/revisions/b48979ae8a04?raw)
