GET
/api/public/v1/milestones/{milestoneId}

Get a milestone

One milestone with its owner, its project, and the number of top-level tickets grouped under it.

Required scope

The access token must carry this scope. A token missing it gets 403 Forbidden. Grant them to an API client under Settings → Company → API, and to a teammate under Employee → Permissions.

projects:admin

Path Parameters

NameTypeRequiredDescription
milestoneIdstringRequiredMilestone ID.
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/milestones/{milestoneId}" \
  -H "Authorization: Bearer your_access_token"
200Example response
json
{
  "message": "Milestone retrieved successfully!",
  "content": {
    "milestone": {
      "id": "epc_9f8e",
      "name": "Billing",
      "description": "Everything invoicing-related for the rebuild.",
      "color": "violet",
      "status": "IN_PROGRESS",
      "startAt": "2026-07-01T12:00:00.000Z",
      "endsAt": "2026-09-30T12:00:00.000Z",
      "order": 0,
      "projectId": "prj_a1b2c3",
      "projectKey": "APOLLO",
      "projectName": "Apollo billing rebuild",
      "owner": {
        "employeeId": "emp_12ab",
        "name": "Sam Okafor",
        "email": "sam@example.com",
        "avatarUrl": null
      },
      "ticketCount": 6,
      "createdAt": "2026-06-02T10:00:00.000Z"
    }
  }
}

In the console

The same thing done by hand, for anyone comparing the API against the screen they already use.

Projects → Milestones
/projects