List milestone work items
GET/api/v1/workspaces/{slug}/projects/{project_id}/milestones/{milestone_id}/work-items/
List all work items for a milestone.
Path Parameters
milestone_id:requiredstringMilestone id.
project_id:requiredstringProject id.
slug:requiredstringSlug.
Scopes
API key authentication or an OAuth token with equivalent access.
List milestone work items
bash
curl -X GET \
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/milestones/550e8400-e29b-41d4-a716-446655440001/work-items/" \
-H "X-API-Key: $PLANE_API_KEY" \
# Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \python
import requests
response = requests.get(
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/milestones/550e8400-e29b-41d4-a716-446655440001/work-items/",
headers={"X-API-Key": "your-api-key"}
)
print(response.json())javascript
const response = await fetch(
"https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/milestones/550e8400-e29b-41d4-a716-446655440001/work-items/",
{
method: "GET",
headers: {
"X-API-Key": "your-api-key",
},
}
);
const data = await response.json();Response200
json
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"issue": "550e8400-e29b-41d4-a716-446655440000",
"milestone": "550e8400-e29b-41d4-a716-446655440000"
}
]
