import { Solifyn } from 'solifyn';
const solifyn = new Solifyn({ apiKey: 'your_private_api_key_here' });
// Set custom headers for operational endpoint
await solifyn.webhookEndpoint.updateHeaders('ep_1srOrx2ZWZBpBUvZwXKQmoEYga2', {
headers: {
'X-Custom-Header': 'CustomValue'
}
});
console.log('Endpoint headers updated successfully');