Skip to main content
POST
Create a chat 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.

Body

application/json

A new agent. A name is enough; Klatt fills in a complete default configuration.

name
string
required

Name of the new agent, up to 255 characters.

Required string length: 1 - 255
language
enum<string>
default:es-ES

Language the agent speaks or writes: es-ES, en, fr-FR, it-IT, de-DE, pt-PT, ca-ES, gl-ES or eu-ES. A voice agent in Catalan, Galician or Basque gets a voice that speaks it. Defaults to es-ES.

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

Response

Successful Response

agent_uuid
string<uuid>
required

Unique identifier (UUID) of the new agent.