Workflow triggers
Rotate a workflow webhook
Give a workflow’s webhook a new URL or a new signing secret.
POST
Rotate a workflow webhook
{"rotate": "url"}gives it a new URL. The old one stops working at once. Use it when the URL leaked.{"rotate": "secret"}gives it a new signing secret. The old one is still accepted for 24 hours, untilprevious_secret_valid_until, so you can update the sender.
url or signing_secret. Needs workflows:write.Authorizations
Headers
Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.
Required string length:
1 - 255Body
application/json
Response
Successful Response

