💬 Chat App
Get group chat details
This API endpoint allows developers to retrieve comprehensive information about a specific group chat.
This includes essential details such as the group's name, the total number of participants, and a detailed list of member profiles, providing a holistic overview of the group's composition.
By utilizing this endpoint, developers can seamlessly access and display key insights into group interactions.
get/chat-app/chats/group/{chatId}
Response
Get group chat details
Example response
{
"data": {
"_id": "64d6722a5bda3332e4f368a9",
"admin": "64d672295bda3332e4f36582",
"createdAt": "2023-08-11T17:38:50.921Z",
"isGroupChat": true,
"name": "Ferrari Civicmarkets",
"participants": [
{
"__v": 0,
"_id": "64d672295bda3332e4f3650d",
"avatar": {
"_id": "64d672295bda3332e4f3650e",
"localPath": "",
"url": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/93.jpg"
},
"createdAt": "2023-08-11T17:38:49.117Z",
"email": "anissa27@gmail.com",
"isEmailVerified": true,
"loginType": "EMAIL_PASSWORD",
"role": "USER",
"updatedAt": "2023-08-11T17:39:09.579Z",
"username": "sandrine8"
},
{
"__v": 0,
"_id": "64d672295bda3332e4f3651c",
"avatar": {
"_id": "64d672295bda3332e4f3651d",
"localPath": "",
"url": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/1038.jpg"
},
"createdAt": "2023-08-11T17:38:49.119Z",
"email": "vicky.pfeffer49@gmail.com",
"isEmailVerified": true,
"loginType": "EMAIL_PASSWORD",
"role": "ADMIN",
"updatedAt": "2023-08-11T17:38:49.119Z",
"username": "michael80"
},
{
"__v": 0,
"_id": "64d672295bda3332e4f36525",
"avatar": {
"_id": "64d672295bda3332e4f36526",
"localPath": "",
"url": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/529.jpg"
},
"createdAt": "2023-08-11T17:38:49.119Z",
"email": "dayton.hirthe@yahoo.com",
"isEmailVerified": true,
"loginType": "EMAIL_PASSWORD",
"role": "ADMIN",
"updatedAt": "2023-08-11T17:38:49.119Z",
"username": "anahi_herman"
},
{
"__v": 0,
"_id": "64d672295bda3332e4f3653d",
"avatar": {
"_id": "64d672295bda3332e4f3653e",
"localPath": "",
"url": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/1231.jpg"
},
"createdAt": "2023-08-11T17:38:49.120Z",
"email": "jalen.ankunding21@yahoo.com",
"isEmailVerified": true,
"loginType": "EMAIL_PASSWORD",
"role": "USER",
"updatedAt": "2023-08-11T17:38:49.120Z",
"username": "tyreek.wolff3"
},
{
"__v": 0,
"_id": "64d672295bda3332e4f36567",
"avatar": {
"_id": "64d672295bda3332e4f36568",
"localPath": "",
"url": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/1004.jpg"
},
"createdAt": "2023-08-11T17:38:49.120Z",
"email": "saul58@gmail.com",
"isEmailVerified": true,
"loginType": "EMAIL_PASSWORD",
"role": "ADMIN",
"updatedAt": "2023-08-11T17:38:49.120Z",
"username": "joaquin.russel-volkman10"
},
{
"__v": 0,
"_id": "64d672295bda3332e4f36582",
"avatar": {
"_id": "64d672295bda3332e4f36583",
"localPath": "",
"url": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/1159.jpg"
},
"createdAt": "2023-08-11T17:38:49.121Z",
"email": "ferne.dare19@yahoo.com",
"isEmailVerified": true,
"loginType": "EMAIL_PASSWORD",
"role": "USER",
"updatedAt": "2023-08-11T17:38:49.121Z",
"username": "kaitlin_rolfson69"
},
{
"__v": 0,
"_id": "64d672295bda3332e4f3658b",
"avatar": {
"_id": "64d672295bda3332e4f3658c",
"localPath": "",
"url": "https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/46.jpg"
},
"createdAt": "2023-08-11T17:38:49.121Z",
"email": "stephon_feeney37@gmail.com",
"isEmailVerified": true,
"loginType": "EMAIL_PASSWORD",
"role": "USER",
"updatedAt": "2023-08-11T17:38:49.121Z",
"username": "johnson_wisozk"
}
],
"updatedAt": "2023-08-11T17:38:50.921Z"
},
"message": "Group chat fetched successfully",
"statusCode": 200,
"success": true
}