Webhooks
Rotate webhook endpoint signing secret
Generates a new signing secret for the endpoint. The previous secret stays valid for 24 hours so receivers can roll over without dropping deliveries.
post/v1/webhooks/endpoints/{endpointId}/secret/rotate
Request
- Base URLhttps://sandbox.api.infinite.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
endpointIdstring required
Example:ep_1234567890abcdef
The ID of the webhook endpoint
Headers
X-API-Keystring
API key
Response
Signing secret rotated successfully
Example response
{
"key": "whsec_C2FVsBQIhrscChlQIMVub5sSYspob7oD"
}Changes
No recorded changes to this operation across all 47 revisions of this API.