GET
/
users
/
states
curl --request GET \
  --url https://api.altostrat.io/users/states \
  --header 'Authorization: Bearer <token>'
{
  "US": {
    "CA": "California",
    "NY": "New York"
  },
  "AU": {
    "VIC": "Victoria",
    "NSW": "New South Wales"
  }
}

Authorizations

Authorization
string
header
required

Standard OAuth2 flow for user authentication. Use Authorization Code Grant or Implicit Grant. JWT Bearer tokens obtained are used for subsequent requests.

Response

200 - application/json
Map of countries to their states/provinces.
{key}
object