POST
/
webhooks
/
{webhook_id}
/
headers
Add a new header to a webhook
curl --request POST \
  --url http://localhost:3001/portal-api/webhooks/{webhook_id}/headers \
  --header 'Content-Type: application/json' \
  --data '{
  "Name": "<string>",
  "Value": "<string>"
}'
{
  "ID": "<string>",
  "Name": "<string>",
  "Value": "<string>",
  "WebhookID": "<string>"
}

Path Parameters

webhook_id
string
required

Body

application/json

Header object that needs to be added

Details of a webhook header

Name
string

Name of the header

Value
string

Value of the header

Response

Header added successfully.

ID
string

Unique identifier for the header

Name
string

Name of the header

Value
string

Value of the header

WebhookID
string

Unique identifier of the associated webhook