GET https://api.getpostman.com/environments
The The response contains an array of environments' information containing the Requires API Key as /environments
endpoint returns a list of all environments that belong to you..name
, id
, owner
and uid
of each environment.
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
},
{
"id": "7d786cc8-142b-4d62-b5a5-872afc37ad16",
"name": "Environment Scanner",
"createdAt": "2020-02-04T19:34:23.000Z",
"updatedAt": "2020-08-12T13:34:06.000Z",
"owner": "10016724",
"uid": "10016724-7d786cc8-142b-4d62-b5a5-872afc37ad16",
"isPublic": false
}
]
} |
ENDPOINTS