API Reference
Complete reference for the AethexAI REST API. Authenticate with the X-API-Key header.
https://api.aethexai.com/api/v1Agents
Create and manage voice agents, tools, and knowledge bases.
API Keys
List your tenant's API keys and rotate them. Create/revoke is portal-UI only.
Auth (portal session)
Developer profile, logout, account delete. Portal JWT only — not callable with an API key.
Calls
Initiate outbound calls, batch calls, and retrieve call history.
Conversation (WebRTC)
Create authenticated WebRTC voice sessions and interact in real time.
Phone Numbers
Register and manage phone numbers via Twilio or SIP.
SIP Trunks
Create outbound SIP trunks, register caller IDs, and manage BYO-carrier trunk policy.
Twilio Accounts
Register and manage per-account Twilio accounts. Required before registering Twilio phone numbers.
Conversations
Access conversation history, transcripts, audio, and feedback.
Recordings
List, download, and manage call recordings.
Transcription
Transcribe audio files synchronously or async with webhook delivery for longer recordings.
Text-to-Speech
Convert text to speech audio with batch or streaming output.
Voices
Browse TTS voices and preview audio samples.
Usage
Monitor API usage, daily/monthly breakdowns, and alerts.
