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

Job → Webhook: Create Endpoint

AI-generated

Summary

Create a new webhook endpoint in SudoMock that sends signed event POSTs to a specified HTTPS URL, optionally filtered by event types and with configurable event naming conventions.

Inputs

  • Endpoint URL (required) — The HTTPS URL where SudoMock will POST signed webhook event notifications.
  • Description — An optional human-readable label for this webhook endpoint.
  • Events — A list of event types to subscribe to. If empty, subscribes to all events including future ones.
  • Event Naming — Selects the naming convention for Photo Mockups events delivered to this webhook: current naming or legacy naming.

Output shape

a single JSON object

The operation returns the created webhook endpoint details as JSON, including its assigned ID and configuration. Errors are returned via standard error handling.

Examples

Example 1: Create a webhook to receive render.succeeded and upload.succeeded events with current event naming.

Set Endpoint URL to the HTTPS target, select Events as ['render.succeeded', 'upload.succeeded'], and leave Event Naming as 'current'.

Links

Discussion