Submit A Single Map's Score
Submit the score for one map of a match; the map index comes from the path.
Permission Required
This endpoint requires thegame.scores permission with write access. (game.scores is a write-level permission - its levels are none or write, not read-write.) Your API key must be a game-developer key bound to a game. The binding asserts the match belongs to your bound game before the handler runs: a key bound to a different game, or a non-developer key, receives a 403 error_game_scope_mismatch.
Access / Membership Rules
The{mapIndex} path segment is the zero-based map index within the series. Game-developer scores are auto-confirmed on submission. creatorTeamScore and opponentTeamScore must be non-negative integers in range 0-1000. An unknown match returns 404 error_match_not_found.
What’s Returned
Returns{ "success": true, mapIndex, scoreStatus }, where scoreStatus is always CONFIRMED on success.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
mapId | string | Yes | Identifier of the map that was played. |
creatorTeamScore | number | Yes | Creator team score (integer, 0-1000). |
opponentTeamScore | number | Yes | Opponent (accepted) team score (integer, 0-1000). |
screenshotUrls | array | No | Optional public https screenshot URLs. |
screenshotStorageIds | array | No | Optional storage IDs from POST /uploads/image-url (preferred). |
playerStats | object | No | Optional per-player stats keyed by user ID. |
Authorizations
Send your API key as: Authorization: Bearer tb_
Path Parameters
Match ID.
Zero-based index of the map within the series.
Body
Request body for submitting a single map's score (mapIndex comes from the path).
Identifier of the map that was played.
Score for the creator team (integer, 0-1000).
0 <= x <= 1000Score for the opponent (accepted) team (integer, 0-1000).
0 <= x <= 1000Optional external screenshot URLs supporting the reported score. Each must be a public https URL. Prefer screenshotStorageIds (validated blobs) where possible.
Optional storage IDs for screenshots uploaded via POST /uploads/image-url. Preferred over screenshotUrls: each is validated (size, content-type, ownership) and resolved to a URL server-side.
Optional per-player stats keyed by user ID.
Response
The map score was submitted and confirmed.