Logo
30 Day Challange API Documentation

Get an environment

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

Gets information about an environment.

 

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