Skip to main content
POST
Create realtime client secret

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Body

application/json
session
OpenAISessionConfig · object | null
expires_after
ExpiresAfter · object | null

Response

Successful Response

value
string
required
expires_at
integer
required
session
OpenAISessionConfig · object | null