---
title: "Retrieve Milestones by Contract"
method: GET
path: "/contracts/{contract_id}/milestones"
tags: ["Milestones"]
---

# Retrieve Milestones by Contract

`GET /contracts/{contract_id}/milestones`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/contracts/{contract_id}/milestones`
- Auth: HTTP bearer

Retrieves all milestones associated with a specific contract, including each milestone's title, amount, status, relevant dates, and creator and reviewer information.

 **Token scopes**: `milestones:read`

## Path parameters

- `contract_id` string, required

## Response `200`

A list of milestones for the specified contract.

- MilestonesGetContractMilestonesResponse200
  - `data` ContractsContractIdMilestonesGetResponsesContentApplicationJsonSchemaDataItems[], required: An array of milestone objects associated with the contract.
    - `id` union, required
      - string
      - integer
    - `title` string, required: The title of the milestone.
    - `amount` string, required: The amount to be paid for completing this milestone.
    - `status` string, required: The current status of the milestone, such as 'Pending Approval', 'Approved', or 'Completed'.
    - `created_at` string, nullable, required: The creation date of the milestone in ISO-8601 format.
    - `description` string, required: A detailed description of the milestone.
    - `reported_by` ContractsContractIdMilestonesGetResponsesContentApplicationJsonSchemaDataItemsReportedBy, required: Information about the creator of the milestone.
      - `id` union, required
        - string
        - integer
      - `full_name` string: The full name of the person who reported the milestone.
    - `reviewed_by` ContractsContractIdMilestonesGetResponsesContentApplicationJsonSchemaDataItemsReviewedBy, nullable, required: Information about the person who reviewed the milestone.
      - `id` union, required
        - string
        - integer
      - `full_name` string: The full name of the person who reviewed the milestone.
    - `approval_requested` boolean, required: Indicates whether approval has been requested for the milestone.

## Other responses

- `400`: Bad Request - The contract_id parameter failed validation.
- `401`: Operation failed.
- `403`: Forbidden - The requesting token does not have access to this organization.
- `404`: Not Found - The specified contract does not exist.
- `500`: Internal Server Error - The contract milestones could not be retrieved due to an unexpected upstream or internal failure.

---

[API](https://skmtc.dev/deel/apis/endpoints-2.md) - [All operations](https://skmtc.dev/deel/apis/endpoints-2/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/endpoints-2/revisions/b48979ae8a04?raw)
