Skip to main content
GET
/
regions
List regions
curl --request GET \
  --url https://api.strettch.cloud/api/v1/regions \
  --header 'Authorization: Bearer <token>'
{
  "message": "Operation successful",
  "requestId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "success": true,
  "timestamp": "2024-01-15T10:00:00Z",
  "data": [
    {
      "countryCode": "RW",
      "id": 1,
      "name": "Kigali-1",
      "region": "KGL-1"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://cloud.strettch.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Response Error Codes

If the request fails, the code field in the error response will contain one of the following.
CodeStatusDescription
UNAUTHORIZED401Authentication failed or was not provided.
TOO_MANY_REQUESTS429You have exceeded the rate limit.
INTERNAL_SERVER_ERROR500An unexpected error occurred on our end.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

List of regions

message
string
Example:

"Operation successful"

requestId
string
Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

success
boolean
Example:

true

timestamp
string
Example:

"2024-01-15T10:00:00Z"

data
object[]