const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({agent_id: '<string>', agent_phone_number_id: '<string>', to_number: '<string>'})
};
fetch('https://api.threetone.in/v1/convai/twilio/outbound-call', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));