Automations
Rotate an automation webhook secret
Changed onInvalidates the current webhook secret and returns a replacement exactly once. Requires permission to change the automation; any other automation answers 404.
post/api/v0/automations/{automationId}/webhook/rotate
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Path parameters
automationId, string required
Automation ID
Headers
X-Factory-Org-Id, string
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 200
Rotate Automation Webhook200 Response Body required
webhook, object required
Changes
- info
endpoint added
- info