SudoMock icon

SudoMock

Generate PSD mockups, photo mockups and product videos for Print-on-Demand automation. Upload PSDs, turn product photos into mockups, render with your designs, render videos, run renders asynchronously, track jobs, and manage webhooks.

Actions229

Font → Webhook: Rotate Secret

AI-generated

Summary

Rotate the signing secret of an existing webhook endpoint identified by its Webhook Endpoint ID to enhance security or replace compromised secrets.

Inputs

  • Webhook Endpoint ID (required) — The unique identifier of the webhook endpoint for which the secret will be rotated; obtained from the Webhook: List Endpoints operation.

Output shape

A single JSON object containing the response from the API indicating the result of the secret rotation, including the new secret and any relevant success status or metadata.

The operation calls the API endpoint POST /webhook-endpoints/{webhookId}/rotate-secret. It returns a JSON response with the new webhook secret. Errors such as invalid webhook ID or authentication issues may be returned as API error responses.

Links

Discussion