Number of APIs: 5
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.
GET https://api.getpostman.com/workspaces/{{workspace_id}}
Access the contents of a workspace that is accessible to you using its id ( Requires API Key as id
). Includes the collections, environments, mocks and monitors of that workspace.
X-Api-Key
request header or apikey
URL query parameter.
POST https://api.getpostman.com/workspaces
This endpoint allows you to create a workspace and populate it with entities like On successful creation of the workspace, the response returns the workspcae Requires API Key as collections
, environments
, mocks
and monitors
using their uid
.name
and id
.
X-Api-Key
request header or apikey
URL query parameter.
PUT https://api.getpostman.com/workspaces/{{workspace_id}}
This endpoint allows you to update a workspace and update it's association to entities like On successful updation of the workspace, the response returns the workspcae Requires API Key as Note : The endpoint expects you to send the desired state of the workspace in terms of the associated entities so be careful when trying to update these entities. For eg. if your workspace has collections A and B, and in the update call, you send C's uid in the collections array, then A and B would be removed from the workspace and C would be added.collections
, environments
, mocks
and monitors
using their uid
.name
and id
.
X-Api-Key
request header or apikey
URL query parameter.
DELETE https://api.getpostman.com/workspaces/{{workspace_id}}
This endpoint allows you to delete an existing workspace. On successful deletion of the workspace, the response returns the Requires API Key as id
.
X-Api-Key
request header or apikey
URL query parameter.
ENDPOINTS