All workspaces
GET https://api.getpostman.com/workspaces
The /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.
The response contains an array of collection information containing the name
, id
, and type
of each workspace.
Requires API Key as
X-Api-Key
request header orapikey
URL query parameter.
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"}]}