---
title: "TeXML Gather"
method: POST
path: "TexmlGatherWebhook"
tags: ["Callbacks"]
---

# TeXML Gather

`POST TexmlGatherWebhook` (webhook)

Webhook sent when a Gather command completes (sent to the action URL).
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`

- TexmlGatherWebhookSchema: Webhook sent when a Gather command completes (sent to the action URL).
  - `AccountSid` string, required: The unique identifier of the account (user_id).
  - `CallSid` string, required: The unique identifier of the call (call_control_id).
  - `CallSidLegacy` string, required: Legacy call identifier, same as CallSid.
  - `Confidence` number: The average confidence score of the speech transcription (conditional, only present when input is speech).
  - `Digits` string: The DTMF digits collected by the Gather command (conditional, only present when input is dtmf).
  - `From` string, required: The phone number or SIP address of the caller.
  - `SpeechResult` string: The transcribed text from speech input (conditional, only present when input is speech).
  - `To` string, required: The phone number or SIP address that was called.

## 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)
