API Reference

API Reference

Every endpoint the CallRolin API exposes.

POST/v1/audio/speech

Synthesize speech from text. Body: text (required), voice (required), language, format. Returns audio bytes.

POST/v1/audio/speech/stream

Streaming text-to-speech — same parameters as /v1/audio/speech; audio is returned as it's generated.

POST/v1/audio/transcriptions

Transcribe audio to text. Multipart: audio file (required), language, timestamps (bool). Returns transcript JSON.

POST/v1/audio/jobs

Create an asynchronous transcription or synthesis job for longer audio or text. Returns a job ID.

GET/v1/audio/jobs/{id}

Retrieve the status and result of an async job by its ID.

GET/v1/voices

List voices available to your account. Returns an array of { id, name, language, description }.

GET/v1/models

List supported models and language codes.

GET/v1/usage

Retrieve account usage — minutes used, minutes included, and overage for the current billing period.