---
title: "Returns the task status of the workflow with the specified id."
method: GET
path: "/workflows/{workflowId}/taskstatuses/{taskStatusId}"
tags: ["workflows"]
---

# Returns the task status of the workflow with the specified id.

`GET /workflows/{workflowId}/taskstatuses/{taskStatusId}`

<Check title="Required Permissions" icon="key">The user must either have `project-master-data:read` permissions for a linked project, be assigned to a non-deleted task in a linked project, be allowed to see the external workflow, or have admin / `project-manage-config:read` permissions.</Check>

## Path parameters

- `workflowId` string, uuid, required
- `taskStatusId` string, uuid, required

## Headers

- `Authorization` string, required

## Response `200`

OK

- TaskStatus
  - `id` string, uuid — The primary identifier of this task status.
  - `name` string, nullable — The name of the task status.
  - `type` string, nullable — Of what general type is this task status?.
  - `order` number, double, nullable — The order of the task status in a project.
  - `icon` string, nullable — The icon of the task status.
  - `projectId` string, uuid, nullable — Is set if the task status is related to a project.
  - `projectTypeId` string, uuid, nullable — Is set if the task status is related to a project type.
  - `workflowId` string, uuid, nullable — Is set if the task status is related to a workflow.
  - `createdOn` string, date-time — The date this entity was created.
  - `createdBy` string, uuid — The id of the user who created this entity.
  - `updatedOn` string, date-time — The date this entity was last modified.
  - `updatedBy` string, uuid — The id of the user who last modified this entity.
  - `isExternal` boolean — True if the task status is coming from an external workspace (awork Connect).

## Other responses

- `401` — Unauthorized
- `404` — Not Found

---

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