Skip to content

Authentication

All Voice AI requests authenticate with an X-API-Key header. Keys are issued in the Console and are scoped to a single product.

POST /ai/speech-to-text HTTP/1.1
Host: api.gocommotion.com
X-API-Key: eak_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Content-Type: multipart/form-data

Sandbox vs production

PrefixEnvironmentWalletEndpoints
eak_test_*SandboxSandbox credit walletSame /ai/... paths
eak_live_*ProductionLive credit walletSame /ai/... paths

Sandbox and production hit the same hostnames. The key prefix decides which wallet is debited and which environment processes the request. Sandbox responses are functionally equivalent but flagged as test data in the console.

Permission scopes

Each key is issued with an explicit scope list. Request only what the key needs.

ScopeGrants
speech-to-textPOST /ai/speech-to-text
text-to-speechPOST /ai/text-to-speech
transcriptionsPOST /ai/transcriptions
voice-clonePOST /ai/voice-clone
voice-designPOST /ai/voice-design
speech-translationPOST /ai/speech-translation
text-translationPOST /ai/text-translation
reasoningPOST /ai/reasoning
speech-to-speechPOST /ai/speech-to-speech
streaming-textPOST /ai/streaming-text
language-intelligencePOST /ai/language-intelligence
knowledge-memoryPOST /ai/knowledge and POST /ai/memory
allAll Voice AI endpoints

Rotation and revocation

Rotate keys whenever a key may have been exposed. Revocation in the console takes effect within a few seconds across the gateway.