Automations

Rotate an automation's webhook secret

Changed on

Issue a new signing secret for a webhook automation's hook. The hook URL does not change, and the previous secret keeps verifying deliveries for 24 hours.

post/automations/{automationId}/webhook/rotate-secret

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/automations/{automationId}/webhook/rotate-secret
  • Auth: none declared

Path parameters

automationIdstring uuid required

Automation ID.

Request body

projectIdstring uuid

Project that owns the automation. Auto-filled from CLI and SDK context when omitted.

Response

OK

secretstring required

The webhook's new signing secret, returned only here. The previous secret keeps verifying deliveries for 24 hours.

Changes