Send your call history to another system with a webhook
Set up a webhook so every call, recording, voicemail and video meeting reaches your automation tool or your own software as it happens.
Written By Axel Molist
Last updated 13 days ago
A webhook sends your call history to another system as it happens. Whenever a call, recording, voicemail or video meeting is logged, changed or deleted, Olatti sends a short message to a web address you choose. An automation tool such as Zapier, n8n or Make can catch it, or so can software you build yourself. You could log calls in your CRM, post missed calls to a team channel or file recordings against a customer.
Before you start
You need to be an admin. If you can't see Admin settings in the Settings menu, ask whoever set up Olatti.
You need a web address (URL) to send events to. The tool that receives them gives you one. It must start with
https://and accept aPOSTwith a JSON body.Have a password manager open. You'll be shown a signing secret once, and you can't view it again.
Step 1: Get a URL from the receiving tool
In your automation tool, create a new automation that starts from an incoming webhook, and copy the URL it gives you. Most tools call this a webhook trigger or a webhook node. Check two things in its settings:
It listens for
POSTrequests. Olatti always sendsPOST.It's the live URL, not a test one. A test URL often stops listening once the test is over, and the next event pauses the webhook.
If your tool can require a key in a request header, turn that on and note the header name and value. You'll enter them in Olatti in step 3.
Writing your own receiver? Read Webhooks for developers: events, signatures and retries first.
Step 2: Open the webhook settings
Click Settings, then under Admin settings click Integrations.
On the Webhook card, click Configure.
Click Settings at the top right.

Step 3: Fill in the settings
Events. Choose which records this webhook sends. They're all on to start with; turn off any you don't need.

These aren't separate feeds. Each call has one record in your call history, and Olatti checks what that record is at the moment it sends a message. A recorded call can start out as a plain call and become a recording a moment later, when the recording is attached. A missed call becomes a voicemail when the caller leaves one.
So turning off Call recordings doesn't just leave out the recording. Once a call's recording is attached, you stop getting messages about that call. To hear about every call, keep Calls, Call recordings and Voicemails on. While Call recordings or Voicemails is on, Call updated under Delivery events is switched on and locked, with "Needed for recordings and voicemails". The first message for a recorded call or a voicemail is often an update, so it can't be turned off.
With Calls on, you also get a message when each call starts and another when it ends.
Endpoint URL. Paste the URL from step 1. It must start with https://, be reachable on the public internet, and be exactly the address your tool gave you. Olatti doesn't follow redirects, so an address that bounces from http to https or adds a trailing slash will pause the webhook.
Signing secret. Olatti signs every event with this, so a receiver can check the event really came from Olatti.
On a new webhook the field is already open. On an existing one, click Replace secret.
Click Generate, or type your own of at least 16 characters.
Click Copy secret and save it in your password manager now. It can't be viewed again after you save.

Delivery events. Choose which changes send a message. All three start on, and Call updated stays on while Call recordings or Voicemails is on.
Custom headers. Optional. If your receiver wants a key in a header, click Edit headers, then Add header, and enter the name and value. Values are stored encrypted and never shown again. Saving replaces the whole list, so when you edit headers later, re-enter the value of every header you want to keep. You can't use Content-Type, X-Olatti-Event-Id, X-Olatti-Timestamp or X-Olatti-Signature, because Olatti sets those itself.
Delivery status. On an existing webhook, this switch pauses and resumes sending.
Click Save. You'll see Webhook created.

Step 4: Test it
Make a short call to or from one of your users. Leave a voicemail too if you turned voicemails on.
Go back to the Webhook page. A new event usually appears within a minute with the status Success. The list refreshes itself every 15 seconds.
Check that your tool received it.
Click any event in the Olatti list to see its Event details: the exact payload sent, what your receiver answered and when the next retry is due.
Only calls made after you save are sent. Earlier calls aren't.

The delivery list
The Webhook page lists events from the last 90 days, newest first. Use the menu at the top right to show All events, Pending, Success, Error or Not sent.
If your receiver doesn't answer, times out or reports a temporary problem, Olatti tries again over about 23 hours and shows the event as Pending meanwhile. If every try fails, the event is marked Error and the webhook carries on.
If your receiver answers with a definite refusal, such as "not found" or "unauthorised", sending again won't help. Olatti marks the event Error, pauses the webhook and shows a Webhook paused banner saying when deliveries stopped. Click View failed deliveries on the banner to see what your receiver answered.
Fix the cause and click Resume on the banner. Then, to resend an event marked Error or Not sent, click Retry on its row. Resume first: while the webhook is paused, Retry sends nothing.
Nothing is queued while the webhook is paused. Calls that happen while it's paused are never sent, even after you resume. A developer can fetch them from the Olatti API instead; Webhooks for developers shows how. Events already waiting when it paused aren't lost. One waiting for a retry is marked Error, and one that hadn't been sent yet is marked Not sent. Once you've resumed, Retry sends either.

Keep it secure
Treat the URL like a password. Many automation tools accept anything sent to it, so anyone who has it can feed fake events into your automation. Keep it out of tickets, chats and screenshots, and make a new one if it leaks.
Add a second check. If your tool can require a header key, use it with a matching custom header in Olatti. A request that only knows the URL is then turned away.
Check the signature if your tool can run code. It's the strongest proof an event came from Olatti. Webhooks for developers shows how.
Send only what you use. Every record type you turn off is one less thing to protect.
Limit who can edit it, in Olatti and in your automation tool. Anyone who can change the URL can redirect your call history.
Think about where the data ends up. Call records include names and phone numbers. Check the tools you send them to handle data in line with your own privacy obligations.
Troubleshooting
"Webhook url must use https". Use an address that starts with https://.
"url must be an absolute url". Paste the whole address, including https://.
"Webhook url resolves to a non-public address". The address points at a private or office network. Use a publicly reachable one.
"Webhook host does not resolve". There's a typo in the address, or the domain doesn't exist yet.
"Use custom headers for authentication instead of credentials in the URL". Take the name:password@ part out of the address and put the key in a custom header instead.
"secret must be at least 16 characters". Click Generate or type a longer secret.
Webhook paused banner. Your receiver refused an event. Click View failed deliveries and open the latest Error event to see what it answered. The usual causes are a test URL instead of the live one, an automation that isn't switched on, a receiver expecting GET rather than POST, a redirect, or a wrong secret or header. Fix it, then click Resume.
Nothing arrives. Check that Delivery status is on, that the record type and delivery event you expect are both on, and that you made a new call after saving.
Events marked Not sent. They were waiting to go out when the webhook paused. Resume, then click Retry on each.
Events stay Pending. Your receiver is timing out or reporting a temporary error. Open the event to see the answer and when the next retry is due.
Lost the signing secret or a header value. Neither can be shown again. Click Replace secret or Edit headers, enter new values, save, and update your receiver to match.
Related
Webhooks for developers: events, signatures and retries
Integrations: what connects to Olatti today
Roles: account owner, admin and user
Was this helpful?
More in Integrations
Connect Olatti to Claude and ChatGPTStill need help? Ask the team