Locales

List locales

Public endpoint to list all available locales supported by TextMaster.

List Locales

GEThttps://api.textmaster.com/v1/public/locales
Response

Lists locales

Body
active*boolean
code*string
Pattern: ^[a-z]{2}(-[A-Z]{2})?$
name*string
Request
const response = await fetch('https://api.textmaster.com/v1/public/locales', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "active": false,
    "code": "text",
    "name": "text"
  }
]

Code samples

curl "https://api.textmaster.com/v1/public/locales"

Last updated