Get a list of all meeting rooms that the authenticated user has created. This endpoint is useful for displaying a user’s meeting history and active rooms.
Endpoint
Authentication
Requires JWT authentication via Bearer token in the Authorization header.
Request
No request body or query parameters required. Returns rooms for the authenticated user based on their JWT token.
Bearer token obtained from login or registration Format: Bearer <jwt_token>
Response
Returns an array of room objects created by the user.
Array of room objects hosted by the user Unique room identifier (CUID)
Meeting code in xxx-xxx-xxx format
ID of the room host (the authenticated user)
Whether the room is currently active
Whether the room is locked (no new participants can join)
ISO 8601 timestamp when room was created
ISO 8601 timestamp when room was ended (null if still active)
ISO 8601 timestamp of room creation
ISO 8601 timestamp of last update
Room settings configuration
Array of participants who joined this room
Example Request
curl -X GET https://api.neuronmeet.com/users/me/rooms \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Example Response
[
{
"id" : "clh3x2k5g0001l408xyz12345" ,
"code" : "abc-def-ghi" ,
"name" : "Team Standup" ,
"hostId" : "clh3x1k5g0000l408xyz11111" ,
"isActive" : true ,
"isLocked" : false ,
"startedAt" : "2024-03-03T10:00:00.000Z" ,
"endedAt" : null ,
"createdAt" : "2024-03-03T09:55:00.000Z" ,
"updatedAt" : "2024-03-03T10:00:00.000Z" ,
"settings" : {
"allowChat" : true ,
"allowScreenShare" : true ,
"allowGuestAccess" : true ,
"waitingRoom" : false ,
"muteParticipantsOnJoin" : false ,
"maxParticipants" : 100
},
"participants" : [
{
"id" : "clh3x3k5g0002l408xyz22222" ,
"isActive" : true ,
"isHost" : true ,
"joinedAt" : "2024-03-03T10:00:00.000Z"
},
{
"id" : "clh3x4k5g0003l408xyz33333" ,
"isActive" : true ,
"isHost" : false ,
"joinedAt" : "2024-03-03T10:02:00.000Z"
}
]
},
{
"id" : "clh3x5k5g0004l408xyz44444" ,
"code" : "jkl-mno-pqr" ,
"name" : "Client Presentation" ,
"hostId" : "clh3x1k5g0000l408xyz11111" ,
"isActive" : false ,
"isLocked" : false ,
"startedAt" : "2024-03-02T14:00:00.000Z" ,
"endedAt" : "2024-03-02T15:30:00.000Z" ,
"createdAt" : "2024-03-02T13:55:00.000Z" ,
"updatedAt" : "2024-03-02T15:30:00.000Z" ,
"settings" : {
"allowChat" : true ,
"allowScreenShare" : true ,
"allowGuestAccess" : false ,
"waitingRoom" : true ,
"muteParticipantsOnJoin" : true ,
"maxParticipants" : 50
},
"participants" : [
{
"id" : "clh3x6k5g0005l408xyz55555" ,
"isActive" : false ,
"isHost" : true ,
"joinedAt" : "2024-03-02T14:00:00.000Z" ,
"leftAt" : "2024-03-02T15:30:00.000Z"
}
]
}
]
Response Details
Room Status
Active rooms (isActive: true) - Currently ongoing meetings
Ended rooms (isActive: false) - Past meetings that have been closed
Sorting
Rooms are returned sorted by creation date, with the most recent rooms first.
Error Responses
401 Unauthorized
Missing or invalid JWT token.
{
"statusCode" : 401 ,
"message" : "Unauthorized"
}
Use Cases
Display user’s meeting dashboard
Show meeting history
List active and past meetings
Quick access to rejoin active rooms
Meeting analytics and statistics
Room management interface
Example Use Case: Dashboard
// Fetch user's rooms for dashboard
const response = await fetch ( 'https://api.neuronmeet.com/users/me/rooms' , {
headers: {
'Authorization' : `Bearer ${ token } `
}
});
const rooms = await response . json ();
// Separate active and past meetings
const activeRooms = rooms . filter ( room => room . isActive );
const pastRooms = rooms . filter ( room => ! room . isActive );
// Display active rooms prominently
console . log ( `You have ${ activeRooms . length } active meetings` );