Regions
Get a region
Look up one region by its M49 code, e.g. 155 for Western Europe.
When no region has the code, the response is 204 No Content, with an empty body.
apiKeyAuthorizationBearer <token>An API key from the dashboard: a secret key (wk_sk_) from servers, or a publishable key (wk_pk_) from the origins listed on it. A workload can send its token in place of a secret key. See Authentication.
code*stringThe region's M49 code, e.g. 155.
1 <= lengthThe region.
application/json- response
An M49 region, with the countries in it.
code*stringIts M49 code, three digits.
name*stringIts English name.
level*stringHow broad it is: a region (150 Europe), a sub_region of one (155 Western Europe) or an intermediate_region within a sub-region (005 South America).
"region""sub_region""intermediate_region"parent?stringThe code of the region it is part of. Left out for a region at the broadest level.
countries*array<string>The ISO 3166-1 alpha-2 codes of the countries in it, at any level.
curl -X GET 'https://waykite.com/api/v1/regions/string'{ "code": "155", "name": "Western Europe", "level": "sub_region", "parent": "150", "countries": [ "AT", "BE", "CH", "DE", "FR", "LI", "LU", "MC", "NL" ]}List regions GET
Every M49 region, with the countries in each. Locations and facilities carry their country's region codes in `regions`, and search and nearby take `region` to keep to one. See [Regions and sea areas](https://waykite.com/docs/guides/regions-and-sea-areas).
List sea areas GET
Every S-23 sea area, such as the North Sea or the Persian Gulf. Ports carry the sea area they are on in `modalities.port.sea_area`, and facilities in `sea_area`; search takes `sea_area` to keep to one. See [Regions and sea areas](https://waykite.com/docs/guides/regions-and-sea-areas).