Base URL
https://{tenant}.logzi.com/api/task_status/
Every request returns a JSON response. On success result.code == 1, on error result.code == 0. The task status API is used to manage the custom statuses available in the task management module — they can be customized to fit the organization's workflows.
/api/task_status/get
Retrieve a single task status record by ID.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Status ID |
Example request
GET /api/task_status/get?id=1
X-API-KEY: {your_api_key}
/api/task_status/list
Paginated list of task statuses.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_offset | int | Pagination offset (default: 0) | |
list_condition | object | Filter conditions object |
Example request
GET /api/task_status/list?list_offset=0
X-API-KEY: {your_api_key}
/api/task_status/save
Create or update a task status.
POST fields — data object
Provide the status details in the data object (name, color, order).
Example request
POST /api/task_status/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
/api/task_status/delete
Delete a task status.
POST fields — data object
Provide the details of the status to delete in the data object.
Example request
POST /api/task_status/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
Create your account now,
pay later!