curl --request POST \
--url http://sandbox.mintlify.com/core/voice_agent/start_phone_call \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"attributes": {
"from_number": "+12025550123",
"to_number": "+12025550789",
"override_agent_id": "123",
"dynamic_variables": {
"first_name": "John",
"last_name": "Doe"
}
}
}
}
'