Skip to main content
POST
Create a client secret

Authorizations

Authorization
string
header
required

Your Boson API key, sent as Authorization: Bearer $BOSON_API_KEY.

Body

application/json
expires_after
object

Response

A short-lived Realtime client secret.

object
enum<string>
required
Available options:
realtime.client_secret
value
string
required

Ephemeral key beginning with bai-eph-.

Example:

"bai-eph-<hash>"

expires_at
integer
required

Expiration time as Unix seconds.

Example:

1712345678

session
object
required