Grok Voice Utilities

Browse live voice catalogs, manage authorized custom voices, and send SIP registration or call-control requests. Credentials, reference audio, and one-time signing secrets stay in this page's memory.

Grok Voice 3 | Text to speech | Streaming TTS

Connection

Use the native https://api.x.ai API base URL. The selected operation supplies its documented route. Nothing is sent until you select Send request.

Advanced

Account changes and live call controls require explicit confirmation below. This page keeps credentials and reference audio in memory for the current visit.

Operation
Voice utility request content
Estimated cost Unavailable(Reported Cost: Unavailable)
Per-operation pricing is unavailable for voice library and SIP utilities. Reported cost appears when xAI returns it.

Choose an operation to begin.

SIP setup, secure webhooks, and server-side call sessions

Register your customer-owned number with origin byo_trunk and either webhook routing or an agent_id. Set your carrier's destination to sip:{number}@sip.voice.x.ai;transport=tls. Restrict SIP access with allowed_addresses CIDRs or digest credentials.

Your backend must verify the webhook-id, webhook-timestamp, and webhook-signature headers using the one-time signing secret. Read data.call_id from the verified realtime.call.incoming event, then connect server-side to wss://api.x.ai/v1/realtime?call_id=CALL_ID using your API key in the Authorization header. Send session.update and response.create. Ephemeral browser tokens cannot join SIP calls.

Transfer uses a tel: or sip: target_uri and returns its outcome synchronously. A failed transfer leaves the existing call connected. DTMF keypresses arrive as input_audio_buffer.dtmf_event_received: digits flush on #, after 2.5 seconds idle, or when the caller starts speaking. Resumption can attach cached conversation context to a later call for up to 30 minutes.

Complete SIP guide and carrier configuration
An unhandled error has occurred. Reload 🗙