Logo
30 days challenge API Documentation

All Environments

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

The /environments endpoint returns a list of all environments that belong to you..

The response contains an array of environments' information containing the name, id, owner and uid of each environment.

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

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



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

ENDPOINTS