Send leads to your CRM instantly
Every customer who says yes to your offer is sent to your endpoint the moment they accept, as a signed lead.created webhook. Point it at your CRM, at Zapier or Make, or at your own server. Leads also stay in your dashboard, and you can download them as a CSV.
1. Add an endpoint
- Open Webhooks in your partner dashboard and add an HTTPS endpoint.
- Subscribe to
lead.created. Addlead.refundedif you want to hear about refunds. - Copy the signing secret. It is shown once per endpoint.
- Use Send test to receive a sample.
Answer with any 2xx. A failed delivery retries after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 24 hours, and you can replay any delivery from the delivery log.
2. What arrives
The customer's name and email, their phone number when they agreed to a call, and the full consent record. The phone number is only present when the customer gave call consent. Store the consent id with the contact in your CRM.
{
"id": "evt_...",
"object": "event",
"type": "lead.created",
"livemode": false,
"created": 1793548800,
"data": {
"object": {
"object": "lead",
"id": "lead_...",
"mj_click_id": "mjc_...",
"offer": "ofr_...",
"merchant": "acct_...",
"price_cents": 3800,
"quality_flags": [],
"yes_tier": "call",
"consent_id": "cns_...",
"created": 1793548800,
"customer": { "email": "dana@example.com", "name": "Dana", "phone": "+13125550142" },
"consent": {
"id": "cns_...",
"yes_tier": "call",
"version": "2026-10-28.1+call.2026-11-01.1-draft",
"disclosure_text": "By saying yes, you share your name and email with Partner name...",
"disclosure_hash": "9f2c...",
"call_consent_given": true,
"call_consent_text": "I agree that Partner name may call me at the phone number I entered about this offer, ...",
"call_consent_hash": "41ab...",
"accepted_at": "2026-11-01T18:00:00.000Z",
"ip_hash": "c0de...",
"user_agent": "Mozilla/5.0 ...",
"offer": "ofr_...", "partner": "acct_...", "merchant": "acct_...", "impression": "imp_...",
"surface": "thank_you",
"page_url": "https://store.example/thanks",
"retain_until": "2031-11-01T18:00:00.000Z",
"livemode": false
}
}
}
}3. Zapier recipe (no code)
- In Zapier, create a Zap with the trigger Webhooks by Zapier, event Catch Hook. Copy the custom webhook URL.
- Paste that URL as your Munja endpoint and send a test. Zapier shows the fields, including
data.object.customer.email,nameandphone. - Add an action: Create contact in HubSpot, Salesforce, Pipedrive or your CRM. Map email, name and phone, and add the lead id and consent id as notes or custom fields.
- Turn the Zap on.
Zapier's Catch Hook does not check our signature on its own. The URL is private to you, so keep it secret. If you need signature checks, receive on your own server or add a Code by Zapier step with the verification below.
4. Make recipe
- In Make, add the module Webhooks, Custom webhook and create a new webhook. Copy its address.
- Paste it as your Munja endpoint, send a test, and let Make learn the data structure from it.
- Add your CRM module (Create contact or Create lead) and map email, name, phone and the lead id.
- Turn scheduling on so the scenario runs immediately on each webhook.
5. Your own server: check the signature
Each delivery has an X-Munja-Signature header: t=timestamp,v1=hex, the HMAC-SHA256 of timestamp.body with your endpoint's signing secret. Compute it over the raw body, compare in constant time, and reject timestamps older than 5 minutes. Code for Node, Python, PHP and Ruby is in the developer docs. Make the write to your CRM idempotent on the lead id, because a retry can deliver the same event twice.
6. CSV, any time
On Leads, Download CSV exports the leads on the page: customer, email, phone, yes type, project details, order details, host, cost, time and consent record. Import it into any CRM that accepts a CSV. Munja does not email each lead.
Coming later
A built-in HubSpot connection and an option to forward each lead to an email address are not available yet. The webhook above works with both today through Zapier or Make.