Webhooks

Rotate a webhook signing secret

Generates and returns a new signing secret. The previous secret remains valid for a 24-hour rotation overlap.

post/v1/webhooks/{id}/rotate-secret

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/webhooks/{id}/rotate-secret
  • Auth: API key in header x-api-key

Path parameters

idstring required

Response

Success

secretstring required

Changes

No recorded changes to this operation across all 1 revision of this API.