Logo
30daysofpostman API Documentation

get single environment

GET https://api.getpostman.com/environments/{{environment_uid}}

Access the contents of an environment that is accessible to you using its unique id (uid).

Requires API Key as X-Api-Key request header or apikey URL query parameter.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "environment": { "id": "5daabc50-8451-43f6-922d-96b403b4f28e", "name": "Test Environment", "owner": "12345678", "createdAt": "2020-11-05T13:59:22.000Z", "updatedAt": "2020-11-05T13:59:23.000Z", "values": [ { "key": "apiKey", "value": "PMAK-1234-5678-0987-6543", "enabled": true, "type": "secret" } ], "isPublic": false } }



Curl
curl -X GET 'https://api.getpostman.com/environments/undefined'

ENDPOINTS