cURL
curl --request GET \ --url https://api.raydocs.com/workspaces \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": 123, "name": "<string>", "icon": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] }
Return the workspaces the authenticated user belongs to.
workspaces-read
GET /workspaces HTTP/1.1 Host: api.raydocs.com Authorization: Bearer <token>
200 OK
[ { "id": 1, "name": "My Workspace", "icon": "📊", "settings": {}, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z" } ]
403 Forbidden
Personal Access Token
Successful
Show child attributes