---
title: "Get Environment Name by ID"
method: GET
path: "/apiops/utility/environments/{environmentId}"
tags: ["Utility"]
---

# Get Environment Name by ID

`GET /apiops/utility/environments/{environmentId}`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/utility/environments/{environmentId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/utility/environments/:environmentId/get.ts> (a function with typed inputs; its response is checked against the schema)

Get Environment Name and Description by its MongoDB ObjectId. Used by Promotion to resolve environmentSettingsId to a human-readable name.

## Path parameters

- `environmentId` string, required

## Response `200`

successful operation!

- ApiOpsResponseEnvironment
  - `status` 'SUCCESS' | 'FAILURE'
  - `resultMessage` string
  - `resultList` EnvironmentDTO[]
    - `id` string
    - `name` string
    - `description` string
    - `type` 'PRODUCTION' | 'SANDBOX' | 'TEST'
    - `status` 'UNPUBLISHED' | 'PUBLISHED' | 'REPUBLISH_REQUIRED'
    - `accessUrl` string
    - `deployed` boolean
    - `redeployRequired` boolean
  - `resultCount` integer

## Other responses

- `401`: not authorized for this operation!
- `500`: internal error!

## Changes

- **2026-08-11** `9ae232e55479`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/apinizer/apis/apinizer-management-apis/changes/apiops/utility/environments/:environmentId/get.md)

---

[API](https://skmtc.dev/apinizer/apis/apinizer-management-apis.md) - [All operations](https://skmtc.dev/apinizer/apis/apinizer-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/apinizer/apis/apinizer-management-apis/revisions/e083046b24cd?raw)
