My App
API ReferenceWorkspaces

List Workspaces

List your workspaces to switch between projects.

Shows all workspaces you own or have been invited to. Use the workspace ID in the x-workspace-id header for workspace-scoped API calls.

GET
/v1/workspaces

Response Body

application/json

curl -X GET "https://loading/v1/workspaces"
{
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "slug": "string",
      "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
      "member_count": 0,
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z"
    }
  ]
}