Webhooks
Rotate a webhook secret
Generate a new signing secret for the endpoint. For 24 hours, each delivery carries two signatures in webhook-signature: one from the new secret and one from the previous secret. Deploy the new secret to your verifier before previous_secret_expires_at. After that time, deliveries carry only the new signature.
post/api/v1/webhook_endpoints/{endpoint_id}/rotate_secret
Request
- Base URLhttps://app.voicepanel.com
- URLhttps://app.voicepanel.com/api/v1/webhook_endpoints/{endpoint_id}/rotate_secret
- AuthHTTP bearer
Path parameters
endpoint_idstring required
Example:whep_9Lm2Xc7VqT4bRn
The webhook endpoint ID
Response
Successful response
Example response
{
"id": "whep_9Lm2Xc7VqT4bRn",
"secret": "whsec_Zp4wN1tK7cRm9Qx2yBv6LsH8dJ3fGa5oEu0iTk2XqWc=",
"previous_secret_expires_at": "2026-03-11T09:00:00.000Z",
"warning": "Store this secret securely. It will not be shown again."
}Changes
No recorded changes to this operation across all 1 revision of this API.