Skip to main content
POST
register a realtime call

Authorizations

Authorization
string
header
required

your rumik api key, e.g. rk_live_.... create one in the rumik dashboard.

Body

application/json
agent_id
string
required

the agent to run — its uuid or its ua_… handle. agentId is accepted too.

Example:

"ua_fe3277d8"

Response

a single-use realtime session token.

access_token
string

single-use token, prefixed wct_. pass as ?token= when opening the realtime socket.

Example:

"wct_9f8c2b1e4d5a4e6fa7b8c9d0e1f2a3b4"

expires_in
integer

seconds the token stays redeemable.

Example:

300

sample_rate
integer

audio sample rate for the session, in hz.

Example:

24000