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.

Request Params

KeyDatatypeRequiredDescription
workspacestringOptional. A workspace ID.

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}]}