Create a broadcast round

Add a round to a broadcast, fed from a PGN URL, Lichess game IDs or Lichess usernames.

POST https://cotlet.dev/api/v1/lichess/broadcasts/{broadcast_id}/round

write Confirm

Creates the round and returns its ID and URL. The round must have one source type; with none, it can only be fed by pushing PGN. The round appears on the broadcast page for everyone who can view the broadcast. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_broadcast_round
NameTypeDescription
broadcast_id string required string Broadcast ID from list_broadcasts or create_broadcast.
name string required string Round name, e.g. Round 1.
source string required string single_pgn_url, multiple_pgn_urls, lichess_game_ids or lichess_usernames. Use exactly one.
pgn_urls string[] string[] PGN URL, or several, for the two PGN sources.
game_ids string[] string[] Lichess game IDs for lichess_game_ids.
usernames string[] string[] Lichess usernames for lichess_usernames.
starts_at string string ISO start time. Read in the time zone set on the broadcast.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/lichess/broadcasts/broadcast_8c41d2/round \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Jane Doe","source":"source"}'
Python
result = client.call("lichess", "create_broadcast_round", {"broadcast_id":"broadcast_8c41d2","name":"Jane Doe","source":"source"})
Node.js
const result = await cotlet.call('lichess', 'create_broadcast_round', {"broadcast_id":"broadcast_8c41d2","name":"Jane Doe","source":"source"});
CLI
cotlet call lichess create_broadcast_round --data '{"broadcast_id":"broadcast_8c41d2","name":"Jane Doe","source":"source"}'

Example response

JSON

{
  "round_id": "Kf3nQ8vD",
  "broadcast_id": "Zp4tNc6h",
  "name": "Round 1",
  "source": "single_pgn_url",
  "starts_at": "2026-10-24T10:00:00Z",
  "url": "https://lichess.org/broadcast/riverside-chess-club-championship-2026/round-1/Kf3nQ8vD"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.