---
title: "Start, refresh, or end a test-mode window for a business (agents:write). enabled=true starts/refreshes the window (default 24h); enabled=false goes live (idempotent)."
method: PATCH
path: "/v1/test-mode"
---

# Start, refresh, or end a test-mode window for a business (agents:write). enabled=true starts/refreshes the window (default 24h); enabled=false goes live (idempotent).

`PATCH /v1/test-mode`

## Request

- Base URL: `https://www.kaicalls.com/api`
- URL: `https://www.kaicalls.com/api/v1/test-mode`
- Auth: HTTP bearer

## Request body

- object
  - `business_id` string, required
  - `enabled` boolean, required
  - `phone_numbers` string[]
  - `duration_hours` integer

## Response `200`

Updated mode state

---

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