POST
curl --location --request POST 'https://revapi.reverieinc.com' \
--header 'Content-Type: application/json' \
--header 'REV-API-KEY: <YOUR API KEY>' \
--header 'REV-APP-ID: <YOUR APP-ID>' \
--header 'src_lang: en' \
--header 'tgt_lang: hi' \
--header 'domain: generic' \
--header 'REV-APPNAME: transliteration' \
--header 'REV-APPVERSION: 2.0' \
--data-raw '{
"data": ["Hello, how are you?"],
"isBulk": true,
"ignoreTaggedEntities": true
}'
{
	"responseList": [
    	{
        	"inString": "Reverie Language Technologies ltd website address is www.reverieinc.com ",
        	"outString": [
            	"रेवरी लैंग्वेज टेक्नोलॉजीस लिमिटेड वेबसाइट एड्रेस इज़ www.reverieinc.com"
        	],
        	"status": 2
    	}
   ]
}
curl --location --request POST 'https://revapi.reverieinc.com' \
--header 'Content-Type: application/json' \
--header 'REV-API-KEY: <YOUR API KEY>' \
--header 'REV-APP-ID: <YOUR APP-ID>' \
--header 'src_lang: en' \
--header 'tgt_lang: hi' \
--header 'domain: generic' \
--header 'REV-APPNAME: transliteration' \
--header 'REV-APPVERSION: 2.0' \
--data-raw '{
"data": ["Hello, how are you?"],
"isBulk": true,
"ignoreTaggedEntities": true
}'

Headers

Content-Type
string
default:"application/json"
required

The format of the data to be posted. Must be set to “application/json”.

REV-API-KEY
string
required

A unique key/token provided by Reverie to identify the user using the Localization API.

REV-APP-ID
string
required

The unique account ID to identify the user and the default account settings.

REV-APPNAME
string
default:"transliteration"
required

Application name i.e., transliteration

REV-APPVERSION
string
default:"2.0"
required

Application version i.e., 2.0

src_lang
string
required

Source language code : hi, as, bn, gu, kn, ml, mr, or, pa, ta, te, en, ur, sd, doi, kon, brx, ks, mai, mni, sa, sat

tgt_lang
string
required

Target language code : hi, as, bn, gu, kn, ml, mr, or, pa, ta, te, en, ur, sd, doi, kon, brx, ks, mai, mni, sa, sat

domain
string
required

Domain category : generic, pii_names, pii_addresses, OnlyEnglish, bfsi, ecommerce, food, infotainment, medical, enterprise

cnt_lang
string

Content language code : en

Body

data
string[]
required

The text you want to translate. This is the input text that will be processed by the translation model.

isBulk
boolean

Indicates whether the request is for bulk processing. Set to false for single sentence transliteration.

ignoreTaggedEntities
boolean

Determines whether to ignore tagged entities during transliteration. Set to false to include all entities.

{
	"responseList": [
    	{
        	"inString": "Reverie Language Technologies ltd website address is www.reverieinc.com ",
        	"outString": [
            	"रेवरी लैंग्वेज टेक्नोलॉजीस लिमिटेड वेबसाइट एड्रेस इज़ www.reverieinc.com"
        	],
        	"status": 2
    	}
   ]
}

Response

responseList
Object
required

An array of translation responses