---
title: "TeXML Call AMD"
method: POST
path: "TexmlCallAmdWebhook"
tags: ["Callbacks"]
---

# TeXML Call AMD

`POST TexmlCallAmdWebhook` (webhook)

Webhook sent when Answering Machine Detection (AMD) completes during a TeXML call.
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 `application/x-www-form-urlencoded`

- TexmlCallAmdWebhookSchema: Webhook sent when Answering Machine Detection (AMD) completes during a TeXML call.
  - `AccountSid` string, required: The unique identifier of the account (user_id).
  - `AnsweredBy` 'human' | 'machine_start' | 'machine_end_beep' | 'machine_end_silence' | 'machine_end_other' | 'fax' | 'unknown', required: The result of the answering machine detection.
  - `CallSid` string, required: The unique identifier of the call (call_control_id).
  - `CallSidLegacy` string, required: Legacy call identifier, same as CallSid.
  - `ConnectionId` string, required: The unique identifier of the connection.
  - `MachineDetectionDuration` string, required: The duration of the machine detection in milliseconds.

## 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.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api/revisions/0f17b8167873?raw)
