---
title: "Grant Active Key"
method: POST
path: "/api/v3/lootbox/users/{user_id}/keys"
tags: ["Lootbox"]
---

# Grant Active Key

`POST /api/v3/lootbox/users/{user_id}/keys`

## Request

- Base URL: `https://dev-api.genji.pk`
- URL: `https://dev-api.genji.pk/api/v3/lootbox/users/{user_id}/keys`
- Auth: none declared

Grant the currently active key to a user.

## Path parameters

- `user_id` integer, required

## Response `201`

Document created, URL follows

- object

## Other responses

- `400`: Bad request syntax or unsupported method

---

[API](https://skmtc.dev/genji/apis/genji-shimada-api-2.md) - [All operations](https://skmtc.dev/genji/apis/genji-shimada-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/genji/apis/genji-shimada-api-2/revisions/a31661684eee?raw)
