Webhooks

Rotate the webhook signing secret

Generate a new shared secret. Returns the new plaintext secret exactly once.

Requires the webhooks:write scope — Create, edit, and delete your webhook endpoints.

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

Request

  • Base URL: https://api.sendly.now
  • URL: https://api.sendly.now/api/webhooks/{id}/rotate-secret
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token
    • OAuth 2 (authorization code, authorization URL https://app.sendly.now/api/auth/oauth2/authorize, token URL https://app.sendly.now/api/auth/oauth2/token, scopes: webhooks:write)

Path parameters

idstring uuid required

Response

Secret rotated

successtrue required

Changes

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