> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getarca.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Get task

> Returns a single task with full details including its status, assignees, labels, and attachments.

<Info>
  Requires the `tasks:read` scope. You must be a member of the task's workspace.
  Access-restricted members receive `403` if the task belongs to a list outside
  their permitted scope.
</Info>

## Path parameters

<ParamField path="id" type="string" required>
  The numeric task ID.
</ParamField>

## Response

<ResponseField name="id" type="number" required>
  Task identifier.
</ResponseField>

<ResponseField name="workspace_id" type="number" required>
  Workspace this task belongs to.
</ResponseField>

<ResponseField name="list_id" type="number | null">
  List this task belongs to. `null` if not in a list.
</ResponseField>

<ResponseField name="title" type="string" required>
  Task title.
</ResponseField>

<ResponseField name="description" type="string | null">
  Task description as an HTML string. `null` if not set.
</ResponseField>

<ResponseField name="priority" type="string" required>
  Task priority. One of `urgent`, `high`, `medium`, `low`, or `none`.
</ResponseField>

<ResponseField name="identifier" type="number" required>
  Workspace-scoped sequential task number.
</ResponseField>

<ResponseField name="due_date" type="string | null">
  UTC ISO-8601 due date. `null` if not set.
</ResponseField>

<ResponseField name="start_date" type="string | null">
  UTC ISO-8601 start date. `null` if not set.
</ResponseField>

<ResponseField name="creator_id" type="number" required>
  User ID of the task creator.
</ResponseField>

<ResponseField name="created_at" type="string" required>
  UTC ISO-8601 creation timestamp.
</ResponseField>

