Countries
List countries
Public endpoint to list all available countries supported by TextMaster.
Code samples
For a list of supported locales, see:
LocalesLast updated
Was this helpful?
Public endpoint to list all available countries supported by TextMaster.
For a list of supported locales, see:
LocalesLast updated
Was this helpful?
Was this helpful?
GET /v1/public/countries?locale=text HTTP/1.1
Host: api.textmaster.com
Accept: */*
[
{
"id": "AD",
"name": "Andorra"
},
{
"id": "AE",
"name": "United Arab Emirates"
},
{
"id": "AF",
"name": "Afghanistan"
},
{
"id": "AG",
"name": "Antigua And Barbuda"
},
{
"id": "AI",
"name": "Anguilla"
}
]curl -G "https://api.textmaster.com/v1/public/countries" \
--data-urlencode 'locale=en-US'