> For the complete documentation index, see [llms.txt](https://docs.mimiland.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mimiland.com/mimiland-core-services/multiplayer-game-center/api-references/reward-end-game.md).

# Reward End Game

After the game ends, the winner will use this API to send a request to redeem the reward.

Request

{% tabs %}
{% tab title="HTTP" %}

```http
GET /v1/game/end/66862431a9404bfd528fb100 HTTP/1.1
Host: roomkeeper.api.mimiland.io
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
Content-Type: application/json
mm-client-id: mml
mm-user-id: 662a347843e80ce0a0d73384
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const myHeaders = new Headers();
myHeaders.append("Authorization", "bearer v4.public.eyJhZC*****5xTtpdbQI");
myHeaders.append("Content-Type", "application/json");
myHeaders.append("mm-client-id", "mml");
myHeaders.append("mm-user-id", "662a347843e80ce0a0d73384");

const requestOptions = {
  method: "GET",
  headers: myHeaders,
  redirect: "follow"
};

fetch("https://roomkeeper.api.mimiland.io/v1/game/end/66862431a9404bfd528fb100", requestOptions)
  .then((response) => response.text())
  .then((result) => console.log(result))
  .catch((error) => console.error(error));
```

{% endtab %}
{% endtabs %}
