Get a WhatsApp group
GET
/groups/{id}
const url = 'https://app.whatsetter.com/api/v1/groups/example';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/example \ --header 'Authorization: Bearer <token>'One tracked group with its WhatsApp community, AI reply mode, admin
flag and sync state. id is the group’s id from /groups.
Requires scope groups:read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”The group
Media typeapplication/json
object
data
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
is_admin
Whether the connected WhatsApp number is an admin of the group.
boolean
ai_reply_mode
string | null
intent
What the group is for (drives the dashboard’s audience defaults).
string | null
community
WhatsApp Community the group belongs to, null for standalone groups.
object
id
string
name
string | null
role
announce = the community’s announcements group.
string | null
sync_status
State of the message-history import.
string | null
synced_at
string | null format: date-time
picture_url
Expiring WhatsApp CDN link to the group picture; null when absent or expired.
string | null
updated_at
string | null format: date-time
Example
{ "data": { "status": "active", "ai_reply_mode": "mentions_only", "intent": "community", "community": { "role": "announce" }, "sync_status": "idle" }}Missing, unknown or revoked API key
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Resource not found in this workspace
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}
