v32

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-07-312881,4162.7 MB
Realtime

Create translation client secret

Create a Realtime translation client secret with an associated translation session configuration.

Client secrets are short-lived tokens that can be passed to a client app, such as a web frontend or mobile client, which grants access to the Realtime Translation API without leaking your main API key. You can configure a custom TTL for each client secret.

Returns the created client secret and the effective translation session object. The client secret is a string that looks like ek_1234.

post/realtime/translations/client_secrets

Request body

Response

Translation client secret created successfully.

valuestring required

The generated client secret value.

expires_atinteger required

Expiration timestamp for the client secret, in seconds since epoch.