Get all workspaces

GET https://api.getpostman.com/workspaces

Gets all [workspaces] The response includes your workspaces and any workspaces that you have access to.

Note:

This endpoint's response contains the visibility field. [Visibility] determines who can access the workspace:

  • only-me — Applies to the My Workspace workspace.
  • personal — Only you can access the workspace.
  • team — All team members can access the workspace.
  • private-team — Only invited team members can access the workspace.
  • public — Everyone can access the workspace.

Request Params

KeyDatatypeRequiredDescription
typestringOptional. The type of workspace to filter the response by:
  • team — Return only team workspaces.
  • personal — Return only personal workspaces. |

RESPONSES

status: OK

{"workspaces":[{"id":"1f0df51a-8658-4ee8-a2a1-d2567dfa09a9","name":"Test Workspace","type":"personal","visibility":"personal"}]}