POST
/
v1
/
workflows
/
{workflowId}
/
webhookBlocks
/
{blockId}
/
subscribe
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflowId
string
required
blockId
string
required

Body

application/json
url
string
required

Response

200
application/json
Successful response
id
string
required
url
string | null
required