curl --request POST \
--url https://app.herondata.io/api/webhooks \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"headers": {
"Content-Type": "application/json"
},
"is_enabled": true,
"topic": "end_user.processed",
"url": "https://www.your-webhook-endpoint.com/heron"
}'
{
"headers": {
"Content-Type": "application/json"
},
"heron_id": "wbh_2yepgWJwqfaZgWK9wsT2K9",
"is_enabled": true,
"topic": "end_user.processed",
"url": "https://www.your-webhook-endpoint.com/heron"
}
Create a webhook
curl --request POST \
--url https://app.herondata.io/api/webhooks \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"headers": {
"Content-Type": "application/json"
},
"is_enabled": true,
"topic": "end_user.processed",
"url": "https://www.your-webhook-endpoint.com/heron"
}'
{
"headers": {
"Content-Type": "application/json"
},
"heron_id": "wbh_2yepgWJwqfaZgWK9wsT2K9",
"is_enabled": true,
"topic": "end_user.processed",
"url": "https://www.your-webhook-endpoint.com/heron"
}
Created
The response is of type object
.
Was this page helpful?