Devices & Texts
Create Predefined Text
Create a custom voice prompt for a specific language and text code.
POST
Overview
Creates a new predefined text for your organisation. Each text is uniquely identified by the combination oflanguage and text_code — you cannot have two texts with the same language and text_code pair. If you want to update an existing text, use the Update Predefined Text endpoint instead.
Path Parameters
string
required
Your organisation’s unique identifier.
Request Body
integer
required
Your organisation’s numeric ID. Must match the
orgId path parameter.string
required
The language of this text, in
[ISO 639-1]-[ISO 3166-1 alpha-2] format. Example: en-UK, fr-FR. See Language Support for the full list.integer
required
An integer you define to categorise this text. Use a consistent convention across your organisation — for example,
1 = enrollment prompt, 2 = verification prompt, 3 = failure message. The values themselves are arbitrary; the meaning is defined by your implementation.string
required
The actual text content — the prompt or instruction displayed or spoken to users. There is no hard character limit but keep prompts concise (under 200 characters) to avoid user friction.

