Get a workspace
Enterprise Only
This endpoint is only available in the Enterprise package and requires the authenticated user to be a Super Admin.
Method: GET
URL: https://example.com/<MIXPOST_CORE_PATH>/api/panel/workspaces/{workspaceUuid}
Authorization: Bearer <token>
Response:
- 200
- 401
- 403
- 404
{
"workspace": {
"uuid": "3bbd0951-5b04-432b-b2a0-688588b0720e",
"name": "My Workspace",
"hex_color": "#6366f1",
"users": [
{
"id": 1,
"name": "John Doe",
"email": "john@example.com"
}
],
"owner_id": 1,
"owner": {
"id": 1,
"name": "John Doe",
"email": "john@example.com"
},
"access_status": "unlimited",
"created_at": "Jan 15, 2025 10:30 AM",
"payment_method": {
"type": null,
"card_brand": null,
"card_last_four": null,
"card_expires": null
}
},
"subscription": null
}
{
"message": "Unauthenticated."
}
{
"message": "Access forbidden."
}
{
"message": "Workspace not found."
}