Skip to main content
GET
Tell whether the signed-in user can open a voice session

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

Query Parameters

voices
enum<string>

true to list the voices offered in voices.

Available options:
true
language
string

Language of the session, an ISO 639-1 code or a language tag (fr-FR or fr_FR counts as fr); fr when absent or not a language tag. The listed voices speak it.

Example:

"fr"

Response

200 - application/json

Availability for the caller. A refusal is not an HTTP error.

available
boolean
required
voices
object[]

With voices=true, when available, the voices offered to the caller in language.

reason
string

Why not, when available is false: FORBIDDEN (no signed-in user, or no audio-transcriptions permission), VOICE_DISABLED (the organization turned voice off), MODEL_NOT_ALLOWED or NO_TRANSCRIPTION_MODEL (governance of the organization), UNSUPPORTED_PROVIDER (the transcription model is not served by a supported provider), UNAVAILABLE otherwise.