---
title: "When the user plays the game, this API is called."
method: PUT
path: "/api/games/{id}/play-count"
tags: ["api/games"]
---

# When the user plays the game, this API is called.

`PUT /api/games/{id}/play-count`

## Request

- Base URL: `http://localhost:5002`
- URL: `http://localhost:5002/api/games/{id}/play-count`
- Auth: none declared. Required headers: `userid`, `authorization`

## Path parameters

- `id` string, required

## Headers

- `userid` string, required
- `authorization` string, required

## Response `default`

Successful

---

[API](https://skmtc.dev/breshna/apis/breshna-backend-apis.md) - [All operations](https://skmtc.dev/breshna/apis/breshna-backend-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/breshna/apis/breshna-backend-apis/revisions/c1038f1781fe?raw)
