---
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

## Changes

> 53 revisions in range; 10 could not be searched.

- **2026-07-07** `e6765808efd4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/enterpilot/apis/gomodel-api/changes/v1/realtime/client_secrets/post.md)

---

[API](https://skmtc.dev/enterpilot/apis/gomodel-api.md) · [All operations](https://skmtc.dev/enterpilot/apis/gomodel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/enterpilot/gomodel-api/revisions/7b5727a74f59/schema)
