---
title: "Accept a challenge"
method: POST
path: "/api/challenge/{challengeId}/accept"
tags: ["Challenges"]
---

# Accept a challenge

`POST /api/challenge/{challengeId}/accept`

Accept an incoming challenge.
You should receive a `gameStart` event on the [incoming events stream](#tag/board/GET/api/board/game/stream/{gameId}).

## Path parameters

- `challengeId` string, required

## Query parameters

- `color` 'white' | 'black'

## Response `200`

The challenge was successfully accepted.

- Ok
  - `ok` boolean, required

## Other responses

- `404` — The challenge to accept was not found.

---

[API](https://skmtc.net/lichess/apis/lichess-org-api-reference.md) · [All operations](https://skmtc.net/lichess/apis/lichess-org-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lichess/lichess-org-api-reference/versions/1425db81eb3b/schema)
