WAPIM Cloud API Docs
  • Quick Start
  • Device
    • Get QR
    • Get Device Info
  • Events & Notifications
    • Websocket and Webhook
      • Websocket (Realtime)
      • Webhook
  • Messages
    • Send Messages
      • Text Message
      • Image Message
      • Video Message
      • Document Message
      • Location Message
      • Contact Message
    • Delete Message (Everyone)
    • Forward Message
  • Misc
    • Get WhatsApp Profile Names
    • Get Contacts
    • Get Stories
    • Get Profile Picture
    • Check WhatsApp Number
    • Get Blocked Numbers
    • Be Online
    • Be Offline
  • Chats
    • Get Chat List
    • Get Messages Of Chat
    • Archive Chat
    • Set Profile Name
    • Delete Chat
    • Pin Chat
    • Unpin Chat
    • Clear Chat
    • Mark As Read Chat
    • Mark As Unread Chat
    • Mute Chat
    • Unmute Chat
    • Unarchive Chat
  • Groups
    • Get Groups
    • Get Group
Powered by GitBook
On this page
  1. Groups

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
PreviousGet Groups

Last updated 2 years ago