Logo
30 Days of Postman exercises API Documentation

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": "1b163ddc-62ff-41d9-b74b-71424b9aa69d", "name": "Contract Test Environment", "owner": "10016724", "createdAt": "2020-11-05T13:59:22.000Z", "updatedAt": "2020-11-05T13:59:23.000Z", "values": [ { "key": "env-apiKey", "value": "", "enabled": true } ], "isPublic": false } }



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

ENDPOINTS