Skip to main content
POST
Create a standalone agent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Create an agent that exists on its own. Connect senders afterwards; an agent answers on any number of them.

name
string
required
Maximum string length: 100
provider
enum<string>
required

LLM provider for the AI agent.

Available options:
openai,
anthropic,
google,
mistral,
zavu
model
string
required
systemPrompt
string
required
Maximum string length: 10000
contextWindowMessages
integer
default:10
Required range: 1 <= x <= 50
includeContactMetadata
boolean
default:true
triggerOnChannels
string[]
triggerOnMessageTypes
string[]
maxTokens
integer
Required range: 1 <= x <= 4096
temperature
number
Required range: 0 <= x <= 2
voice
object

Voice Agent configuration on a sender's AI agent. Controls how the agent behaves on inbound and outbound phone calls through Zavu's managed voice pipeline (speech recognition, the agent's LLM, and speech synthesis, with real-time interruption handling). Requires the Voice Agents feature to be enabled for your team.

Response

Agent created.

agent
object
required

AI Agent configuration for a sender.