const options = {
method: 'POST',
headers: {
Authorization: '<authorization>',
Version: '<version>',
'Content-Type': 'application/json'
},
body: JSON.stringify({tagIds: ['<string>']})
};
fetch('https://services.leadconnectorhq.com/social-media-posting/{locationId}/tags/details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));