Create translation client secret
Changed onCreate 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.
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/realtime/translations/client_secrets
- AuthHTTP bearer
Request body
Response
Translation client secret created successfully.
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info