Integrations

Connect Telnyx

Paste a Telnyx v2 API key and APX picks up each recorded call within a minute or two of it ending.

View as Markdown

APX connects to Telnyx with a v2 API key. It checks your Telnyx account for new recordings every minute, so you don't set up any webhooks in Telnyx. Your Voice Profile callbacks and TeXML stay exactly as they are.

Before you start

  • You can create API keys in the Telnyx Portal for the account that records your calls.
  • Your calls are recorded in Telnyx. APX only sees calls that have a recording.

Create an API key in Telnyx

  1. In the Telnyx Portal, go to API Keys.
  2. Create a v2 API key. Name it something you'll recognise, like "APX Intelligence".
  3. Copy the key. Telnyx shows it only once.

The key needs permission to read recordings. A key with Telnyx's default access has it. If you restrict your keys, include read access to recordings.

Turn on recording

APX can only score calls Telnyx records. Turn on recording on your Voice Profile, or set recording on the calls in your TeXML or call control app. Only finished recordings are picked up.

Connect Telnyx in APX

  1. Go to Integrations and select Add integration.
  2. Pick Telnyx and select Next.
  3. Enter a Name, like "Sales line Telnyx", and select Next.
  4. Paste the key into API Key.
  5. Select Create integration.

APX checks the key with Telnyx before it saves it. If it works, you see Connected and APX starts checking for recorded calls. If Telnyx rejects it, the form shows the reason and nothing is saved.

Check it's working

Place a call on a Telnyx number that records, and let it end. It shows up in Calls within a minute or two.

To check the key again at any time, open the integration and select Test connection. APX tells you whether it found a recording in your Telnyx account today. If it found none, place a call and check again.

The Sync events tab shows whether syncing is healthy and when APX last checked your account.

Troubleshooting

"Telnyx rejected the API Key". The key was mistyped, isn't a v2 key, or was revoked. Create a new v2 key in the Telnyx Portal and try again.

"Telnyx rejected the request as forbidden". The key can't read recordings. Create a key with full access, or add read access to recordings.

The integration shows Disconnected. Telnyx stopped accepting the key: it was revoked or rotated. Restore the key and select Test connection, or delete the integration and connect again with a new key.

Calls are in Telnyx but not in APX. Check recording is on and the call has a finished recording, and that the integration isn't Paused, Errored or Disconnected. Calls from before you connected aren't imported.

More fixes: Troubleshooting.