Skip to main content
POST
Generate Starting Message Audio

Headers

x-anyreach-org
string | null

Organization ID for user PATs (pat_ prefix tokens)

Path Parameters

id
string
required
version
string
required

Body

application/json

Request to pre-generate (or re-preview) static-greeting audio.

text is supplied by the caller so it works on unsaved drafts (mirrors suggest-action-grid). The TTS voice is read from the saved version's configured TTS model, and the stored object is content-addressed over text + that config, so the same body identifies the same recording.

text
string
required
force
boolean
default:false

Response

Successful Response

Short-lived presigned URLs for playing/previewing greeting audio.

An agent with a randomized voice pool has one recording per pool voice — any of them can open a real call, so all of them are auditionable.

recordings
GreetingAudioRecording · object[]
required
playback_url
string
required
read-only

The primary voice's recording (pool entry 0 when there is a pool).

Serialized alongside recordings so a client that predates the per-voice list keeps working — including across a deploy where the backend rolls out ahead of the builder.