---
title: "Set Auto Topup"
method: PUT
path: "/v1/accounts/{account_id}/auto-topup"
---

# Set Auto Topup

`PUT /v1/accounts/{account_id}/auto-topup`

## Request

- Base URL: `https://api.textforagents.com`
- URL: `https://api.textforagents.com/v1/accounts/{account_id}/auto-topup`
- Auth: none declared

## Path parameters

- `account_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- AutoTopupBody
  - `amount_cents` integer, required
  - `enabled` boolean
  - `rail` string, required
  - `threshold_cents` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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