Skip to main content
POST
Create realtime session
See the Audio API guide for request examples, limits, billing and delivery behavior.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
enum<string>
required
Available options:
eleven_v3,
eleven_v4,
eleven_v4_turbo
controls
object
required
maxCostUsd
number
default:1
Required range: x <= 10

Response

Success

sessionId
string
required
url
string<uri>
required
token
string
required

One-use ticket, expires after 60 seconds. Send in first WebSocket frame, never in URL.

tokenExpiresAt
string<date-time>
expiresAt
string<date-time>
inputMode
any