Logo
OpenScaler

List All Regions

To retrieve a list of all regions, send a GET request to /v2/regions.

GET
/v1/regions

Authorization

AuthorizationRequiredBearer <token>

OAuth Authentication

OpenScaler API uses OAuth, a standard for secure authorization. To access the API, obtain a token via the OpenScaler Platform.

Use the access_token in the Authorization header for requests:

Authorization: Bearer <token>

Always keep your token secure and do not share it with anyone.

In: header

curl -X GET "https://api.alpha.openscaler.net/v1/regions" \
  -H "Authorization: Bearer <token>"

JSON array containing the regions.

[
  {
    "regions": [
      {
        "id": "alg1",
        "name": "Algiers Zone A",
        "location": "Algiers, Algeria",
        "country": "dz"
      }
    ]
  }
]