- OUTBACK APIs
- User
- Post
- Get Popular Categories Post
- Add Post
- Update Post
- Get Post
- Get My Post
- Detail Post By Id
- Get Trending Posts
- Get Most Viewed Post
- get specfic user post
- Record Fav_Unfav post
- Get Favt Post
- Record Views
- All Posts Views
- Add Comment
- Get Comments
- Get Collection List
- Get Post Collection
- Remove Collection
- Soft Delete Post
- Delete Post
- Update Sold Type
- report post
- update thumnail of posts
- ChatRoom/Messages
- Town Hall
- notfication
- Category
- Payments
- PAYMENTS APIS
Get ChatRoom
GET
/chat-mgt/get-chat-rooms
Request
Header Params
Authorization
string
required
Example:
bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NzFjZDZmYzA1OGE4NDA0MjEyNGJlZjMiLCJpYXQiOjE3MzA4OTExMzAsImV4cCI6MTc2MjQ0ODczMH0.6xVVAT5RgHHThm9zBywUAuNGVxsMxqmoiZxnK8BfM4k
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://13.239.78.144:3000/api/v1/chat-mgt/get-chat-rooms' \
--header 'Authorization: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NzFjZDZmYzA1OGE4NDA0MjEyNGJlZjMiLCJpYXQiOjE3MzA4OTExMzAsImV4cCI6MTc2MjQ0ODczMH0.6xVVAT5RgHHThm9zBywUAuNGVxsMxqmoiZxnK8BfM4k'
Responses
🟢200Success
application/json
Body
object {0}
Example
{
"status": 1,
"statusCode": 200,
"message": "Chat rooms retrieved successfully.",
"data": [
{
"_id": "67c577bcdf1ced3a02bea7e9",
"participants": [
{
"_id": "67b825e6944bb7629e4ad86f",
"name": "John Doe",
"profile_photo_url": null
}
],
"lastMessage": {
"_id": "67c577c1df1ced3a02bea81b",
"messageText": "Hello",
"userId": "67b825e6944bb7629e4ad86f",
"name": "John Doe",
"message_status": {
"isSeen": false
},
"createdAt": "2025-03-03T09:34:57.767Z"
},
"is_blocked": false,
"is_active": true,
"createdAt": "2025-03-03T09:34:52.510Z",
"updatedAt": "2025-03-03T09:34:57.770Z",
"productDetails": null
}
]
}
Modified at 2025-03-03 10:09:17