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

PSD Mockup → Webhook: Update Endpoint

AI-generated

Summary

Update an existing SudoMock webhook endpoint's URL, description, enabled status, subscribed events, or event naming convention.

Inputs

  • webhookId (required) — ID of the webhook endpoint to update.
  • webhookEvents — Event types this endpoint receives. Leave empty to subscribe to all current and future events.
  • webhookUpdateFields — Collection of fields to update, including Description, Enabled, Endpoint URL, and Event Naming (current or legacy).

Output shape

a single record

Returns the updated webhook endpoint details returned by the SudoMock API.

Examples

Example 1: Change an endpoint URL

Set Webhook Endpoint ID to 'wh_12345' and Update Fields -> Endpoint URL to 'https://api.example.com/webhooks'.

Example 2: Deactivate an active webhook endpoint

Set Webhook Endpoint ID to 'wh_12345' and Update Fields -> Enabled to false.

Links

Discussion