List WhatsApp groups
GET
/groups
const url = 'https://app.whatsetter.com/api/v1/groups?limit=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://app.whatsetter.com/api/v1/groups?limit=25' \ --header 'Authorization: Bearer <token>'The workspace’s tracked WhatsApp groups (name, size, invite link,
AI state). Requires scope groups:read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
cursor
string
Opaque cursor from the previous page’s pagination.next_cursor.
Responses
Section titled “Responses”Page of groups
Media typeapplication/json
object
data
Array<object>
object
id
string
whatsapp_id
string | null
name
string | null
description
string | null
participants_count
integer
messages_count
integer
status
string | null
ai_enabled
boolean
invite_url
string | null
campaign_id
string | null
created_at
string format: date-time
pagination
object
has_more
boolean
next_cursor
string | null
Examplegenerated
{ "data": [ { "id": "example", "whatsapp_id": "example", "name": "example", "description": "example", "participants_count": 1, "messages_count": 1, "status": "example", "ai_enabled": true, "invite_url": "example", "campaign_id": "example", "created_at": "2026-04-15T12:00:00Z" } ], "pagination": { "has_more": true, "next_cursor": "example" }}Missing, unknown or revoked API key
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}
