Skip to content

regions

3 endpoints at a glance
MethodPathSummary
GET/locations/regionsList Regions
GET/locations/regions/{region_id}Get Region
POST/locations/regions/refreshRefresh Regions

regions


List Regions

GET
/locations/regions

List subdivisions. country (cca2) narrows to one country.

Parameters

Header Parameters

authorization

Query Parameters

country

Responses

Successful Response

application/json
JSON
[
  
{
  
  
"additionalProperties": "string"
  
}
]

Playground

Headers
Variables
Key
Value

Samples


Get Region

GET
/locations/regions/{region_id}

Parameters

Header Parameters

authorization

Path Parameters

region_id*
Type
string
Required

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers
Variables
Key
Value

Samples


Refresh Regions

POST
/locations/regions/refresh

Re-import the GeoNames admin1 subdivisions (admin only, audited).

Parameters

Header Parameters

authorization

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers

Samples


Kancil — one workspace for contacts, work and money.