Chat Room List
Create Chat Room
Endpoint
POST /chatrooms
Headers
Key
Value
Description
Authorization
{token}
JWT access token
App-Id
{app_id}
Unique identifier for the application
Request Body
{
"userId": "string",
"name": "string"
}
Response
{
"status": 201,
"message": "Chat room created successfully"
}
Get Chat Room List
Endpoint
GET /chatrooms?page={page}&size={size}
Response
{
"status": 200,
"message": "Chat room list retrieved successfully",
"data": [
{
"roomId": "long",
"lastMessage": "string",
"lastMessageTimestamp": "date"
}
]
}
Last updated