POST
/
translate
curl --request POST \
  --url http://igboapi.com/api/v2/translate \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "text": "<string>",
  "sourceLanguageCode": "eng",
  "destinationLanguageCode": "eng"
}'
{
  "translation": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json
The inputs to the translation model describe what language you're translating from and to
text
string
required
sourceLanguageCode
enum<string>
required
Available options:
eng,
ibo
destinationLanguageCode
enum<string>
required
Available options:
eng,
ibo

Response

200 - application/json
The translated text of the given input
translation
string
required