Intégrations
Webhooks
Receive and send data via webhooks.
Webhooks
Outgoing webhooks
Metrikia can send HTTP notifications when certain events occur:
| Event | Payload |
|---|---|
| lead.created | New lead data |
| lead.status_changed | Old and new status |
| deal.won | Won deal data |
| deal.lost | Lost deal data |
| sync.completed | Sync summary |
Setup
- Settings > Integrations > Webhooks
- Click + New webhook
- Enter the destination URL
- Select the events to listen to
- Add a secret for HMAC validation (optional but recommended)
Security
Each webhook request includes:
- X-Webhook-Signature header: HMAC-SHA256 signature of the body
- X-Webhook-Event header: Event type
- X-Webhook-Timestamp header: Timestamp of the request
Validate the signature server-side to ensure the request comes from Metrikia.
Retries
On failure (HTTP status != 2xx), Metrikia retries:
- 1st attempt: immediate
- 2nd attempt: after 1 minute
- 3rd attempt: after 5 minutes
- Abandoned after 3 failures
Incoming webhooks
You can also send data to Metrikia via the REST API. Refer to the API documentation for available endpoints.
Need more help? Check out our practical guides, our blog or contact support.