Skip to main content
GET
Get a voice agent

Authorizations

Authorization
string
header
required

An organization API key created in the Klatt console, sent as Authorization: Bearer <key>. The key belongs to one organization.

Path Parameters

agent_uuid
string
required

Unique identifier (UUID) of the agent.

Response

Successful Response

additional_languages
enum<string>[]
required

Other languages the agent also handles, besides the default language. Empty means the agent is single-language.

Available options:
es-ES,
en,
fr-FR,
it-IT,
de-DE,
pt-PT,
ca-ES,
gl-ES,
eu-ES
agent_uuid
string<uuid>
required

Unique identifier (UUID) of the agent.

allow_first_message_override
boolean
required

Whether the first message may be replaced for a call, by first_message_rules.

allowed_contact_fields
string[]
required

Contact data the agent may use in conversation: first_name, last_name, company, notes, phones, emails, or field:<key> for a custom field of the contact list.

Pattern: ^(first_name|last_name|company|notes|phones|emails|field:[a-zA-Z][a-zA-Z0-9_]{0,39})$
contact_list_uuid
string<uuid> | null
required

UUID of the contact list the agent uses to recognize callers. null means none.

conversation_rules
object
required

Rules for AI disclosure, communication style and how the agent handles unrelated questions, upset people and sales calls.

created_at
string<date-time>
required

When the agent was created (ISO 8601, UTC).

document_uuids
string<uuid>[]
required

UUIDs of the knowledge documents the agent uses when knowledge_scope is selected.

first_message
string | null
required

What the agent says first when a call starts. null means the default greeting.

first_message_rules
object[] | null
required

Rules that choose the greeting. The first rule whose conditions all match gives the greeting; with null the agent uses first_message. Needs allow_first_message_override to be true.

knowledge_scope
enum<string>
required

Which documents the agent may use: company for all your knowledge documents, selected for only those in document_uuids.

Available options:
company,
selected
language
enum<string>
required

Language the agent speaks or writes: es-ES (Spanish, Spain), en (English), fr-FR (French), it-IT (Italian), de-DE (German), pt-PT (Portuguese, Portugal), ca-ES (Catalan), gl-ES (Galician) or eu-ES (Basque). Voice agents accept Catalan, Galician and Basque once Klatt has enabled them for voice (cooficial_voice_unavailable before that).

Available options:
es-ES,
en,
fr-FR,
it-IT,
de-DE,
pt-PT,
ca-ES,
gl-ES,
eu-ES
match_landlines
boolean
required

Whether callers using a landline number are matched to contacts. Off by default, because several people can share a landline.

name
string
required

Name of the agent, shown in the console and in conversation lists.

orb_color
string | null
required

Color of the agent's orb in the console, as a hex code such as #1A2B3C. null means the default color.

outcome_fields
object[]
required

Data the agent extracts when a conversation ends; webhooks read it as {{outcome.<key>}}. Empty means none.

Maximum array length: 20
procedures
object[]
required

Procedures the agent follows when their trigger applies, up to 20.

prompt
string
required

The instructions that define how the agent behaves.

save_audio
boolean
required

Whether the audio of calls with this agent is saved.

specific_terms
string[]
required

Words, names or phrases the agent should recognize accurately when callers say them.

tool_count
integer
required

Number of tools the agent uses: the tools of its integrations plus one for each transfer target.

tool_limit
integer
required

Maximum number of tools one agent can have.

updated_at
string<date-time>
required

When the agent was last changed (ISO 8601, UTC).

voice_settings
object
required

The voice and how the agent takes turns in a call.

kind
string
default:voice

Always voice.

Allowed value: "voice"