Skip to main content
POST

Authorizations

x-api-key
string
header
required

API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys

Path Parameters

endpoint_id
string
required

Response

200 - application/json

Successful Response

Returned ONLY by create + rotate-secret: the FULL plaintext secret.

Overrides the masked secret field with the real value (shown once).

id
string
required
Example:

"b5cd6284-f6a0-4cfc-94df-781353e30dfd"

url
string
required
Example:

"https://your-app.example.com/hooks/sudomock"

secret
string
required

FULL signing secret. Shown only once.

Example:

"whsec_cb79146988c2f928cc0760c737c67368080948cdadf7a20c14311290682ee865"

enabled
boolean
required
Example:

true

created_at
string<date-time>
required
date-time
Example:

"2026-09-18T09:24:11.482713Z"

description
string | null
Example:

"Production render notifications"

event_types
string[]
Example:
event_naming
string
default:legacy

The event-name spelling this endpoint is pinned to: 'legacy' or 'current'.

updated_at
string<date-time> | null
date-time
Example:

"2026-09-18T09:31:02.117845Z"