cURL
curl --request POST \ --url https://api.heffl.com/api/v1/webhooks \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "name": "<string>", "url": "<string>", "events": [ "<string>" ] } '
{ "id": "<string>", "name": "<string>", "url": "<string>", "events": [ "<string>" ], "status": "<string>", "secret": "<string>", "createdAt": "2023-11-07T05:31:56Z" }
Creates a webhook endpoint that receives HTTP POST notifications when specified events occur.
API key for authentication. Get yours at app.heffl.com/settings/developers
Webhook name (e.g. 'Zapier: New Lead')
1
URL to receive webhook POST requests
Events to subscribe to
OK
Webhook endpoint public ID
Signing secret (one-time reveal)