Skip to content

IVoice

v1 stable

/IVoice/v1/

Get voice streaming tokens for audio ingress. Bots stream Opus audio directly to a WebSocket endpoint — no WebRTC needed.

Authentication required

All endpoints require Authorization: Bot <token> header. Get a token →

POST /IVoice/v1/StreamToken Connect

Gets a LiveKit JWT token and WebSocket ingress URL for streaming audio into a voice channel. The bot must be a member of the space, and the channel must be a voice channel.

Request Body VoiceStreamTokenRequest

Field Type
spaceId
uuid
channelId
uuid

Response VoiceStreamTokenResponse

Field Type
token string
ingressUrl string
roomName string

Errors

Status Code Description
400 missing_space_id spaceId is required.
400 not_voice_channel Channel is not a voice channel.
403 not_a_member Bot is not a member of this space.
404 channel_not_found Channel does not exist in this space.

Example

curl -X POST \
     -H "Authorization: Bot YOUR_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{"spaceId":"...","channelId":"..."}' \
     https://gateway.argon.zone/IVoice/v1/StreamToken