---
title: "Submit league map scores across multiple matches"
method: POST
path: "/leagues/{identifier}/matches/batch-scores"
tags: ["League: Scores"]
---

# Submit league map scores across multiple matches

`POST /leagues/{identifier}/matches/batch-scores`

Submits map scores for up to 50 league match items in one request. Each item is independently checked to belong to the league in the path and returns a per-item result. Requires a personal or developer API key whose owner is currently a league ADMIN of the league in the path, with the league scores capability enabled on the key. League API access is gated at api_pro on the league owner's plan.

## Path parameters

- `identifier` string, required — League slug.

## Request body

- GameBatchMatchScoresBody — Request body for submitting map scores across multiple matches in a single call (capped at 50 items).
  - `items` GameMultiMatchScoreItem[], required — Map scores to submit across one or more matches. 1-50 entries.
    - `matchId` string, required — ID of the match this map score belongs to.
    - `mapIndex` integer, required — Zero-based index of the map within the series.
    - `mapId` string, required — Identifier of the map that was played.
    - `creatorTeamScore` integer, required — Score for the creator team (integer, 0-1000).
    - `opponentTeamScore` integer, required — Score for the opponent (accepted) team (integer, 0-1000).
    - `screenshotUrls` string[] — Optional external screenshot URLs supporting the reported score. Each must be a public https URL. Prefer screenshotStorageIds (validated blobs) where possible.
    - `screenshotStorageIds` string[] — 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.
    - `playerStats` object — Optional per-player stats keyed by user ID.

## Response `200`

Per-item submission results. success is true only when every item was confirmed.

- GameBatchMatchScoresResponse — Result of a multi-match batch map-score submission. Always returned with HTTP 200; inspect per-item status.
  - `success` boolean, required — True only when every submitted item was confirmed.
  - `submitted` GameBatchMatchScoreResult[], required — Per-item results, in submission order.
    - `matchId` string, required — Match ID this result refers to.
    - `mapIndex` integer, required — Index of the map this result refers to.
    - `status` string, required — Per-item outcome: "confirmed" on success, "failed" otherwise.
    - `error` string — Bare machine-readable error code (e.g. error_game_scope_mismatch), present only when status is failed. Never the raw message.
  - `count` integer, required — Number of items that were confirmed.

## Other responses

- `400` — Bad request (invalid body, cursor, limit, or date).
- `401` — Missing or invalid API key.
- `403` — API key lacks the required permission.
- `404` — Resource not found.
- `429` — Rate limited.

---

[API](https://skmtc.net/teambattles/apis/teambattles-api.md) · [All operations](https://skmtc.net/teambattles/apis/teambattles-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teambattles/teambattles-api/revisions/2ffe8fb53b7d/schema)
