Skip to main content
PUT
/
v1
/
operational-webhook
/
endpoint
/
{id}
/
headers
TypeScript SDK
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');

Path Parameters

id
string
required

The endpoint ID or UID

Body

application/json
headers
object
required

Custom key-value headers to send with the webhook.

Example:
{ "X-Example": "123", "X-Foobar": "Bar" }

Response

204

Headers set