Webhooks | Documentation | Metrikia

Intégrations

Webhooks

Receive and send data via webhooks.

Outgoing webhooks

Metrikia sends a POST request (JSON) to the HTTPS address of your choice when one of these events happens:

EventWhen it is sent
lead.createdA lead is created in Metrikia (not when imported by a CRM sync)
lead.updatedA lead is edited in Metrikia
appointment.createdAn appointment is created (not when imported from history)
deal.wonA sale becomes won, whatever the path (not when imported from history)

Setup

  1. Settings > API & Webhooks (/app/settings?s=api-webhooks), Webhooks section.
  2. Enter the URL, tick the events, and add an authentication header (name and value) if needed.
  3. Click Create webhook, then copy the signing secret, shown only once.

Security

  • X-Metrikia-Signature: sha256= followed by the HMAC SHA-256 of the raw body, computed with your signing secret.
  • X-Webhook-Event and X-Webhook-Timestamp: event type and sending time.
  • Your authentication header, if set. Its value is never shown again.
  • Rotate the secret, on the webhook row, generates a new one; the old one stops working immediately.

Retries

If your address does not answer with a 2xx code within 10 seconds, Metrikia retries four times, after about 1 minute, 5 minutes, 30 minutes, then 2 hours. Without a 2xx answer after these five attempts, the delivery is abandoned.

Incoming webhooks

To send data to Metrikia, use the REST API. See the API documentation for the available endpoints.

Need more help? Check out our practical guides, our blog or contact support.