Get Group
Get Group Info
Get Group
GET
https://api.wapim.io/api/v1/whatsapp/group/{GROUP_ID}
Headers
Name
Type
Description
Token
String
YOUR_WAPIM_TOKEN
{
"GroupID": "90****-1566835874",
"OwnerPhoneNumber": "****",
"Name": "Aesthetic Q's Doctors 💉",
"NameSetAt": "2019-08-26T16:11:14Z",
"NameSetBy": "",
"Topic": "",
"TopicID": "",
"TopicSetAt": "0001-01-01T00:00:00Z",
"TopicSetBy": "",
"IsLocked": false,
"IsAnnounce": false,
"AnnounceVersionID": "",
"GroupCreated": "2019-08-26T16:11:14Z",
"ParticipantVersionID": "1671444830270394",
"Participants": [
{
"PhoneNumber": "***",
"IsAdmin": true,
"IsSuperAdmin": true
},
{
"PhoneNumber": "***",
"IsAdmin": false,
"IsSuperAdmin": false
}
]
}
```
{
"status": false,
"code": 400,
"message": "Bad Request",
"error": "Bad GroupID!"
}
curl
-X GET https://api.wapim.io/api/v1/whatsapp/group/{GROUP_ID}
-H 'Token: YOUR_WAPIM_TOKEN'
const axios = require('axios');
const groupID = "120726216-165062626"
axios
.post(
'https://api.wapim.io/api/v1/whatsapp/group/' + groupID,
{
headers: {
token: 'YOUR_WAPIM_TOKEN',
}
}
)
.then(response => console.log(response.data))
.catch(error => console.log(error.response.data))java
Last updated