---
title: "Grant D-Sports Direct Rep to a user"
method: POST
path: "/api/admin/users/{userId}/rep"
tags: ["Admin", "Rep"]
---

# Grant D-Sports Direct Rep to a user

`POST /api/admin/users/{userId}/rep`

isAdmin only. Body: { amount: integer 1–100000, reason?: string max 200 }. Each POST is a new grant (server-generated idempotency key).

## Path parameters

- `userId` string, required

## Request body

- object
  - `amount` integer, required
  - `reason` string

## Response `200`

{ userId, amount, reason, entryId }

## Other responses

- `400` — Invalid amount or reason
- `401` — Authentication required
- `403` — Admin access required
- `404` — User not found
- `500` — Failed to record Direct Rep grant

---

[API](https://skmtc.net/d-sports-ecosystem/apis/d-sports-api.md) · [All operations](https://skmtc.net/d-sports-ecosystem/apis/d-sports-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/d-sports-ecosystem/d-sports-api/revisions/cbc84b00330e/schema)
