---
title: "Accept the counterparty's pending price"
method: POST
path: "/v1/threads/{id}/accept-proposal"
---

# Accept the counterparty's pending price

`POST /v1/threads/{id}/accept-proposal`

## Request

- Base URL: `https://api.hashlock.markets`
- URL: `https://api.hashlock.markets/v1/threads/{id}/accept-proposal`
- Auth: HTTP bearer

Name the price you are accepting: it is refused if a newer counter has replaced it since you read the thread.

## Path parameters

- `id` string, required

## Request body

- object
  - `quoteAmount` string, required: the pending price, base units — must equal the thread's pendingAmount

## Response `200`

ok

- object

## Other responses

- `400`: error

---

[API](https://skmtc.dev/hashlock/apis/hashlock-markets-api.md) · [All operations](https://skmtc.dev/hashlock/apis/hashlock-markets-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hashlock/apis/hashlock-markets-api/revisions/b85bd3992c46?raw)
