Get local, national and international numbers directly online.
API integrations

A telephony API with the endpoints your integration needs

We build and run our platform ourselves. You tell us what your integration has to do, and we add the endpoints for it, so you don’t have to work around a generic library.

There are four levels, from a single webhook to your own IVR server. You start at the level that fits your situation now and move up when you need to.

Call to020 7946 0123POST /webhook/route12 msCallFactory asks{ "from": "+447700900123","to":  "+442079460123" }Your server replies{ "destination": "+447700900456","whisper": "Customer Leeds" }Server unreachable? Then your fixed destination.Incoming07700 900123WHISPER“Customer from Leeds”Endpoints built to order
Smiling man with headphones round his neck in the office
How it works in practice

David asked for an endpoint, and we built it

David wanted to see incoming calls in his own CRM. He told us what he needed, and we added the endpoints on our own platform.

  • Endpoints built for your case
  • Connect your own software
  • Built by our own team
What it solves

Why connect your phone system to your own software

Who is working today, which customer is calling and whether an order is ready are all known in your own systems, but not in a telephony dashboard. An integration brings that information to the call.

Rota and phone apart

The rota is in your planning tool, not in the phone system

You know exactly who is on duty, but the phone system doesn’t. So every morning someone changes the call forwarding by hand, or forgets to.

Figures in two places

Call data and your reports are kept separately

We record call logs and call statistics per number, while your reports are in your own tools. As long as the two aren’t connected, someone exports a file every month.

Beyond the standard features

Some call flows don't fit a call menu

A call that looks up details in a database, televoting, or an outbound alert that reaches a whole team within seconds: none of these can be built with a call menu (IVR) alone.

Four levels

Four levels of API integration, from a webhook to your own IVR server

All four run on the same platform and on your existing numbers. You start at the level that fits your situation now and move up when you need to.

  1. 1

    Webhook routing

    On every incoming call we ask your server where the call should go. Your server replies with a number, a voicemail box or a message within milliseconds, and the caller notices nothing. It also works per menu option, so sales can use one webhook and support another.

    server briefly down? fallback to your fixed destination
    Who does what
    You build
    one endpoint
    We do
    ask, then carry out
    You need
    a server that speaks HTTP
  2. 2

    The private API

    You pull call recordings, call logs and call statistics into your own systems, change destinations from your planning tool and start calls that play a message to your own team. There is no public library with hundreds of endpoints: you describe what you want to achieve and we build those endpoints.

    feasibility and any costs confirmed in advance
    Who does what
    You build
    the API calls
    We do
    the endpoints, for your case
    You need
    a developer, not a team
  3. 3

    The IVR toolkit

    This is the library of actions we build our own features with: Answer, Play, Dial, Record, GatherDigits and StartStream. Every action has a fixed signature and a typed result, so your code always knows what happened. You write the whole call flow yourself.

    the same building blocks our own developers use
    Who does what
    You build
    the flow
    We do
    the platform underneath
    You need
    a development team
  4. 4

    Your own IVR server

    An instance that runs for you alone, with reserved capacity, your data kept separate and the programming language your team already uses, such as Python, Node or Go. We deliver standard configurations as a Docker container. This level suits complex flows with database lookups, high-volume campaigns or televoting.

    migration from level 2 or 3, your numbers keep working
    Who does what
    You build
    everything, or nothing
    We do
    the server, or the application too
    You need
    a planning session with us first
Streaming audio

Stream the audio of a call to your own AI or speech service

With a single action you stream the live audio of a call to any WebSocket endpoint: an AI assistant, a speech-to-text engine or your own analytics service. You decide when the stream starts, which way the audio flows and when it stops.

  1. Caller
  2. Our number and our routing
  3. StartStream
  4. Your AI
Useful if you have your own model

Your own model on our phone line

The stream runs alongside the rest of the call flow, so in the meantime you can play messages, collect input or transfer the call. That is possible because the telephony and the stream run on the same platform.

Useful for banks and insurers

Data that stays inside your own environment

On your own IVR server the processing stays inside your environment, with a private connection to your database instead of a route over the public internet. That is the set-up that heavily regulated sectors usually need.

