POST
/
v1
/
translate
curl --request POST \
  --url https://api.spi-tch.com/v1/translate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>",
  "source": "yo",
  "target": "yo"
}'
{
  "request_id": "<string>",
  "text": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
text
string
required
source
enum<string>
required
Available options:
yo,
en,
ha,
ig
target
enum<string>
required
Available options:
yo,
en,
ha,
ig

Response

200
application/json
Successful Response
request_id
string
required
text
string