Challenges
Open-ended challenge
Changed onCreate a challenge that any 2 players can join. Share the URL of the challenge. the first 2 players to click it will be paired for a game. The response body also contains whiteUrl and blackUrl. You can control which color each player gets by giving them these URLs, instead of the main challenge URL. Open challenges expire after 24h. If the challenge creation is authenticated with OAuth2, then you can use the challenge cancel endpoint to cancel it. To directly pair 2 known players, use this endpoint instead.
post/api/challenge/open
Request
- Base URLhttps://lichess.org
- URLhttps://lichess.org/api/challenge/open
- Authnone required
Request body application/x-www-form-urlencoded
Example request
{
"clock.limit": 300,
"clock.increment": 1
}Response
The challenge was successfully created.
Changes
- info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status
- info