GET https://api.getpostman.com/workspaces
The The response contains an array of collection information containing the Requires API Key as /workspaces
endpoint returns a list of all workspaces that is accessible by you. The list includes your own workspaces and the workspaces that you have access to.name
, id
, and type
of each workspace.
X-Api-Key
request header or apikey
URL query parameter.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"workspaces": [
{
"id": "4e6d34c2-cfdb-4b33-8868-12a875bebda3",
"name": "My Workspace",
"type": "personal"
},
{
"id": "f8801e9e-03a4-4c7b-b31e-5db5cd771696",
"name": "Team workspace",
"type": "team"
}
]
} |
ENDPOINTS