List Groups
curl --request GET \
--url https://api.example.com/api/v1/groupsimport requests
url = "https://api.example.com/api/v1/groups"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/groups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"groups": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"owner": "<string>",
"participants_count": 0
}
],
"total": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}groups
List Groups
List all WhatsApp groups for a session.
GET
/
api
/
v1
/
groups
List Groups
curl --request GET \
--url https://api.example.com/api/v1/groupsimport requests
url = "https://api.example.com/api/v1/groups"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/groups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"groups": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"owner": "<string>",
"participants_count": 0
}
],
"total": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Headers
Query Parameters
WhatsApp session name
Required range:
1 <= x <= 500Required range:
x >= 0