Logo
30 Day Challange API Documentation

Get all environments

GET https://api.getpostman.com/environments

Gets information about all of your [environments]

 

Body PARAM

Key Datatype Required Description 
workspace
string Optional. A workspace ID.



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "environments": [ { "id": "5daabc50-8451-43f6-922d-96b403b4f28e", "name": "Test Environment", "createdAt": "2020-09-23T14:31:18.000Z", "updatedAt": "2020-12-04T14:13:40.000Z", "owner": "12345678", "uid": "12345678-5daabc50-8451-43f6-922d-96b403b4f28e", "isPublic": false } ] }



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

ENDPOINTS