Webhooks can be updated by provinding the below listed parameters.
Setting a webhook secret allows you to ensure that POST
requests sent to the payload URL are from GitHub. When you set a secret, you’ll receive the X-PAYLIAS-SIGNATURE
header in the webhook POST
request.
The add_events
array allows your webhook to subscribe to additional events while the remove_events
array will unsubscribe the events from your webhook. Please note that the uniqueness constraint from the section above still applies.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The Partner ID header used for authorization
The Idempotency Key - usually a UUID
The unique identifier for the webhook
"whk_cjf0qivsemvkg2on8f9g"
Request to update an existing webhook
The body is of type object
.
Successful retrieval of a webhook subscription
Standard response structure for successful operations