Logo
30daysofpostman 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 
workspace
string Optional. A workspace ID.



HEADERS

Key Datatype Required Description 


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

ENDPOINTS