Skip to main content
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>"
}

Documentation Index

Fetch the complete documentation index at: https://tyk.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

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