Logo
30 Days of Postman 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": "357668d2-84f1-2264-438b-113095359f80", "name": "Postman Cloud API", "owner": "631643", "uid": "631643-357668d2-84f1-2264-438b-113095359f80" }, { "id": "84a119b6-f4b1-9120-5f11-a73b17818d70", "name": "Postman Cloud API.template", "owner": "631643", "uid": "631643-84a119b6-f4b1-9120-5f11-a73b17818d70" } ] }



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

ENDPOINTS