---
title: "Submit game ratings"
method: POST
path: "/api/events/{gameId}/ratings"
tags: ["Events"]
---

# Submit game ratings

`POST /api/events/{gameId}/ratings`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/events/{gameId}/ratings`
- Auth: HTTP bearer

Authenticated ratings submit. Server may award Club Rep. Do not call /v1/engage/rep/earn for this. Requires at least one lineup slot — finals whose vendor roster could not be seeded return 409 LINEUP_UNAVAILABLE.

## Path parameters

- `gameId` string, required

## Response `200`

{ success, data: { saved, allStartersRated, repEarned } }

## Other responses

- `400`: VALIDATION_ERROR — ratings array is required, or a playerKey/score is invalid
- `401`: Authentication required
- `404`: NOT_FOUND — unknown game
- `409`: CONFLICT — ratings window is closed; LINEUP_UNAVAILABLE — no lineup rows to rate

## Changes

- **2026-09-24** `01971acf764b`: 4 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `409`
- **2026-08-17** `6a5e2c1b8022`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/events/:gameId/ratings/post.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
