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

Photo Mockup → Webhook: Rotate Secret

AI-generated

Summary

Rotate the signing secret of a specified webhook endpoint to enhance security by invalidating the previous secret and generating a new one.

Inputs

  • Webhook Endpoint ID (required) — The unique identifier of the webhook endpoint whose secret is to be rotated. This ID is obtained from the Webhook: List Endpoints operation.

Output shape

a JSON object containing the result of the rotation request, usually including the new secret or a success confirmation

The operation makes a POST request to rotate the secret for the specified webhook endpoint. The output includes the response JSON from the API indicating success and any new secret details.

Examples

Example 1: Rotate secret of a known webhook endpoint

Provide the webhook endpoint ID to rotate its secret.

Links

Discussion