---
title: "List all Tasks"
method: GET
path: "/task.json"
tags: ["Tasks"]
---

# List all Tasks

`GET /task.json`

#### Filtering
This endpoint supports result filtering. For more information on how to filter this request, [go here](/docs/filtering).
			
			
#### OAuth Scope
This endpoint requires the following OAuth scope **read_tasks**.

## Response `200`

An array of Tasks

- Task[]
  - `due_date` string — The date by which the task should be completed. Format is YYYY-MM-DD. For mobile app compatibility, may be returned with time component (HHMMSS) in some contexts.
  - `task_details` string — Detailed description of the task. Contains more comprehensive information about what needs to be done, how to complete the task, or any other relevant notes.
  - `name` string, required — The name or title of the task. This field is mandatory and used to identify the task in listings and the user interface.
  - `related_object` string — The name of the object class this task is related to. Must be a valid object class name in the system (e.g., 'job', 'client', etc.). The value is always stored as lowercase regardless of input case.
  - `related_object_uuid` string, uuid — UUID of the specific object instance this task is related to. Must be a valid UUID corresponding to an existing object of the type specified in related_object.
  - `task_complete` string — Boolean flag indicating whether the task has been completed (1) or is still pending (0). When set to 1, the completed_timestamp and completed_by_staff_uuid fields are automatically populated.
  - `completed_timestamp` string — The date and time when the task was marked as complete. Format is YYYY-MM-DD HH:MM:SS. Automatically set when task_complete is changed to 1.
  - `completed_by_staff_uuid` string, uuid — UUID of the staff member who marked the task as complete. Automatically set to the current staff member's UUID when task_complete is changed to 1.
  - `assigned_to_staff_uuid` string, uuid — UUID of the staff member assigned to complete this task. Must be a valid staff UUID in the system.
  - `lng` unknown
  - `lat` unknown
  - `uuid` string, uuid — Unique identifier for this record
  - `active` 0 | 1 — Record active/deleted flag. Valid values are [0,1]
  - `edit_date` string — Timestamp at which record was last modified
  - `created_by_staff_uuid` string, uuid
  - `create_date` string — Timestamp at which record was last modified

## Other responses

- `400` — Bad Request - The request is malformed or contains invalid parameters
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `403` — Forbidden - You don't have permission to access this resource
- `429` — Too Many Requests - You have exceeded the rate limit
- `500` — Internal Server Error - An unexpected error occurred on the server

---

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