const options = {
method: 'POST',
headers: {'X-Partner-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.callaro.ai/api/v1/partner/tenants/{tenant_id}/agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));