Skip to main content
POST
/
v1
/
diacritics
Add Yoruba diacritics
curl --request POST \
  --url https://api.spitch.app/v1/diacritics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "language": "yo"
}
'
{
  "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "text": "<string>",
  "language": "<string>"
}

Authorizations

Authorization
string
header
required

Authenticate with Authorization: Bearer <token>. The service accepts JWTs, API keys, and guest tokens through this bearer token header.

Body

application/json

JSON request containing Yoruba text to diacritize.

text
string
required

Yoruba text to diacritize.

language
enum<string>
required

Must be yo. Other languages are rejected.

Available options:
yo

Response

Successful Response

request_id
string<uuid>
required
text
string
required
language
string
required