Webhooks

Rotate a builder webhook signing secret

Changed on

Rotates the endpoint signing secret and returns the new signing_secret once in the response. Returns 409 with error.reason=webhook_delivery_in_progress while a live delivery freezes the current signing nonce; retry after it completes.

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

Request

Path parameters

idinteger required

Webhook endpoint id owned by the authenticated API key user.

Headers

X-Query-Validation'strict'

Opt into strict query-name validation. The default is compatible: unknown names are ignored and reported in X-Query-Ignored. With strict, an unknown name returns 400 bad_request with error.reason unknown_query_parameter before the handler runs, including when its percent escape is incomplete.

Idempotency-Keystring

Optional safe-retry key. Reuse the same value only when retrying the exact same mutation request body; a different body returns 422 and an in-flight matching request returns 409.

Response

Webhook destination

object'webhook' required

Changes

    • warning

      added the new large_trade_inserted_v2 enum value to the // response property for the response status

    • info

      added the required property / to the response with the status

    • warning

      added the new sharp_money_flow_detected enum value to the // response property for the response status