Skip to main content
GET
FIXED · agent For a different inbound opening on each number, use Dynamic greeting and put the opening in that number’s custom_prompt. Fixed welcome_message text, spoken language, pickup delay and general call timezone are shared agent settings. Use separate agents when those must differ. A booking timezone changes calendar times only. NOT OFFERED → do this instead · number A number cannot override fixed agent settings. Use its dynamic opening for business-specific wording. Use different agents for different fixed settings. YOU CAN CHANGE · agent Choose the supported catalogue voice and an eligible route. Select manual speech terms or configure structured values to extract from transcripts. SCOPE · number Choose a complete primary and backup voice pair on the number. It overrides the agent pair as a whole. To use the saved agent pair, set voice_pair_inherit to true. Setting the older voice_id field can clear the agent’s catalogue key, and a pair that is only partly set can be unavailable. Never choose by alias precedence. Group numbers by the knowledge and agent settings their customers need. Attribute each customer’s usage to its verified business number. Agents are unlimited. There is no fee per agent. Customers pay only for usage (minutes and texts). Many customers can use one shared agent, each with its own number and number prompt. Use separate agents only for different knowledge or agent settings. List page size, knowledge-base quotas and simultaneous-call limits do not cap agent count. For a different greeting per business, keep Dynamic greeting on (the default) and put the opening line in that number’s custom_prompt. For example, “Start every call with: Thank you for calling Oak and Stone”. Read the compact AI rules Read a voice visible to this account and its compatibility with an optional agent language. A successful read can return selectable: false; read the reason before using the voice.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
  • Keep the exact voice key from the catalogue.
  • A missing or unavailable voice needs a deliberate alternative, not a guessed key.

Authentication

Send Authorization: Bearer KEY_ID:KEY_SECRET using the owning account’s server-side credential.

Request fields

Do not send a request body. agent_language takes precedence over agent_id. Without either, selectable reflects availability and approved languages, not a particular agent. A fixed-language agent needs approval for that language; a multi-language agent uses its server-derived language set. Preview absence is separate from availability. Accent language, locale and label can each be null; keep unknown metadata as null.

Response fields

200 OK returns the shape below. Nullable fields can be unknown or unset; do not turn null into zero or false.

Example request

Raw HTTP base URL: https://api.nixflex.com/v1. Node and Python SDK base URL: https://api.nixflex.com. The SDK adds /v1. Keep NIXFLEX_API_KEY in your private process environment. The shell examples use Bash syntax. SDK and CLI examples require Node/CLI 0.11.0 or later and Python 0.4.0 or later. Set NXF_VOICE_KEY to the intended account-owned identifiers or approved recipient before running.

Example response

Illustrative 200 response. Identifiers and values are examples; some optional or compatibility fields are omitted.

Errors

Failures return an error object with code, message, doc_url and optional details. Each code links to the shared error catalog. Read the message and details before deciding whether to resend.

Retry and idempotency

This is a read-only request. Retry transient connection or server failures with bounded backoff; respect Retry-After for 429. Do not retry validation or ownership errors unchanged. A later read can return newer state.

Authorizations

Authorization
string
header
required

KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.

Path Parameters

voice_key
string
required

Voice key returned by List voices. Lookup is case-insensitive.

Query Parameters

agent_id
string

Optional owned agent whose saved language provides the compatibility context. Ignored when agent_language is supplied.

agent_language
string

Optional supported language code or multi for a draft agent. Takes precedence over agent_id.

Response

OK

voice_key
string
required

Stable neutral catalog identifier; use this value when selecting a voice.

displayName
string
required

Display label, not an identifier.

gender
enum<string>
required

Catalog gender label.

Available options:
male,
female,
unknown
nativeLanguage
string | null
required

Native language code, when known.

locale
string | null
required

Locale label, when known.

accents
object[]
required

Available accent labels.

languages
string[]
required

Languages approved for this voice.

Approved language code.

origin
enum<string>
required

Standard catalog or a connection belonging to this account.

Available options:
standard,
connected
availability
enum<string>
required

Current catalog availability.

Available options:
active,
temporarily_unavailable,
unavailable
selectable
boolean
required

Whether a new selection is compatible with the supplied agent context.

incompatibilityReason
string | null
required

Reason when not selectable: voice_unavailable, voice_temporarily_unavailable, no_approved_languages, native_language_not_in_multi_set or language_not_approved. These are response values, not HTTP errors.

previewLanguage
string | null
required

Preview language, or null when no preview exists.

previewStatus
string
required

Preview state; none when no preview is available.

previewUrl
string | null
required

Preview URL when present. Null does not imply that the voice is unavailable.