phone_number | string | yes | E.164 destination number. |
task | string | yes | Instruction for AI behavior. |
language | string | no | Language code such as sv, en, de. |
tts_provider | string | no | auto, openai, elevenlabs, azure. |
openaiVoice | string | no | OpenAI realtime voice id. |
11labsVoice | string | no | ElevenLabs voice id (legacy alias). |
elevenLabsVoice | string | no | ElevenLabs voice id. |
elevenLabsModel | string | no | ElevenLabs model id. |
azureVoice | string | no | Azure Neural voice name. |
style | string | no | Azure style hint. |
role | string | no | Azure role hint. |
azureBackgroundAudio | object | no | Background audio config for Azure speech. |
additionalPrompt | string | no | Extra instructions appended to task context. |
record | boolean | no | Enable call recording. |
max_duration | number | no | Maximum connected call duration (seconds). |
max_queue_time | number | no | Maximum queue wait duration (seconds). |
persona | object | no | Caller persona fields (name, phone, etc). |
transfer_number | string | no | E.164 transfer target for handoff flows. |
from_number | string | no | Override caller id (must be verified). |
share_policy | object | no | Controls how sensitive fields may be shared. |
enable_calendar | boolean | no | Enable calendar tools in-call. |
calendar_permissions | object | no | Calendar read/write permissions. |
webhook | string | no | HTTPS endpoint for events. |
webhook_events | string[] | no | Event filters. Default is call_completed. |
metadata | object | no | Arbitrary client metadata (for correlation/idempotency). |
userOnCall | boolean | no | User joins call before AI takeover. |
userPhone | string | conditional | Required when userOnCall is true. |
monitored | boolean | no | Deprecated alias of userOnCall. |
user_phone | string | no | Deprecated alias of userPhone. |