Endpoint
Headers
User authentication token received from login
Response
Array of room objects the user is a member of
Error message if the request failed
Status codes
- 200: Rooms retrieved successfully
- 401: Unauthorized (invalid or missing token)
Example request
Example responses
Notes
- Returns both public and private rooms the user has joined
- Does not include public rooms the user hasn’t joined
- Use this endpoint to display a user’s room list in navigation
- Use
/api/roomsto discover new public rooms to join