Integrations

Integrations overview

Which phone systems connect to APX, what each one needs, and how calls get from your phone system to your agents.

View as Markdown

An integration connects one phone system account to your APX workspace. Once it's connected, APX picks up each recorded call, transcribes it and scores it with your agents. You can connect more than one phone system.

How calls reach APX

There are two ways, and each phone system uses one of them.

WayHow it worksPhone systems
APX checks for callsYou give APX access to your account once. APX checks it for new recordings every minute. You don't change anything in your phone system.Twilio, Telnyx, Aircall
You send calls to APXYour system posts each call to a webhook URL APX gives you, signed with a secret.Custom webhook

When APX checks for calls, a call usually shows up in Calls within a minute or two of ending. With a custom webhook, it shows up shortly after your system sends it.

APX imports calls recorded from the day you connect onward. It doesn't import older calls.

Supported phone systems

Phone systemWhat you needGuide
TwilioYour Account SID, plus the SID and secret of a Twilio API keyConnect Twilio
TelnyxA Telnyx v2 API keyConnect Telnyx
AircallAn Aircall admin to install APX from the Aircall Dashboard, or an Aircall API ID and tokenConnect Aircall
Anything elseA system that can send an HTTPS request with a JSON body and a signatureCustom webhook

Whichever you use, APX can only score calls that are recorded (or, with a custom webhook, calls you send a transcript for). Turn on call recording in your phone system before you connect.

Connect a phone system

  1. Go to Integrations and select Add integration. On a new workspace, the button reads Connect a phone system.
  2. Under Which phone system?, pick yours and select Next.
  3. Give the integration a Name you'll recognise later, like the office or team it covers, and select Next. (For a custom webhook, you choose how you'll send calls and select Create integration here instead.)
  4. Enter the credentials your phone system needs, then select Create integration. APX checks them with your phone system before saving, so a wrong key is caught here.
  5. Select Continue to open the new integration's page.

Aircall works a little differently: picking Aircall and selecting Next takes you to the install from the Aircall Dashboard. See Connect Aircall.

What APX stores and reads

APX reads your call recordings and basic call details: direction, phone numbers, start and end times and length. It doesn't change anything in your phone system and it doesn't touch your existing call flows, webhooks or settings.

For each call it imports, APX keeps a copy of the recording, the transcript, those call details and the scores from your agents. The credentials you enter are encrypted at rest and are only used to fetch your calls. You can't view them again after you save them.

APX transcribes recordings in English.

The integration page

Select an integration on the Integrations list to open its page. The list shows each integration's status, its last event and how many calls it brought in today.

The integration page has three tabs:

TabWhat it shows
OverviewWhen the connection was verified, the last event, and when it was created and updated. For Aircall, also the Write-back to Aircall switch (see Post scores back to Aircall).
Sync eventsFor Twilio, Telnyx and Aircall: whether syncing is healthy, when APX last checked your account, and any errors since the last successful check.
Webhook eventsFor a custom webhook, instead of Sync events: the recent requests your system sent, whether each signature checked out, and any errors.
ActivityEverything that has happened to this integration (see below).

Activity timeline

The Activity tab lists every change to the integration, who made it and when. Changes APX makes on its own are marked APX (automatic). You'll see entries such as:

  • Connected, Renamed, Paused, Resumed and Deleted
  • Connection test passed and Connection test failed, with the reason
  • Stopped syncing and Disconnected, with the reason
  • Installed from Aircall and Reinstalled from Aircall
  • Write-back to Aircall turned on and Write-back to Aircall turned off
  • Signing secret replaced and Webhook event replayed (custom webhook)

When something stops working, this tab is the first place to look.

Statuses

Each integration shows one status on the list and on its page.

StatusWhat it meansWhat to do
VerifiedAPX is checking for calls, or accepting them.Nothing.
PendingA custom webhook that hasn't been tested yet.Select Send test webhook on its page.
PausedSomeone paused it, or it was replaced by an Aircall install. APX isn't checking it for calls.Select Resume when you want calls again. An API-key Aircall integration replaced by the install can't be resumed: use the install.
ErroredAPX kept failing to reach your phone system (for about 20 minutes), or a connection test failed, so it stopped checking.Fix the cause shown on Sync events, then select Test connection.
DisconnectedYour phone system stopped accepting APX's access: the key was deleted or rotated, or APX was uninstalled.Restore access, then select Test connection (or Reinstall Aircall).

When APX stops checking an integration on its own, it sends one email to the people who manage your workspace. Details and fixes are on Troubleshooting.

Test, pause, rename or delete

These buttons are at the top of the integration page.

  • Test connection checks the saved credentials with your phone system and tells you whether it found a recording from today. A passing test also restarts an integration that was Errored or Disconnected. For a custom webhook, the button is Send test webhook.
  • Pause stops APX checking for new calls. Resume starts it again.
  • Rename changes the name shown in APX.
  • Delete stops new calls coming in from that integration. Calls and analyses already in APX stay. You can connect the same phone system again later.

You can't edit saved credentials. To use a different key, delete the integration and connect again with the new one.