Webhooks

Rotate a webhook signing secret

Replace the signing secret. The new secret is in this response only, and every event sent after this call, retries included, is signed with it, so update your endpoint at once. Requires the webhook:write scope and an owner or admin.

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

Request

  • Base URL: https://smtpfa.st/api
  • URL: https://smtpfa.st/api/v1/webhooks/{id}/signing-secret/rotate
  • Auth: HTTP bearer

Path parameters

idstring required

The webhook ID

Response

The new secret

objectstring
idstring
signing_secretstring

Example response

{
  "object": "webhook"
}

Changes

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