IVoiceEgress
2026-04-01 draft/api/bot/IVoiceEgress/v20260401/
Subscribe to individual voice tracks for audio egress. Verified bots only.
Authentication required
All endpoints require Authorization: Bot <token> header.
Get a token →
POST
/api/bot/IVoiceEgress/v20260401/SubscribeTrack
Privileged
ConnectVoice Subscribes to a user's audio track in a voice channel. Returns a LiveKit token and WebSocket URL for receiving the audio stream. The bot must be a verified bot and a member of the space.
Request Body SubscribeTrackRequest
Field Type
channelId string
spaceId string
userId string
Response SubscribeTrackResponse
Field Type
roomName string
token string
trackId string
wsUrl string
Errors
Status Code Description
400 not_voice_channel Channel is not a voice channel.
403 not_a_member Bot is not a member of this space.
403 not_verified This endpoint requires a verified bot.
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 '{"channelId":"...","spaceId":"...","userId":"..."}' \ https://api.argon.gl/api/bot/IVoiceEgress/v20260401/SubscribeTrack
DELETE
/api/bot/IVoiceEgress/v20260401/UnsubscribeTrack
Privileged
ConnectVoice Unsubscribes from a previously subscribed audio track.
Request Body UnsubscribeTrackRequest
Field Type
trackId string
Response DeletedResponse
Field Type
deleted boolean
Errors
Status Code Description
403 not_verified This endpoint requires a verified bot.
Example
$ curl -X DELETE \ -H "Authorization: Bot YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"trackId":"..."}' \ https://api.argon.gl/api/bot/IVoiceEgress/v20260401/UnsubscribeTrack