Skip to main content
GET
/
api
/
v1
/
environments
List Environments
curl --request GET \
  --url https://api.usenexio.com/api/v1/environments \
  --header 'Authorization: Bearer <token>'
{
  "environments": [
    {
      "id": "0a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
      "slug": "live",
      "kind": "live",
      "name": "Production",
      "created_at": "2026-01-10T00:00:00Z"
    },
    {
      "id": "1b2c3d4e-5f6a-7b8c-9d0e-1f2a3b4c5d6e",
      "slug": "dev",
      "kind": "sandbox",
      "name": "Development",
      "created_at": "2026-02-01T00:00:00Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key with environment prefix. Use nx_test_... for sandbox and nx_live_... for production. Obtain keys at platform.usenexio.com/settings/api-keys.

Response

Environments in the org.

environments
object[]
required