Webhooks

Create or replace the account webhook, optionally rotating its signing secret

The signing secret is returned once: when the webhook is first configured and whenever rotate_secret is true. Rotation does not re-sign deliveries already enqueued; they keep the secret snapshot they were created with.

put/v1/webhooks

Request

  • Base URL: https://api.scripthaul.com
  • URL: https://api.scripthaul.com/v1/webhooks
  • Auth: HTTP bearer

Request body

urlstring uri required
low_balance_thresholdinteger nullable
rotate_secretboolean

Issue a new signing secret and return it once in this response.

Response

Webhook configured

Changes

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