Skip to content

List work item pages ​

GET/api/v1/workspaces/{slug}/projects/{project_id}/work-items/{work_item_id}/pages/

Retrieve all page links associated with a work item.

Path Parameters ​

issue_id:requiredstring

Issue ID

project_id:requiredstring

Project ID

slug:requiredstring

Workspace slug

work_item_id:requiredstring

Work item id.

Query Parameters ​

cursor:optionalstring

Pagination cursor for getting next set of results

order_by:optionalstring

Field to order results by. Prefix with '-' for descending order

per_page:optionalinteger

Number of results per page (default: 20, max: 100)

Scopes ​

API key authentication or an OAuth token with equivalent access.

List work item pages
bash
curl -X GET \
  "https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/work-items/550e8400-e29b-41d4-a716-446655440001/pages/?cursor=20:1:0&order_by=-created_at" \
  -H "X-API-Key: $PLANE_API_KEY" \
  # Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
Response200
json
{
  "grouped_by": "state",
  "sub_grouped_by": "priority",
  "total_count": 150,
  "next_cursor": "20:1:0",
  "prev_cursor": "20:0:0",
  "next_page_results": true,
  "prev_page_results": false,
  "count": 20,
  "total_pages": 8,
  "total_results": 150,
  "extra_stats": null,
  "results": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "Example Name",
      "created_at": "2024-01-01T00:00:00Z"
    }
  ]
}