{
"type": "object",
"properties": {
"phone_number": {
"type": "string",
"description": "Number to call, including country code, e.g. +911234567890"
},
"agent_id": {
"type": "string",
"description": "Agent ID to place the call, e.g. agent_abc123"
},
"agent_version_number": {
"type": "number",
"description": "Specific published agent version to use. Defaults to the latest published version if omitted."
},
"metadata": {
"type": "object",
"additionalProperties": {},
"description": "Context made available to the agent during the call for personalization, e.g. {\"customer_name\": \"John Doe\"}."
},
"notes": {
"type": "object",
"additionalProperties": {},
"description": "Optional notes stored on the resulting call log. At most 15 top-level keys."
}
},
"required": [
"phone_number",
"agent_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}