Skip to main content
PUT
Reorder a project's tasks

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

project_id
string
required

The project's id. To find it from the project's name: make_get_call with path /v1/objects/project/records and query {"filter[title][eq]": "<name>"}

Body

application/json
task_ids
string[]
required

Every task directly under parent, each once, in the new order (GET /v1/objects/project/records/{project_id}/task-visibility lists them with their parent, in today's order)

Required array length: 1 - 5000 elements
Required string length: 1 - 64
parent
string | null

The task whose subtasks to order; null (or left out) for the project's top-level tasks

Required string length: 1 - 64

Response

200 - application/json

Successful Response

parent
string | null
required
task_ids
string[]
required

The tasks directly under parent, in their order as saved