Generate Webhook Url
POST/api/workflow-triggers/generate-webhook-url
Generate a webhook URL for a trigger stage.
This endpoint creates a webhook trigger (if it doesn't exist) and returns the webhook URL that can be used to trigger the workflow.
Args: workflow_id: The workflow/agent ID stage_id: The trigger stage ID
Returns: { "webhook_url": "https://api.example.com/api/webhooks/\{tenant\}/\{workflow\}/\{trigger\}", "trigger_id": "uuid" }
Request
Responses
- 200
- 422
Successful Response
Validation Error