const options = {
method: 'POST',
headers: {Token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({leadId: '<string>', labelId: '<string>'})
};
fetch('https://crm.wavups.com/api/v1/lead/label/assign', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));