Skip to main content
POST
Read a text aloud with the agent's voice

Authorizations

Authorization
string
header
required

An aik_… programmatic API key (app.atako.ai → Settings → API keys) or a Supabase session JWT.

Path Parameters

agentId
string
required

Agent id

Body

application/json
text
string
required
Required string length: 1 - 1000
lang
string

Language of the text (fr, en, …); picks the voice pool.

Maximum string length: 16

Response

mp3 audio (24 kHz mono)

The response is of type file.