apicheats.dev Cheat sheet Raw .md
POST

Try POST /realtime/client_secrets — OpenAI API

OpenAI playground

Create client secret

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.openai.com; the proxy stores and logs nothing about them.

Body application/json

2 body fields
  • expires_after · optional · object — Configuration for the client secret expiration. Expiration refers to the time after which a client secret will no longer be valid for creating sessions. The session itself may continue after that time once started. A secret can be used to create multiple sessions until it expires.
  • session · optional · object — Session configuration to use for the client secret. Choose either a realtime session or a transcription session.