const response = await fetch('https://cams.aquanow.com/api/v1/webhook-messages', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"webhookMessageTypes": [
"ALL"
]
}),
});
const data = await response.json();