All workspaces
GET
/workspaces
Workspaces
/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.Requires API Key as X-Api-Key
request header orapikey
URL query parameter.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.getpostman.com/workspaces'
Response Response Example
{
"workspaces": [
{
"id": "4e6d34c2-cfdb-4b33-8868-12a875bebda3",
"name": "My Workspace",
"type": "personal"
},
{
"id": "f8801e9e-03a4-4c7b-b31e-5db5cd771696",
"name": "Team workspace",
"type": "team"
}
]
}
Request
None
Responses
Modified at 2023-08-15 05:41:04