<ResponseField name="status" type="object | null">
  Current task status. `null` if no status is assigned.

  <Expandable title="Status fields">
    <ResponseField name="id" type="number" required>Status identifier.</ResponseField>
    <ResponseField name="name" type="string" required>Status label (e.g., `"In Progress"`).</ResponseField>
    <ResponseField name="icon" type="string | null">Icon associated with the status.</ResponseField>
    <ResponseField name="color" type="string | null">Color associated with the status.</ResponseField>

    <ResponseField name="category" type="string" required>
      Status category. One of `pending`, `in_progress`, `completed`, or `cancelled`.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="assignees" type="array" required>
  Array of users assigned to the task. Empty array if unassigned.

  <Expandable title="Assignee fields">
    <ResponseField name="id" type="number" required>User ID.</ResponseField>
    <ResponseField name="name" type="string" required>Display name.</ResponseField>
    <ResponseField name="avatar_url" type="string | null">Profile picture URL.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="labels" type="array" required>
  Labels attached to the task. Empty array if no labels are assigned.

  <Expandable title="Label fields">
    <ResponseField name="id" type="number" required>Label identifier.</ResponseField>
    <ResponseField name="name" type="string" required>Label name.</ResponseField>
    <ResponseField name="color" type="string | null">Display color of the label. `null` if no color is set.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="subtasks" type="array" required>
  Direct subtasks of this task. Empty array if the task has no subtasks.

  <Expandable title="Subtask fields">
    <ResponseField name="id" type="number" required>Subtask identifier.</ResponseField>
    <ResponseField name="title" type="string" required>Subtask title.</ResponseField>
    <ResponseField name="priority" type="string" required>Subtask priority. One of `urgent`, `high`, `medium`, `low`, or `none`.</ResponseField>
    <ResponseField name="identifier" type="number" required>Workspace-scoped sequential task number.</ResponseField>
    <ResponseField name="status" type="object | null">Current status of the subtask. `null` if no status is assigned. Same shape as the parent task `status` field.</ResponseField>
    <ResponseField name="assignees" type="array" required>Users assigned to the subtask. Same shape as the parent task `assignees` array.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="attachments" type="array" required>
  Confirmed file attachments on the task. Empty array if none.

  <Expandable title="Attachment fields">
    <ResponseField name="id" type="number" required>Attachment identifier.</ResponseField>
    <ResponseField name="file_name" type="string" required>Original file name.</ResponseField>
    <ResponseField name="file_size" type="number" required>File size in bytes.</ResponseField>
    <ResponseField name="mime_type" type="string" required>MIME type (e.g., `"image/png"`).</ResponseField>
    <ResponseField name="created_at" type="string" required>UTC ISO-8601 upload timestamp.</ResponseField>

    <ResponseField name="uploader" type="object" required>
      User who uploaded the file.

      <Expandable title="Uploader fields">
        <ResponseField name="id" type="number" required>User ID.</ResponseField>
        <ResponseField name="name" type="string" required>Display name.</ResponseField>
        <ResponseField name="avatar_url" type="string | null">Profile picture URL.</ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="custom_fields" type="array" required>
  Custom fields that apply to this task's list, each with its current value. Fields restricted to other lists or folders are not returned. Fields the user does not have access to are also omitted.

  <Expandable title="Custom field entry">
    <ResponseField name="id" type="number" required>Custom field identifier.</ResponseField>
    <ResponseField name="name" type="string" required>Custom field name (e.g., `"Customer Tier"`).</ResponseField>

    <ResponseField name="type" type="string" required>
      Field type. One of `text`, `number`, `date`, `checkbox`, `rating`, `dropdown`, `money`, or `people`.
    </ResponseField>

    <ResponseField name="config" type="object | null">
      Type-specific configuration.

      For example:

      * `rating` fields include `icon` and `color`;
      * `dropdown` fields include an `options` array of strings;
      * `money` fields include `currency` and `decimals`.

      It's `null` for field types with no configuration (which are `text`, `number`, `date`, `checkbox` and `people`).
    </ResponseField>

    <ResponseField name="position" type="number" required>Sort position of the field within the workspace.</ResponseField>

    <ResponseField name="value" type="string | null">
      The task's value for this field. `null` when no value has been set.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": 101,
    "workspace_id": 3,
    "list_id": 20,
    "title": "Set up CI pipeline",
    "description": "<p>Use GitHub Actions for the build pipeline.</p>",
    "priority": "high",
    "identifier": 5,
    "due_date": "2026-03-25T00:00:00.000Z",
    "start_date": null,
    "creator_id": 1,
    "created_at": "2026-03-10T14:22:00.000Z",
    "status": {
      "id": 2,
      "name": "In Progress",
      "icon": "in-progress",
      "color": "blue",
      "category": "in_progress"
    },
    "assignees": [
      {
        "id": 7,
        "name": "Bob",
        "avatar_url": "https://cdn.example.com/avatars/bob.png"
      }
    ],
    "labels": [
      {
        "id": 2,
        "name": "Backend",
        "color": "purple"
      }
    ],
    "subtasks": [
      {
        "id": 102,
        "title": "Write unit tests",
        "priority": "medium",
        "identifier": 6,
        "status": {
          "id": 1,
          "name": "Backlog",
          "icon": null,
          "color": "gray",
          "category": "pending"
        },
        "assignees": []
      }
    ],
    "attachments": [
      {
        "id": 4,
        "file_name": "diagram.png",
        "file_size": 204800,
        "mime_type": "image/png",
        "created_at": "2026-03-11T09:00:00.000Z",
        "uploader": {
          "id": 1,
          "name": "Alice",
          "avatar_url": null
        }
      }
    ],
    "custom_fields": [
      {
        "id": 1,
        "name": "Customer Tier",
        "type": "dropdown",
        "config": { "options": ["Free", "Starter", "Pro"] },
        "position": 1,
        "value": "Pro"
      },
      {
        "id": 2,
        "name": "Story Points",
        "type": "number",
        "config": null,
        "position": 2,
        "value": null
      }
    ]
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid API key"
  }
  ```

  ```json 403 theme={null}
  {
    "error": "Scope 'tasks:read' is required for this endpoint"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Task not found"
  }
  ```
</ResponseExample>
