Tasks API: List task statuses
Endpoint#
Section titled “Endpoint#”| Property | Value |
|---|---|
| Type | query |
| Method | GET |
| Path | /api/external/v1/tasks/list_task_statuses |
| Handler | OperatelyWeb.Api.Tasks.ListTaskStatuses |
Authentication#
Section titled “Authentication#”- Requires a valid API token.
- Read-only and full-access tokens can execute this query.
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
task_id | id primitive (encoded as string) | Yes | No | - |
Outputs#
Section titled “Outputs#”| Field | Type | Required | Nullable |
|---|---|---|---|
task_statuses | array of task_status object | Yes | No |
cURL Example#
Section titled “cURL Example#”Copied
curl --request GET \
--url "https://app.operately.com/api/external/v1/tasks/list_task_statuses?task_id=value" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}"Response Example#
Section titled “Response Example#”{ "task_statuses": [ { "__typename": "value", "closed": true, "color": "gray", "id": "value", "index": 123, "label": "value", "value": "value" } ]}