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: Update Endpoint

AI-generated

Summary

Update an existing webhook endpoint for the Font resource by specifying its endpoint ID and desired changes such as new URL, description, enabled status, subscribed events, and event naming convention.

Inputs

  • Webhook Endpoint ID (required) — ID of the webhook endpoint to update, obtained from the Webhook: List Endpoints operation.
  • Update Fields — Collection of fields to update, including Description (human-readable label), Enabled (boolean to activate or deactivate the endpoint), Endpoint URL (new HTTPS URL to receive webhook POSTs), and Event Naming (choice between current or legacy naming of Photo Mockup events).
  • Events — List of specific events this webhook endpoint should receive. If left empty, subscribes to all events, including ones added in the future.

Output shape

a single record with the updated webhook endpoint details

The output JSON contains the webhook endpoint's updated properties as returned by the SudoMock API after the PATCH request.

Examples

Example 1: Update a webhook endpoint to change its URL and enable/disable status

Provide the webhookId for the endpoint to update; set the Update Fields with the new URL and Enabled flag; optionally adjust the events subscribed to or event naming.

Links

Discussion