Developer Settings
Access the Heffl API and configure webhooks to integrate with external systems. Manage API keys, set up webhook endpoints, and monitor API usage.API keys
API keys let external applications access your Heffl data programmatically.Creating an API key
- Go to Settings > Developer
- Click Create API Key
- Name your key (e.g., “Website Integration”, “Zapier”)
- Copy the key immediately — it won’t be shown again
Managing API keys
| Action | Description |
|---|---|
| View keys | See all active API keys with their names and creation dates |
| Revoke key | Permanently disable a key. Revoked keys cannot be restored. |
Best practices
- Create separate keys for each integration or environment
- Rotate keys periodically
- Revoke keys that are no longer in use
- Store keys in environment variables, not in code
Webhooks
Webhooks let Heffl notify your external systems when events occur. When a trigger event happens, Heffl sends an HTTP POST request to your configured URL.Setting up a webhook
- Go to Settings > Developer
- Click Add Webhook
- Configure:
| Setting | Description |
|---|---|
| URL | The endpoint that receives webhook payloads |
| Events | Which events trigger the webhook |
| Secret | (Optional) Secret key for verifying webhook signatures |
- Save the webhook
Available events
Webhooks can be triggered by the same events available in the automation system:- Lead created, updated, stage changed, deleted
- Deal created, updated, stage changed, deleted
- Client created, updated, deleted
- Quotation created, updated, deleted
- Form response created
- And more
Webhook payload
Each webhook delivers a JSON payload with:Verifying webhooks
If you configured a webhook secret, verify incoming requests by checking the signature header against your secret. This prevents unauthorized systems from sending fake events to your endpoint.Monitoring
View webhook delivery history to troubleshoot issues:- Delivery status (success, failed)
- Response codes
- Payload details
- Retry information
Using the API
The Heffl API uses REST conventions with JSON request and response bodies. All requests require authentication via thex-api-key header.
FAQ
Is there a limit on the number of API keys?
Is there a limit on the number of API keys?
There’s no hard limit on API keys. Create as many as you need for your integrations.
What happens if a webhook endpoint is down?
What happens if a webhook endpoint is down?
Heffl logs the failed delivery. Depending on the failure type, it may retry the request.
Can I test webhooks locally?
Can I test webhooks locally?
Yes. Use a tunneling tool like ngrok to expose your local server, then configure the ngrok URL as your webhook endpoint.