Wawp WhatsApp API
HomePricing
HomePricing
WhatsApp
API Status
  1. 👥 Groups
  • ⛓️‍💥 Session - instances
    • Wawp’s Session Lifecycle
    • Create new Session
      POST
    • Start Session
      POST
    • Stop Session
      POST
    • Restart Session
      POST
    • Delete Session
      DELETE
    • Logout Session
      POST
    • Get Session info
      GET
    • About WhatsApp Data
      GET
  • 📲 Authentication - Login
    • About login authentication
    • GET QR raw
      GET
    • GET QR image
      GET
    • Request code
      POST
    • Get a live screenshot
      GET
  • 📤 Send Messages
    • Send Messages
    • Send Text
    • Send Image
    • Send PDF
    • Send Voice
    • Send video
    • Send Link Preview
    • Send Location
    • Send poll
    • Send Contact Vcard
    • Mark message(s) as seen
    • Start typing
    • Stop typing
    • Reaction
    • Star/unstar a message
  • ℹ️ Whatsapp Profile info
    • WhatsApp Profile Info
    • Get profile
    • Set display‑name
    • Set “About” status
    • Upload Whatsapp picture
    • Delete profile picture
  • 📢 Channels Control
    • Get list of know channels
    • Create a new channel.
    • Get channel info
    • Delete channel
    • Preview channel messages
    • Follow a channel
    • Unfollow a channel
    • Mute a channel
    • Unmute a channel
    • Search channels — by view
    • Search channels — by text
    • Search metadata — views / countries / categories
  • 🟢 Presence information
    • Presence API
    • Set session presence
    • Get the presence for the chat id
  • 🔊 24 Hour Status
    • Text status
    • Image status
    • Voice status
    • Video status
    • Delete status
  • 💬 Chats
    • Chats list & overview
    • chats overview
    • chats overview
    • Delete the chat
    • Get chat picture
    • Get messages in the chat.
    • Clear all messages from the chat.
    • Mark unread messages as read.
    • Get message by id
    • Delete a message
    • Edit a text message
    • Pin a message
    • Unpin a message
    • Archive the chat
    • Unarchive the chat
    • Mark chat as unread
  • 🪪 Contacts
    • Get all contacts
    • Get basic contact info
    • Check phone is on WhatsApp
    • Get contact “about”
    • Get contact profile picture (24h cache; add refresh=true to bust)
    • Block contact
    • Unblock contact
    • Create/Update contact on phone address book
    • Get all known lids to phone number mapping
    • Get the number of known lids
  • 👥 Groups
    • Get All List groups
      GET
    • Create a group
      POST
    • Join info (by code or URL)
      GET
    • Join group
      POST
    • Get the number of groups
      GET
    • Refresh groups from the server
      POST
    • Get the group
      GET
    • Delete the group
      DELETE
    • Leave the group
      POST
    • Get group picture
      GET
    • Set group picture
      PUT
    • Delete group picture
      DELETE
    • Updates the group description
      PUT
    • Updates the group subject
      PUT
    • Updates the group "info admin only" settings
      GET
    • Update settings - who can send messages
      PUT
    • Get settings - who can send messages
      GET
    • Set messages admin only
      PUT
    • Get the invite code for the group
      GET
    • Invalidates the current group invite code and generates a new one
      POST
    • Get participants
      GET
    • Add participants
      POST
    • Remove participants
      POST
    • Promote participants to admin users
      POST
    • Demotes participants to regular users
      POST
  • 🏷️ Labels
    • Labels API
    • GET all labels
    • Create label
    • Update label
    • DELETE label
    • labels for a chat
    • Save labels for a chat
    • Chats with a label
  • 🪝 Webhooks
    • Wawp’s Webhook API
    • session.status
    • message
    • message.reaction
    • message.any
    • message.ack
    • message.revoked
    • message.edited
    • group.v2.join
    • group.v2.leave
    • group.v2.update
    • group.v2.participants
    • presence.update
    • poll.vote.failed
    • chat.archive
    • call.received
    • call.accepted
    • call.rejected
    • label.upsert
    • label.deleted
    • label.chat.added
    • label.chat.deleted
    • event.response
    • event.response.failed
    • engine.event
  1. 👥 Groups

Get All List groups

Testing
GET
https://wawp.net/wp-json/awp/v1/groups

Request

Query Params

Request Code 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 'https://wawp.net/wp-json/awp/v1/groups?instance_id=YOUR_INSTANCE&access_token=YOUR_TOKEN&limit=50&sortOrder=DESC'

Responses

🟢200Success
application/json
Body

Example
[

  {

    "groupMetadata": {

      "id": {

        "server": "g.us",

        "user": "120000000000001",

        "_serialized": "120000000000001@g.us"

      },

      "creation": 1715436372,

      "owner": {

        "server": "lid",

        "user": "230000000001",

        "_serialized": "230000000001@lid"

      },

      "subject": "Digital strategy for startup",

      "subjectTime": 1715436372,

      "descTime": 0,

      "restrict": false,

      "announce": false,

      "participants": [

        {

          "id": {

            "server": "c.us",

            "user": "200000000001",

            "_serialized": "200000000001@c.us"

          },

          "isAdmin": false,

          "isSuperAdmin": false

        },

        {

          "id": {

            "server": "c.us",

            "user": "200000000002",

            "_serialized": "200000000002@c.us"

          },

          "isAdmin": true,

          "isSuperAdmin": true

        },

        {

          "id": {

            "server": "c.us",

            "user": "200000000003",

            "_serialized": "200000000003@c.us"

          },

          "isAdmin": false,

          "isSuperAdmin": false

        }

      ]

    },

    "id": {

      "server": "g.us",

      "user": "120000000000001",

      "_serialized": "120000000000001@g.us"

    },

    "name": "Digital strategy for startup",

    "isGroup": true,

    "isReadOnly": false,

    "unreadCount": 0,

    "pinned": false,

    "isMuted": false,

    "muteExpiration": 0

  },

  {

    "groupMetadata": {

      "id": {

        "server": "g.us",

        "user": "120000000000002",

        "_serialized": "120000000000002@g.us"

      },

      "creation": 1746897821,

      "owner": {

        "server": "lid",

        "user": "210000000002",

        "_serialized": "210000000002@lid"

      },

      "subject": "Engineers Group",

      "subjectTime": 1746897821,

      "descTime": 0,

      "restrict": false,

      "announce": false,

      "participants": [

        {

          "id": {

            "server": "c.us",

            "user": "200000000010",

            "_serialized": "200000000010@c.us"

          },

          "isAdmin": false,

          "isSuperAdmin": false

        },

        {

          "id": {

            "server": "c.us",

            "user": "200000000011",

            "_serialized": "200000000011@c.us"

          },

          "isAdmin": true,

          "isSuperAdmin": true

        },

        {

          "id": {

            "server": "c.us",

            "user": "200000000012",

            "_serialized": "200000000012@c.us"

          },

          "isAdmin": false,

          "isSuperAdmin": false

        }

      ]

    },

    "id": {

      "server": "g.us",

      "user": "120000000000002",

      "_serialized": "120000000000002@g.us"

    },

    "name": "Engineers Group",

    "isGroup": true,

    "isReadOnly": false,

    "unreadCount": 0,

    "pinned": false,

    "isMuted": false,

    "muteExpiration": 0

  }

]

Modified at 2025-09-29 01:55:35
Previous
Get the number of known lids
Next
Create a group
Built with