Logo
30 Day Challange API Documentation

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.

 

Body PARAM

Key Datatype Required Description 
type
string Optional. The type of workspace to filter the response by: * `team` — Return only team workspaces. * `personal` — Return only personal workspaces.



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

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



Curl
curl -X GET 'https://api.getpostman.com/workspaces?type=<string>'

ENDPOINTS