Skip to main content
POST
/
v1
/
agents
Create agent
curl --request POST \
  --url https://api.oneinbox.ai/v1/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "llm_id": "<string>",
  "transcriber": {
    "provider": "deepgram",
    "model": "nova-3",
    "language": "en"
  },
  "tts": {
    "voice_id": "<string>",
    "speed": 1,
    "stability": 0.5
  },
  "webhook_id": "<string>",
  "first_message": "<string>",
  "end_call_phrases": [
    "<string>"
  ],
  "silence_timeout_seconds": 10,
  "max_duration_seconds": 600,
  "interruption_sensitivity": 0.6,
  "enable_recording": false
}
'
{
  "id": "<string>",
  "name": "<string>",
  "llm_id": "<string>",
  "first_message": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

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.

Authorizations

Authorization
string
header
required

API key from the OneInbox dashboard (API Keys → Create)

Body

application/json
name
string
required
llm_id
string
required
transcriber
object
required
tts
object
required
webhook_id
string
first_message
string
end_call_phrases
string[]
silence_timeout_seconds
integer
default:10
max_duration_seconds
integer
default:600
interruption_sensitivity
number
default:0.6

How easily the user can interrupt (0.0–1.0)

enable_recording
boolean
default:false

Response

201 - application/json

Created

id
string
name
string
llm_id
string
first_message
string
created_at
string<date-time>