We are a licensed operator in 14 European countries and run our IVR platform ourselves. That is why we can build an extra endpoint for you, and why the call travels over the telephone network rather than the public internet wherever possible.

Examples

Six integrations customers build with our API

Routing based on your own rota

Your server checks who is working right now and returns that person’s number, so nobody has to keep a second rota up to date in the phone system.

level 1 or 2

Routing based on where the caller is

Your server looks up the caller’s area code and returns the nearest branch, without asking the caller anything.

level 1

Reading out a status instead of putting the call through

Your server returns text instead of a number, for example “Your order is ready at three o’clock”, so the number works as an information line.

level 1

Recordings straight into your own archive

Recordings are downloaded to your own storage or compliance system automatically, so nobody has to fetch them by hand.

level 2

An outbound alert to a whole team

Your system starts the calls and the recipients hear a recorded or generated message. Useful for outage alerts and appointment reminders.

level 2

A call that looks up details in your database

The caller keys in a customer number, the call flow fetches the details and decides what happens next based on them.

level 3 or 4

When you don't need the API

If all you want is call forwarding, a call menu (IVR) or a queue, you set that up in the dashboard without any code. This page starts where the dashboard stops. Before you begin, decide who will maintain the integration: a webhook that stops answering because nobody looks after the server any more causes more trouble than the manual forwarding it replaced. That is why level 1 falls back to a fixed destination if your server doesn’t answer.

Frequently asked questions

Questions about API integrations

Rather talk it through first?

Our team helps you with numbers and voicebots in each of our countries. Call us or use the contact form.

To the contact form → Call us 020 4638 9400

There is documentation. The toolkit comes with documentation and working examples for every action. The private API is built per customer, so you get documentation of exactly your endpoints rather than a general reference to endpoints you don’t use.

Your own. A webhook is an HTTP request, so anything that can answer one will work. On your own IVR server you program in Python, Node, Go or whatever your team already uses.

The call goes to the destination you set in advance. An outage on your side shouldn’t cost you a call, which is why you configure that fallback when you set up the webhook, not afterwards.

Yes, and that is the order we recommend. If you later move to your own IVR server, we migrate your existing call flows while your numbers and routing keep working.

That depends on the level. A webhook works as soon as your endpoint answers. For your own IVR server we deliver standard configurations as a Docker container, and for custom work we first hold a session with our developers, in which we sketch the architecture and tell you what it costs and how long it takes.

That depends on what you need. For the private API and for custom work we confirm feasibility and any costs before we build anything, so you know where you stand before your developer starts. The plans themselves are on the pricing page.

A private REST API. We build the endpoints you need for your situation. You send HTTP requests and receive JSON responses, so any programming language or platform that can make HTTP calls will work.

You tell us what you want to achieve. We discuss the requirements, confirm feasibility and build the endpoints, and your developer receives documented endpoints that do exactly what was agreed.

With an API key that comes with your CallFactory account. All communication runs over HTTPS.

Yes. You can update call destinations in real time, so your own software decides where calls go based on who is available, the caller’s number, the time of day or any other rule you define.

Yes. You can start calls from your own software that play a recorded or text-to-speech message. Businesses use this for appointment reminders, service alerts and urgent notifications.

Yes. You retrieve recordings automatically and store them in your own archive, compliance system or another internal tool.

Yes. The API gives you call logs and call statistics per number. You load that data into your own BI tools and combine it with your other business figures.

We build it. Our team builds extra API endpoints or complete IVR solutions to your requirements, and because we build and maintain our own platform, we can extend it without waiting for a third party.

Describe what you want to connect

Tell us which data you need and which actions you want to start from your own software. We will tell you whether it can be done, what it costs and which level is the best place to start.

Book a session

Rather talk it through first?

Our team helps you with numbers and voicebots in each of our countries. Call us or use the contact form.

To the contact form → Reply within one day
Or call us
European Union GDPR-compliant · data in the EU
Map of Europe showing the countries where CallFactory supplies numbers Numbers in 14 European countries and the US