List environments
curl --request GET \
--url https://api.usenexio.com/api/v1/environments \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.usenexio.com/api/v1/environments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.usenexio.com/api/v1/environments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"environments": [
{
"created_at": "<string>",
"id": "<string>",
"kind": "<string>",
"slug": "<string>",
"name": "<string>"
}
]
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Engines
List environments
List every environment in your org, including live.
GET
/
api
/
v1
/
environments
List environments
curl --request GET \
--url https://api.usenexio.com/api/v1/environments \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.usenexio.com/api/v1/environments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.usenexio.com/api/v1/environments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"environments": [
{
"created_at": "<string>",
"id": "<string>",
"kind": "<string>",
"slug": "<string>",
"name": "<string>"
}
]
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Behavior
- Accepts organization keys only. A scoped key gets
403 insufficient_capability. - Returns every environment in the org, whatever environment the calling key belongs to.
Last modified on November 30, 2026