---
title: "Diacritize Text"
method: POST
path: "/v1/diacritics"
---

# Diacritize Text

`POST /v1/diacritics`

Add appropriate tone marks to text.

## Headers

- `X-Data-Retention` boolean

## Request body

- DiacriticsRequest
  - `language` string, required — Only Yoruba is supported at the moment.
  - `text` string, required

## Response `200`

Successful Response

- DiacriticsResponse
  - `request_id` string, uuid, required
  - `text` string, required

---

[API](https://skmtc.net/spi-tch/apis/spitch-api.md) · [All operations](https://skmtc.net/spi-tch/apis/spitch-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spi-tch/spitch-api/versions/345ddd9a88d1/schema)
