v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Sites

List Site locations (including restricted)

List all available locations for new sites including those which are restricted to your account only.

get/v1/sites/all_locations

Query parameters

site_type0 | 1 | 2

Filter by site type(s) the location supports

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "result": {
    "locations": [
      {
        "id": 1,
        "location": "US - East",
        "region": "United States",
        "supported_site_types": [
          0,
          1
        ]
      }
    ],
    "restricted_locations": [
      {
        "id": 1,
        "location": "US - East",
        "region": "United States",
        "supported_site_types": [
          0,
          1
        ]
      }
    ]
  }
}