---
title: "Call Machine Premium Call Screening Detected"
method: POST
path: "callMachinePremiumCallScreeningDetected"
tags: ["Callbacks"]
---

# Call Machine Premium Call Screening Detected

`POST callMachinePremiumCallScreeningDetected` (webhook)

This webhook is sent when `answering_machine_detection=premium_ios_call_screening_detection` detects an Apple Call Screening tone. Premium AMD is then restarted on the screened call; expect another `call.machine.premium.detection.ended` webhook with the post-screening classification.

This webhook uses Telnyx headers (telnyx-timestamp, telnyx-signature-ed25519) that are compatible with Standard Webhooks specification for SDK generation. Custom validation logic can map these to standard webhook-timestamp and webhook-signature equivalents. See https://github.com/standard-webhooks/standard-webhooks for details.

## Headers

- `telnyx-timestamp` integer, required: Unix timestamp for replay attack prevention
- `telnyx-signature-ed25519` string, required: Ed25519 signature of timestamp|payload for verification

## Payload

- CallMachinePremiumCallScreeningDetectedEvent
  - `data` CallMachinePremiumCallScreeningDetected
    - `record_type` 'event': Identifies the type of the resource.
    - `event_type` 'call.machine.premium.call_screening.detected': The type of event being delivered.
    - `id` string, uuid: Identifies the type of resource.
    - `occurred_at` string, date-time: ISO 8601 datetime of when the event occurred.
    - `payload` object
      - `call_control_id` string: Call ID used to issue commands via Call Control API.
      - `connection_id` string: Call Control App ID (formerly Telnyx connection ID) used in the call.
      - `call_leg_id` string: ID that is unique to the call and can be used to correlate webhook events.
      - `call_session_id` string: ID that is unique to the call session and can be used to correlate webhook events. Call session is a group of related call legs that logically belong to the same phone call, e.g. an inbound and outbound leg of a transferred call.
      - `client_state` string: State received from a command.
      - `from` string: Number or SIP URI placing the call.
      - `to` string: Destination number or SIP URI of the call.
      - `result` 'screening': Apple Call Screening detection result. Sent when an Apple Call Screening tone is detected; Premium Answering Machine Detection is restarted on the screened call afterwards.

## Acknowledgement `200`

The server must return an HTTP 200, otherwise we will reattempt delivery at the failover webhook URL.

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/revisions/f82938f53ff4?raw)
