Skip to Content
Docs

PUT /api/monitors/{monitor_id}/secret

PUT
/api/monitors/{monitor_id}/secret

Set the signing secret of one of the caller's webhook monitors: {secret}. For Stripe and Slack, which create their own signing secret, this is how the link gets it; for any other signed scheme it replaces the generated one. Only the owner's session may set it (never an access token). Rate limited, audited without the value, never logged. 400 for a value that can't be this scheme's secret, 404 when the monitor has no live signed link.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Path Parameters

monitor_id*string

Response Body

Success

Example Request
curl -X PUT 'http://localhost:7091/api/monitors/string/secret'
Example Response200
Empty