---
title: "Mint an ephemeral realtime client secret"
method: POST
path: "/v1/realtime/client_secrets"
tags: ["realtime"]
---

# Mint an ephemeral realtime client secret

`POST /v1/realtime/client_secrets`

OpenAI-compatible ephemeral credential minting for browser and mobile realtime clients. Routes by session.model (or the transcription model for transcription sessions), applies the same model-access, budget, and rate-limit gates as other model endpoints, and relays the provider response verbatim. The minted secret authenticates the client directly against the provider, bypassing the gateway for the session itself.

## Query parameters

- `provider` string

## Request body

- object
  - `expires_after` object
  - `session` object

## Response `200`

Provider client secret response

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `429` — Too Many Requests
- `501` — Not Implemented
- `502` — Bad Gateway

---

[API](https://skmtc.net/enterpilot/apis/gomodel-api.md) · [All operations](https://skmtc.net/enterpilot/apis/gomodel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enterpilot/gomodel-api/versions/4c27ea61fcfe/schema)
