v9

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01211389.1 KB

Credit grant

Allocate credits to an account.

patch/users

Request body

emailstring email required

The (case-insensitive) email address of the user whose account to grant credits.

amountinteger required

The number of additional API credits to grant the account.

Example request

{
  "email": "user@example.com",
  "amount": 1000
}

Response

The updated account credits.

emailstring email required

The account email address.

creditsinteger required

The number of updated API credits allocated to the account.

Example response

{
  "email": "user@example.com",
  "credits": 1000
}