Pular para o conteúdo

Regenerate Webhook

POST
/api/v1/webhooks/regenerate/{workflow_id}

Regenerate webhook key and secret for a workflow.

WARNING: This will invalidate the old webhook URL. Any systems sending to the old URL will need to be updated.

Returns:

  • webhook_key: New unique key for the webhook URL
  • webhook_secret: New secret for signature validation
  • webhook_url: New full URL to send webhooks to
workflow_id
required
Workflow Id
integer
x-tenant-id
Any of:
integer

Successful Response

WebhookSetupResponse

Response for webhook setup

object
webhook_key
required
Webhook Key
string
webhook_secret
required
Webhook Secret
string
webhook_url
required
Webhook Url
string
workflow_id
required
Workflow Id
integer
workflow_name
required
Workflow Name
string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string