---
title: "List integration tasks"
method: GET
path: "/v2/integrations/{integration_id}/tasks"
tags: ["tasks"]
---

# List integration tasks

`GET /v2/integrations/{integration_id}/tasks`

## Request

- Base URL: `https://api.hubstaff.com`
- URL: `https://api.hubstaff.com/v2/integrations/{integration_id}/tasks`
- Auth: OAuth 2
  - Authorization code: `https://account.hubstaff.com/authorizations/new`
  - Token URL: `https://account.hubstaff.com/access_tokens` scopes: `hubstaff:read`, `hubstaff:write`
- TypeScript: <https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/docs/v2/integrations/:integration_id/tasks/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a collection of tasks (to-dos) for the given integration.

Results can be filtered by status[] (active/completed/deleted), user_ids[], project_ids[], and global_todo_ids[].

## Path parameters

- `integration_id` integer, required

## Query parameters

- `page_start_id` integer
- `page_limit` integer
- `status` string[]
- `user_ids` integer[]
- `project_ids` integer[]
- `include` string[]
- `remote_ids` string[]

## Response `200`

A list of tasks

- object
  - `tasks` Task[]
    - `id` integer, required: Task id
    - `integration_id` integer: Integration ID
    - `status` string, required: Task status
    - `project_id` integer, required: Project ID
    - `project_type` string, required: Project type
    - `summary` string, required: Task summary
    - `details` string: Task details
    - `remote_id` string: Remote ID of the task in the external system
    - `remote_alternate_id` string: Alternate Remote ID of the task in the external system
    - `lock_version` integer: lock version
    - `assignee_ids` integer[], required: Assignee user IDs for this task
    - `pay_rate` number, float: Task pay rate
    - `bill_rate` number, float: Task bill rate
    - `metadata` object, required: Metadata attached to the task
    - `completed_at` string, date-time: Date and time task was completed
    - `due_at` string, date-time: Date and time task is due
    - `created_at` string, date-time, required: Date and time task was created
    - `updated_at` string, date-time, required: Date and time task was last updated
    - `global_todo_id` integer: Global To-Do ID

## Other responses

- `400`: Invalid parameters
- `401`: Unauthorized
- `403`: API access is only for organizations on an active plan
- `404`: Could not find record
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api.md) - [All operations](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/revisions/c6b90e4e4bdc?raw)
