---
title: "Get a task"
method: GET
path: "/v2/tasks/{task_id}"
tags: ["Tasks"]
---

# Get a task

`GET /v2/tasks/{task_id}`

Get a single task by ID.

Required scopes: `task:read`, `object_configuration:read`, `record_permission:read`, `user_management:read`.

## Path parameters

- `task_id` string, uuid, required — The ID of the task.

## Response `200`

Success

- object — Success
  - `data` Task, required
    - `id` object, required
      - `workspace_id` string, uuid, required — The ID of the workspace the task belongs to.
      - `task_id` string, uuid, required — The ID of the task.
    - `content_plaintext` string, required — The plaintext representation of the task content. Inline linked records will appear as "@record name" and are returned in the `linked_records` property.
    - `deadline_at` string, nullable, required — The deadline date of the task. Returned as an ISO 8601 timestamp.
    - `is_completed` boolean, required — Whether the task has been completed.
    - `completed_at` string, nullable, required — When the task was completed, or null if it has not been completed.
    - `linked_records` object[], required — Records linked to the task. Creating record links within task content text is not possible via the API at present.
      - `target_object_id` string, required — The ID of the parent object the task refers to. At present, only `people` and `companies` are supported.
      - `target_record_id` string, uuid, required — The ID of the parent record the task refers to.
    - `assignees` object[], required — Workspace members assigned to this task.
      - `referenced_actor_type` 'api-token' | 'workspace-member' | 'system' | 'app', required — The type of actor. [Read more information on actor types here](/docs/actors).
      - `referenced_actor_id` string, uuid, required — The ID of the workspace member actor assigned to this task.
    - `created_by_actor` object, required — The actor that created this task.
      - `id` string, nullable — An ID to identify the actor.
      - `type` 'api-token' | 'workspace-member' | 'system' | 'app', nullable — The type of actor. [Read more information on actor types here](/docs/actors).
    - `created_at` string, required — When the task was created.

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/attio/apis/attio-api.md) · [All operations](https://skmtc.net/attio/apis/attio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/attio/attio-api/versions/40a8e41d06a2/schema)
