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

Image → Webhook: Rotate Secret

AI-generated

Summary

Rotate the signing secret for a specified webhook endpoint to invalidate the old secret and generate a new one.

Inputs

  • Webhook Endpoint ID (required) — ID of the webhook endpoint (obtained from the Webhook: List Endpoints operation) whose secret you want to rotate.

Output shape

a single JSON object containing the API response with the new webhook secret details

The operation sends a POST request to rotate the secret for the provided webhook endpoint ID. The returned data includes the new secret information. Use this operation to maintain webhook security by replacing the signing secret.

Links

Discussion