Create a new webhook endpoint
Create an endpoint. The signing secret is returned in FULL here, once.
Authorizations
API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys
Body
Create a webhook endpoint.
https endpoint URL
1 - 2048Optional label that helps you recognize this endpoint.
255Subscribed event types; empty = all events (wildcard).
render.succeeded, render.failed, upload.succeeded, video.succeeded, video.failed, 2d_mockup.ready, 2d_mockup.rejected, 2d_mockup.failed, 2d_render.succeeded, 2d_render.failed, photo_mockup.ready, photo_mockup.rejected, photo_mockup.failed, photo_mockup_render.succeeded, photo_mockup_render.failed, seam_fix.succeeded, seam_fix.failed, webhook.test Which spelling of the photo-mockup events this endpoint receives: 'current' (photo_mockup., photo_mockup_render.) or 'legacy' (2d_mockup., 2d_render.). The payload's kind follows. Omit it and the endpoint is pinned to the spelling event_types is written in: the family names for a list that subscribes to them, otherwise 'legacy', the spelling this contract publishes.
legacy, current Response
Successful Response
Returned ONLY by create + rotate-secret: the FULL plaintext secret.
Overrides the masked secret field with the real value (shown once).
Unique identifier for the webhook endpoint.
"b5cd6284-f6a0-4cfc-94df-781353e30dfd"
The https URL that receives this endpoint's events.
"https://your-app.example.com/hooks/sudomock"
FULL signing secret. Shown only once.
"whsec_cb79146988c2f928cc0760c737c67368080948cdadf7a20c14311290682ee865"
Whether this endpoint currently receives events.
true
Time the endpoint was created.
"2026-09-18T09:24:11.482713Z"
Your label for this endpoint.
"Production render notifications"
Event types this endpoint receives; an empty list means every event.
The event-name spelling this endpoint is pinned to: 'legacy' or 'current'.
Time the endpoint was last updated.
"2026-09-18T09:31:02.117845Z"