---
title: "Auto top up credits"
method: POST
path: "/api/v1/topup/auto"
---

# Auto top up credits

`POST /api/v1/topup/auto`

Auto top up credits for an organisation.

## Query parameters

- `active` boolean, required
- `amount` integer
- `threshold` integer

## Cookies

- `apikey` string

## Response `200`

Successful Response

- ApiResponseIAutoTopUpCredits
  - `r` IAutoTopUpCredits, required
    - `active` boolean, required
    - `amount` integer, required
    - `threshold` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/smooth/apis/circlemind-zero.md) · [All operations](https://skmtc.dev/smooth/apis/circlemind-zero/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/smooth/circlemind-zero/revisions/472956a12adf/schema)
