---
title: "Set a user's points_total directly"
method: POST
path: "/api/rewards/admin/qa/points/{userId}"
tags: ["Rewards (QA)"]
---

# Set a user's points_total directly

`POST /api/rewards/admin/qa/points/{userId}`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/rewards/admin/qa/points/{userId}`
- Auth: HTTP bearer

## Path parameters

- `userId` number, required

## Request body

- QaSetPointsDto
  - `points_total` number, required: Target points_total. Ledger and today's activity are cleared first, then re-seeded to exactly this value via a single ledger adjustment — never a direct write to the derived total.

## Response `201`

## Changes

- **2026-09-12** `0d5ef02a4fbe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/rewards/admin/qa/points/:userId/post.md)

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
