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>"
}
'