---
title: "Create a Milestone"
method: POST
path: "/contracts/{contract_id}/milestones"
tags: ["Milestones"]
---

# Create a Milestone

`POST /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

Creates a new payment milestone on a milestone-based contract. After creation, the milestone enters a review workflow before payment is processed.

 **Token scopes**: `milestones:write`

## Path parameters

- `contract_id` string, required

## Request body

- object
  - `data` ContractsContractIdMilestonesPostRequestBodyContentApplicationJsonSchemaData, required
    - `title` string, required: The title of the milestone.
    - `amount` union, required
      - string
      - number, double
    - `description` string, required: A detailed description of the milestone.

## Response `201`

Milestone created successfully.

- MilestonesCreateContractMilestoneResponse201
  - `data` ContractsContractIdMilestonesPostResponsesContentApplicationJsonSchemaData, required
    - `created` boolean, required: Indicates whether the milestone was successfully created.

## Other responses

- `400`: Bad Request - The request payload failed validation or violated a business rule, such as the contract not supporting milestones.
- `401`: Operation failed.
- `403`: Forbidden - The requester does not own this contract.
- `404`: Not Found - The specified contract or an associated resource does not exist.
- `500`: Internal Server Error - The milestone could not be created 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)
