---
title: "TeXML Stream"
method: POST
path: "TexmlStreamWebhook"
tags: ["Callbacks"]
---

# TeXML Stream

`POST TexmlStreamWebhook` (webhook)

Webhook sent for media streaming status updates.
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`

- TexmlStreamWebhookSchema: Webhook sent for media streaming status updates.
  - `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.
  - `StreamError` string: Error message if the stream failed (conditional, only present when StreamEvent is stream-error).
  - `StreamEvent` 'stream-started' | 'stream-stopped' | 'stream-error', required: The event type for the media stream.
  - `StreamName` string, required: The name of the stream.
  - `StreamSid` string, required: A unique identifier for the stream.
  - `Timestamp` string, date-time, required: The timestamp when the event occurred.

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