const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({webhookId: '<string>', eventType: '<string>', filters: {}})
};
fetch('https://api.example.com/v1/regions/global/webhooks/subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));