---
title: "Accept Contract"
method: POST
path: "/my/contracts/{contractId}/accept"
tags: ["Contracts"]
---

# Accept Contract

`POST /my/contracts/{contractId}/accept`

Accept a contract by ID. 

You can only accept contracts that were offered to you, were not accepted yet, and whose deadlines has not passed yet.

## Path parameters

- `contractId` string, required

## Response `200`

Successfully accepted contract.

- object
  - `data` object, required
    - `agent` AgentJson, required — unresolved $ref
    - `contract` ContractJson, required — unresolved $ref

---

[API](https://skmtc.net/spacetradersapi/apis/spacetraders-api.md) · [All operations](https://skmtc.net/spacetradersapi/apis/spacetraders-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spacetradersapi/spacetraders-api/revisions/197cf9b9a2b6/schema)
