---
title: "Send Real-Time Text (T.140) on a SIP leg"
method: POST
path: "/legs/{id}/rtt"
tags: ["Legs"]
---

# Send Real-Time Text (T.140) on a SIP leg

`POST /legs/{id}/rtt`

Sends UTF-8 text on the leg's RTT (T.140 / RFC 4103) media stream. Requires that the SDP offer/answer agreed on an m=text section with the remote UA. Enable RTT on the server with RTT_ENABLED=true.

## Request body

- RTTRequest
  - `text` string, required — UTF-8 text to send. May be one or more characters and may include T.140 control codes (e.g. backspace U+0008, CR/LF).

## Response `200`

Text sent

- StatusResponse
  - `instance_id` string — Instance identifier
  - `status` string, required

## Other responses

- `400` — Invalid JSON or empty text
- `404` — Leg not found
- `409` — RTT was not negotiated for this leg
- `500` — Send failed

---

[API](https://skmtc.net/voiceblender/apis/voiceblender-api.md) · [All operations](https://skmtc.net/voiceblender/apis/voiceblender-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voiceblender/voiceblender-api/revisions/c951ca5dcd08/schema)
