---
title: "Grant Credits"
method: POST
path: "/api/v1/credits/grant"
tags: ["credits"]
---

# Grant Credits

`POST /api/v1/credits/grant`

Grant credits to a user. Admin only.

## Request body

- GrantCreditsRequest
  - `user_id` string, required
  - `credits` number, required
  - `note` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/getnivara/apis/nivara-api.md) · [All operations](https://skmtc.dev/getnivara/apis/nivara-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getnivara/nivara-api/revisions/2810c849c6a4/schema)
