register a call
mint a call id and exchange your api key for a single-use token that starts exactly one call — a realtime socket or a web call — so a browser never holds the key. the call_id is yours before anything runs, so a before-call tool that receives {call_id} can be matched to your own records. registering does not start a call: nothing is billed and no capacity is taken until the socket connects or the web call starts.
Authorizations
your rumik api key, e.g. rk_live_.... create one in the rumik dashboard.
Body
the agent to run — its uuid or its ua_… handle. agentId is accepted too.
"ua_fe3277d8"
Response
the call's id and a single-use token to start it with.
single-use token, prefixed wct_. pass as ?token= when opening the realtime socket, or as accessToken to /v1/webcall.
"wct_9f8c2b1e4d5a4e6fa7b8c9d0e1f2a3b4"
seconds the token stays redeemable.
300
audio sample rate for a realtime session, in hz. a web call negotiates its own.
24000
the call's id, minted now. it is what session.created and the web call's callId carry once the call starts, what conversations and usage show, and what your tools receive as {call_id}.
"01a05b4e-2c1d-7a3e-9f10-5b6c7d8e9f01"