Task API

The Task API helps you manage tasks and categories.

To use the Task API, you need an access token that you can get by authenticating with a user account, not a service account.
The API scopes are task and task.read.

Manage tasks {#manage-task}

You can get, create, and update tasks using the following API operations. You can also move tasks to another category.

HTTP requestDescription
POST /users/{userId}/tasksCreate a task
GET /users/{userId}/tasksGet tasks
GET /tasks/{taskId}Get a task
PATCH /tasks/{taskId}Update part of a task
DELETE /tasks/{taskId}Delete a task
POST /users/{userId}/tasks/{taskId}/moveMove a task to a category

You can mark tasks as complete or incomplete using the following API operations.

HTTP requestDescription
POST /tasks/{taskId}/completeMark a task as complete
POST /tasks/{taskId}/incompleteMark a task as incomplete
POST /tasks/{taskId}/assignees/{userId}/completeMark an assignee's task as complete
POST /tasks/{taskId}/assignees/{userId}/incompleteMark an assignees' task as incomplete

Manage categories {#manage-taskcategory}

You can manage task categories using the following API operations.

HTTP requestDescription
POST /users/{userId}/task-categoriesCreate a task category
GET /users/{userId}/task-categoriesGet task categories
GET /users/{userId}/task-categories/{categoryId}Get a task category
PATCH /users/{userId}/task-categories/{categoryId}Update part of a task category
DELETE /users/{userId}/task-categories/{categoryId}Delete a task category