Definitions
Lists all locales
Lists all available locales (a combination of country and language) that are well-supported on the platform. You can use this endpoint to discover which locales are recommended for the best performance and panelist availability. The output will include ISO 3166-1 alpha-2 country codes and associated ISO 639-2/T three-letter language codes. You will use this to form a valid locale string where you specify the three-letter language code, an underscore, and the two-letter country code e.g., eng_us. Use this locale when browsing profile library or creating a target group.
get/locales
Request
- Base URLhttps://api.cint.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
A list of locales was retrieved successfully.
Example response
{
"locales": [
{
"country": {
"code": "in",
"name": "India"
},
"languages": [
{
"is_preferred": true,
"name": "English",
"code": "eng"
},
{
"is_preferred": true,
"name": "Hindi",
"code": "hin"
},
{
"is_preferred": false,
"name": "Bengali",
"code": "ben"
}
]
},
{
"country": {
"code": "us",
"name": "United States"
},
"languages": [
{
"is_preferred": true,
"name": "English",
"code": "eng"
},
{
"is_preferred": true,
"name": "Spanish",
"code": "spa"
},
{
"is_preferred": false,
"name": "Chinese Simplified",
"code": "chi"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.