---
title: "Create Realtime Client Secret"
method: POST
path: "/v1/realtime/client_secrets"
tags: ["Realtime Voice"]
---

# Create Realtime Client Secret

`POST /v1/realtime/client_secrets`

## Request

- Base URL: `https://api.oneinfer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oneinfer.ai/v1/realtime/client_secrets`
- Auth: HTTP bearer

Mint a client secret (10 s to 10 min) that opens one realtime session for one model.

## Request body

- RealtimeClientSecretRequest
  - `model` string, nullable: Realtime model, e.g. x-ai/grok-voice-3.0
  - `expires_in_seconds` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oneinfer/apis/oneinfer-apis.md) · [All operations](https://skmtc.dev/oneinfer/apis/oneinfer-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oneinfer/apis/oneinfer-apis/revisions/5479122617c3?raw)
