const url = 'https://api.channelautomation.com/api/outbound-iq/settings?workspace_id=string';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));