List my workspaces
Lists the workspaces the authenticated token owner belongs to, most recently updated first. Use the returned uuid as the <workspaceUuid> segment of every other endpoint.
Method: GET
URL: https://example.com/<MIXPOST_CORE_PATH>/api/workspaces
Authorization: Bearer <token>
Response:
- 200
- 401
- 403
{
"data": [
{
"id": 2,
"uuid": "3bbd0951-5b04-432b-b2a0-688588b0720e",
"name": "Acme",
"pivot": {
"role": "admin",
"can_approve": true,
"joined_at": "2025-01-15 10:30:00"
}
},
{
"id": 1,
"uuid": "f9288040-0d50-4e40-83d6-10ef6dd31d9d",
"name": "Personal",
"pivot": {
"role": "member",
"can_approve": false,
"joined_at": "2024-11-02 08:12:44"
}
}
]
}
{
"message": "Unauthenticated."
}
{
"message": "Access forbidden."
}