Locales
Read-only. The languages activated on the platform, as a map of locale code to language name. These are the valid locale keys for translatable fields (e.g. calendar event type translations).
default_locale is the customer's default content locale: the locale that plain string fields (like name) read and write.
Required scope: read:locales.
Endpoints
GET
/api/open/v1/localesMap of active locale codes to language names
Request
curl "https://customer.monotree.com/api/open/v1/locales" \
-H "Authorization: Bearer mono_your_token_here"Response
{
"data": {
"da": "Danish",
"en": "English"
},
"default_locale": "da"
}