---
title: "Add Preapproved Credits"
method: POST
path: "/v1/admin/add-preapproved-credits"
tags: ["Admin Management"]
---

# Add Preapproved Credits

`POST /v1/admin/add-preapproved-credits`

## Request

- Base URL: `https://api.oneinfer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oneinfer.ai/v1/admin/add-preapproved-credits`
- Auth: HTTP bearer

Add preapproved credits for a user (registered or not yet registered).

- If user already registered: Credits are added immediately
- If user not yet registered: Credits stored and applied on registration
- Handles duplicate preapprovals by updating existing record

## Request body

- AddPreapprovedCreditsRequest
  - `email` string, email, required
  - `credit_amount` number, required: Amount in dollars (e.g., 10.0 for $10)
  - `notes` string, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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