Real-time call events webhook: build your own CRM, analytics or call-tracking integration
Real-time call events sent to your webhook URL, for your CRM, analytics or call tracking — what each event tells you and the most common integration patterns.
The other webhook post on this blog (webhooks explained) covers the per-number start-of-call and end-of-call hooks — the ones with variable extraction that can influence routing. This post is about the other integration surface: a real-time, account-wide stream of every call event, sent to a single HTTPS endpoint you control.
If you’re building CRM logging, marketing attribution, a Slack live-feed of calls or an internal call-tracking dashboard, this is the surface you want.
How it works at a glance
- You give us one HTTPS URL and a shared secret you choose.
- For every call on your account we send a JSON event to your URL at each state change.
- Ask us about recording delivery options.
When we set up your webhook we give you the endpoint, the security details and the full message reference. To get started, email help@numbergroup.com or call us. The rest of this post explains the events and the most common integration patterns.
The call lifecycle: which events you’ll see
A typical inbound call that gets answered fires events in this order:
- Offered — we received the call.
- Connected — the caller is connected, then the destination answers.
- Disconnected — the call ended, with its durations.
A call that goes to voicemail, gets rejected, or hits a hunt-group timeout will be missing some states. The disconnected event is the one to use as a CRM “log this call now” trigger — it’s the only one guaranteed to fire on every call, and it’s the only one that carries the durations.
What each event tells you
- A call ID that stays the same across every event for the call — use it as your primary key.
- The direction (inbound or outbound) and the current state.
- The calling number and the number that was dialled.
- Where the call was routed.
- On the final event: how long the caller was connected and the talk time — the figure you want for billing and reporting.
Security
Every request carries the shared secret you choose when configuring the webhook. Treat it like a password: keep it in environment variables on your receiver, compare it in constant time, and reject anything without it. We will never send a request without it.
Building a receiver
Any HTTPS endpoint works — a Next.js route on Vercel, a serverless function or your own backend. Check the secret, parse the JSON event, and hand it to your CRM, analytics or database. Move the slow work into a queue so a slow downstream API never times out our delivery.
Common integration patterns
CRM call logging (HubSpot, Salesforce, Pipedrive)
Listen only for the disconnected event. It has everything you need: both numbers, both durations and the call ID. Look up the contact by the caller’s number (inbound) or the destination number (outbound), then create a Call / Activity record. The CRM-specific posts on this blog have the API calls written out — this receiver replaces the “poll the calls report every hour” bit they assume.
Google Ads offline conversions
Phone-call conversions in Google Ads need a phone number, a conversion time, and (ideally) a value. Fire a ConversionUploadService call when the talk time is at least 60 seconds (or whatever your “quality call” threshold is). This is dramatically more accurate than the GCLID-only path because you’re scoring on actual conversation length, not just “call started”.
Slack live-call feed
For a real-time team feed, post to a Slack incoming webhook on the offered event (“phone ringing sales”) and on the disconnected event with the duration. This is the simplest possible “always know what calls are happening” integration — useful for small teams who don’t want to live in a dialler UI.
Gotchas worth knowing
- Order is not strictly guaranteed. Almost always you’ll see offered before connected, but build your receiver to be idempotent on the call ID and state just in case.
- Respond fast. Return
within ~2 seconds. Do the slow work (CRM API calls) in a queue or background task. We will retry on non-2xx but slow responses can pile up.200 - It’s account-wide. If you only want events for some numbers, filter in your receiver on the dialled number.
Getting started
Ring 0800 310 1010 or email help@numbergroup.com and tell us “please point my call-events webhook at your-url”. We’ll set the URL and shared secret, place a test call, and you’ll see the events land. There’s no portal toggle — this is one of those things that’s easier to ask us to do than build a UI around.
Move your phones to us. We'll save you money.
Memorable numbers, unlimited UK numbers, every smart feature and a UK team — all included with Membership at £149/mo. No contract.