curl --request POST \
--url https://app.enzo.health/api/v1/workflows/{workflowId}/webhookBlocks/{blockId}/subscribe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>"
}'
{
"id": "<string>",
"url": "<string>"
}
curl --request POST \
--url https://app.enzo.health/api/v1/workflows/{workflowId}/webhookBlocks/{blockId}/subscribe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>"
}'
{
"id": "<string>",
"url": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.