Deepfake Detection

22, Apr 2026

AI-generated voice fraud is growing in volume and sophistication. Telnyx now offers Deepfake Detection with Resemble Detect through the programmable voice, a state-of-the-art neural model that exposes deepfake audio in real-time, helping you detect and flag artificially generated or modified voice content.

How It Works

Resemble Detect uses a sophisticated deep neural network that is trained to distinguish real audio from spoofed versions. It analyzes audio frame-by-frame, ensuring any amount of inserted or altered audio can be accurately detected.

  • You enable deepfake_detection when dialing or answering a call.
  • Telnyx streams the remote party’s audio to the detection service.
  • The service analyzes audio frames and returns a result within the configured timeout.
  • You receive a call.deepfake_detection.result webhook with the classification, or a call.deepfake_detection.error webhook if something went wrong.

The call proceeds normally while detection runs in the background. There is no impact on call audio or latency.

Why It Matters

As AI-generated voice content becomes more common, the ability to verify what's real isn't optional. Deepfake Detection catches fraud at the network layer, on the same platform where your calls already happen.

Also, the EU Data Act requires transparency around AI-generated content and data usage. Deepfake Detection with Resemble Detect helps meet these requirements by providing real-time verification of audio authenticity, giving you a documented way to identify and flag synthetic voice content.

Getting Started

Outbound call:

POST https://api.telnyx.com/v2/calls

{
  "connection_id": "uuid-of-your-connection",
  "to": "+18005551234",
  "from": "+18005554321",
  "deepfake_detection": {
    "enabled": true,
    "timeout": 15,
    "rtp_timeout": 30
  },
  "webhook_url": "https://www.example.com/webhooks"
}

Inbound call:

POST https://api.telnyx.com/v2/calls/{call_control_id}/actions/answer

{
  "deepfake_detection": {
    "enabled": true,
    "timeout": 20,
    "rtp_timeout": 30
  }
}

Handling results:

You receive a call.deepfake_detection.result webhook with:

  • resultreal (human voice), fake (AI-generated), or silence_timeout (no speech detected)
  • score — Probability the audio is AI-generated (0.0–1.0)
  • consistency — How consistently the model classified audio across frames (0–100%)

If detection fails, you receive a call.deepfake_detection.error webhook with error types like detection_timeout, rtp_timeout, dfd_connection_error, or dfd_stream_error.

For the full API reference and code examples, see the Deepfake Detection docs.

Ready to protect your calls? At $0.01 per call, deepfake detection is available to every Telnyx account today.