> Revox API docs for developers and AI agents. Index: https://www.getrevox.com/docs/api/llms.txt · Everything in one file: https://www.getrevox.com/docs/api/llms-full.txt · OpenAPI 3.1: https://www.getrevox.com/openapi.json · MCP server: https://www.getrevox.com/api/mcp-servers/generic/mcp
> Base URL https://www.getrevox.com/api · Auth: `Authorization: Bearer $REVOX_API_KEY`

# Turn the public demo page on or off

`POST https://www.getrevox.com/api/assistants/{id}/demo-page`

The demo page lets anyone with its link call the assistant and see the calls it placed, with their transcripts and recordings. Off by default. `enabled: true` turns it on with a new link; calling it again regenerates the link and the previous one stops working at once. `enabled: false` turns it off.

## Request

```bash
curl -X POST "https://www.getrevox.com/api/assistants/3f6c2a1e-8b4d-4c7a-9e2f-5d1b7a9c0e34/demo-page" \
  -H "Authorization: Bearer $REVOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "enabled": true }'
```

## Path parameters

- `id` (string, required): ID of the assistant, as returned by [`GET /assistants`](https://www.getrevox.com/docs/api/assistants/get-assistants.md).

## Body

JSON.

- `enabled` (boolean, required): true: turn the page on with a new link (regenerates it if already on). false: turn it off.

## Response 200

```json
{ "demo_page_url": "https://example.com" }
```

- `demo_page_url` (string | null): The page's link, or null when it is off.

## Errors

- `404` Not found in your organization: `{"error":"Not found"}`
- Every status is explained under Errors in https://www.getrevox.com/docs/api.md#errors.