cURL
curl --request POST \ --url https://api.getarbol.com/v1/agents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "primaryLanguage": "<string>", "systemPrompt": "<string>", "greeting": "<string>", "supportedLanguages": [ "<string>" ], "model": "<string>", "maxCallDurationSeconds": 300, "status": "ACTIVE", "voiceConfigs": [ {} ], "toolAssignments": [ {} ], "metadata": {} } '
{ "id": "<string>", "name": "<string>", "primaryLanguage": "<string>", "status": "ACTIVE", "systemPrompt": "<string>", "greeting": "<string>", "model": "<string>", "metadata": {}, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Create a new voice AI agent with voice configuration, system prompt, and tools.
Use your API key from the Arbol dashboard. Go to Settings > API Keys to generate one.
1 - 100
1 - 10000
1 - 1000
60 <= x <= 3600
ACTIVE
PAUSED
INACTIVE
Created agent