Skip to main content
POST
/
v1
/
webhooks
/
{id}
/
rotate-secret
Rotate webhook signing secret
curl --request POST \
  --url https://api.shelv.dev/v1/webhooks/{id}/rotate-secret \
  --header 'Authorization: Bearer <token>'
{
  "publicId": "<string>",
  "secret": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.shelv.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Pattern: ^wh_[0-9a-f]{24}$

Response

New signing secret

publicId
string
required
Pattern: ^wh_[0-9a-f]{24}$
secret
string
required