Skip to content
API reference

Update webhook

Update URL / events / active flag without rotating the secret.

PATCH/api/v1/webhooks/{id}
Step-by-step guideStep 1 of 3

Select a stage to see what happens.

Your integration
Request readyIllustrative example
PATCH/webhooks/{id}
Authorization
Bearer ••••••••
Accept
application/json

Prepare the request

Use credentials for the selected environment and complete the required parameters.

Illustrative flow · no data is sent

How this endpoint works

Update routing metadata on an existing subscription. The signing secret is preserved — your handler's verification keeps working. Pass only the fields you want to change. To rotate the secret, use the dedicated /rotate-secret endpoint.

Server-side authentication
Authentication guide
Key2Pay Developer documentationAPI v1
Documentation
Dashboard