POST
/
translate
curl --request POST \
  --url https://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

The body is of type object.

Response

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

The response is of type object.