Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.oneinbox.ai/llms.txt

Use this file to discover all available pages before exploring further.

What is an agent?

An agent is your voice AI caller — STT, LLM, TTS, and conversation rules in one resource.
PartFieldRole
Brainllm_idPersonality and instructions via LLM model
EarstranscriberSpeech → text
VoicettsText → speech
BehaviorGreeting, timeouts, phrasesCall flow

Create once, use many times

One agent supports:
  • Web calls via POST /v1/calls/webWeb calls
  • Browser voice via the Web SDK
  • Outbound and inbound phone calls
  • Per-call variables without cloning agents
Optional: webhook_id, interruption_sensitivity, enable_recording.

Key fields

transcriber

FieldExample
providerDefault STT
modelDefault STT
languageen

tts

FieldExample
providerDefault voice
voice_idDefault voice
speed1.0
stability0.5

Behavior

FieldPurpose
first_messageOpening line
end_call_phrasesUser triggers hang-up
silence_timeout_secondsEnd on silence
max_duration_secondsHard time limit
interruption_sensitivity0.0–1.0
enable_recordingRecord call audio

Full example

Quickstart step 3 · Create agent

Update an agent

curl -X PATCH https://api.oneinbox.ai/v1/agents/<agent_id> \
  -H "Authorization: Bearer <api_key>" \
  -H "Content-Type: application/json" \
  -d '{ "first_message": "Hello! Thanks for calling." }'

Next steps