GET /region — List regions
GET https://api.sandbox-gameye.gameye.net/region
Section titled “GET https://api.sandbox-gameye.gameye.net/region”Returns a list of all region names available for hosting sessions. Use these names as the location field when starting a session.
Requires the regions:read scope (or any valid token — the endpoint uses the same auth as other endpoints).
Code Examples
Section titled “Code Examples”curl 'https://api.sandbox-gameye.gameye.net/region' \--header 'Authorization: Bearer YOUR_TOKEN' \--header 'Accept: application/json'const response = await fetch('https://api.sandbox-gameye.gameye.net/region', { headers: { 'Authorization': 'Bearer YOUR_TOKEN', 'Accept': 'application/json', },});const { regions } = await response.json();import requests
response = requests.get( 'https://api.sandbox-gameye.gameye.net/region', headers={ 'Authorization': 'Bearer YOUR_TOKEN', 'Accept': 'application/json', },)regions = response.json()['regions']Responses
Section titled “Responses”A list of available region names.
| Field | Type | Required |
|---|---|---|
regions | array of strings | Yes |
{ "regions": [ "europe", "us-east", "ap-southeast" ]}You are not authorized. Make sure your bearer token is correct.
Your API token does not have the required permissions to invoke this endpoint.