Skip to main content
Use this endpoint to get a complete list of all workspaces you own or are a member of. Each item in the response array mirrors the structure returned by the Get Workspace endpoint, giving you members, applications, and metadata for every workspace in one call.

Request

GET https://api.virtuscloud.app/v2/workspaces

Headers

Authorization
string
required
Your Virtus Cloud API key. Pass it directly as the header value — no prefix required.Example: Authorization: vc_live_xxxxxxxxxxxx

Response

status
string
Returns "success" when the request completes successfully.
response
array
An array of workspace objects you have access to.

Examples

curl -X GET https://api.virtuscloud.app/v2/workspaces \
  -H "Authorization: <api_key>"

Response Example

{
  "status": "success",
  "response": [
    {
      "id": "dcedcd13d7e272a7b32a70f6a1d180f23c12d759",
      "name": "Test",
      "owner": "5354d9742d889d49b20134ba0be09ccc0033be68",
      "members": [
        {
          "name": "Example",
          "id": "5354d9742d889d49b20134ba0be09ccc0033be68",
          "group": "owner",
          "joinedAt": "2025-06-04T20:44:55.934Z"
        }
      ],
      "applications": [],
      "createdAt": "2025-06-04T20:44:55.934Z"
    }
  ]
}