Skip to main content
POST
Create Agent

Authorizations

X-API-Key
string
header
required

Workspace API key (e.g. kej_live_...)

Body

application/json

Create an agent (persona).

name
string
required

Agent name

Required string length: 1 - 255
description
string | null

Agent description

avatar
string | null

Avatar URL

memory_enabled
boolean
default:true

Enable contact memory across conversations

call_settings
CallSettingsInput · object | null

Call settings — call window, retry, scoring, tags, post-call

Example:
voice_config
VoiceConfigInput · object | null

Initial voice configuration

tools
AgentToolAttach · object[] | null

Tools to attach to this agent

Response

Successful Response

Full agent (persona) response (public-safe).

id
string
required
name
string
required
is_active
boolean
required
memory_enabled
boolean
required
description
string | null
call_settings
CallSettingsInput · object | null

Unified call settings -- controls call window, retry, scoring, tags, and post-call behavior.

Can be set at agent level or campaign level. Null fields inherit from the parent level. Hierarchy (lowest -> highest priority): System Defaults -> Workspace -> Agent -> Campaign -> API Override.

Example:
voice_configs
VoiceConfigResponse · object[]
tools
AgentToolResponse · object[]
created_at
string | null
updated_at
string | null