v1

latestOpenAPI 3.0.1MIT2026-07-26104203277.0 KB

Initiate a text to speech job

post/v1/jobs/text-to-speech

Request body

voiceIdstring

The voice id you wish to use. If you are using a cloned voice, you need to preload it first using preload cloned TTS voice API

textstring

The text you want to convert to speech.

webhookUrlstring uri

The webhook url to which the TTS job result will be sent.

Example request

{
  "text": "أهلاً و سهلاً بكم في همسة!",
  "webhookAuth": {
    "authKey": "Token",
    "authSecret": "Secret"
  }
}

Response

Successful response

successboolean
messagestring