Rotate the signing secret for a webhook endpoint. Both old and new secrets will work for 24 hours, giving you time to update your server.
cURL
curl --request POST \ --url https://api.useproxy.ai/v1/webhooks/{webhookId}/rotate-secret \ --header 'Api-Key: <api-key>'
{ "object": "webhook_secret", "secret": "<string>" }
API key for authentication. Get your key from the Dashboard.
The webhook endpoint ID
New webhook secret
webhook_secret
The signing secret for verifying webhook payloads