POST
/
api
/
webhooks
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_XczAwDYPJUamaz8tJV46Fa",
  "is_enabled": true,
  "topic": "end_user.processed",
  "url": "https://www.your-webhook-endpoint.com/heron"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

201 - application/json
Created

The response is of type object.