cURL
curl --request POST \ --url https://api.hystruct.com/v1/integrations/webhooks/subscribe \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "workflowId": "<string>", "webhookUrl": "<string>", "events": "<array>" } '
{ "message": "<string>" }
Create and subscribe a new webhook
Documentation IndexFetch the complete documentation index at: https://docs.hystruct.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.hystruct.com/llms.txt
Use this file to discover all available pages before exploring further.
workflow ID
Webhook URL
The events to subscribe to
Successful response