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

# Grant Credits

`POST /api/admin/credits/grant`

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/admin/credits/grant`
- Auth: HTTP bearer

Grant bonus credits to an existing account.

404 if no such account. Does not create users or orgs. Idempotent on
``admin_grant:{scope}:{amount}:{key}`` where the scope is the target
user, or the org itself for an org grant.

## Request body

- GrantCreditsRequest
  - `email` string, nullable
  - `user_id` string, uuid, nullable
  - `org_id` string, uuid, nullable
  - `amount` integer, required
  - `idempotency_key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zsign/apis/zsign-api.md) · [All operations](https://skmtc.dev/zsign/apis/zsign-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zsign/apis/zsign-api/revisions/a674ac4137ba?raw)
