---
title: "Diacritize Text"
method: POST
path: "/v1/diacritics"
tags: ["Diacritics"]
---

# Diacritize Text

`POST /v1/diacritics`

Add appopriate tone marks to text.

## Request body

- DiacriticsRequest
  - `language` 'yo' | 'en' | 'ha' | 'ig' | 'am' | 'pcm', required
  - `text` string, required

## Response `200`

Successful Response

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

## Changes

- **2026-01-21** `9caec45089fb` — 5 info
  - api operation id `tone_mark_v1_diacritics_post` removed and replaced with `diacritizeText`
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
  - api tag `Diacritics` added
  - added the new `pcm` enum value to the request property `language`
  - …1 more
- **2025-08-05** `5e0436ccb10d` — 2 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - the endpoint scheme security `OAuth2PasswordBearer` was removed from the API
- **2025-08-01** `2ca8a3d6f0d9` — 1 breaking, 2 info
  - the response's body type changed from no type to `object` for status `200`
  - added the required property `request_id` to the response with the `200` status
  - added the required property `text` to the response with the `200` status

[Change history](https://skmtc.dev/spi-tch/apis/spitch-api/changes/v1/diacritics/post.md)

---

[API](https://skmtc.dev/spi-tch/apis/spitch-api.md) · [All operations](https://skmtc.dev/spi-tch/apis/spitch-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/spi-tch/spitch-api/revisions/e0bd85a122ab/schema)
