Skip to main content

✏️ Update Group Information

Update WhatsApp group settings including name, description, profile picture, and permissions using the Whatspie API.

⚙️ Group Management

Modify group settings, update information, change permissions, and customize your WhatsApp group appearance and behavior.

🌐 Endpoint

PUT https://api.whatspie.com/groups/{group_id}

Where {group_id} is the numeric ID of the WhatsApp group.

🔐 Authentication

Bearer token required in the Authorization header.

📋 Request Parameters

ParameterTypeRequiredDescription
subjectstringGroup name (max 25 characters)
descriptionstringGroup description (max 500 characters)
profile_urlstringURL to group profile picture
permissionsobjectGroup permissions settings
permissions.allow_sendbooleanAllow members to send messages
permissions.only_admins_can_sendbooleanOnly admins can send messages
permissions.only_admins_can_editbooleanOnly admins can edit group info
disappearing_messagesobjectDisappearing messages settings
disappearing_messages.enabledbooleanEnable/disable disappearing messages
disappearing_messages.durationstringDuration: "24h", "7d", "90d"
Admin Required

You must be a group administrator to update group information. Some settings may require creator privileges.

🚀 Request Examples

Update Group Name and Description

curl -L -X PUT 'https://api.whatspie.com/groups/1' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
--data-raw '{
"subject": "Keluarga Bahagia",
"description": "Ini deskripsi keluarga yang bahagia dan harmonis"
}'

Update Group with Profile Picture

curl -L -X PUT 'https://api.whatspie.com/groups/1' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
--data-raw '{
"subject": "Keluarga Bahagia",
"description": "Ini deskripsi keluarga yang bahagia dan harmonis",
"profile_url": "https://wonder-day.com/wp-content/uploads/2020/10/wonder-day-among-us-21.png"
}'

Update Group Permissions

curl -L -X PUT 'https://api.whatspie.com/groups/1' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
--data-raw '{
"subject": "Keluarga Bahagia",
"description": "Ini deskripsi",
"profile_url": "https://wonder-day.com/wp-content/uploads/2020/10/wonder-day-among-us-21.png",
"permissions": {
"allow_send": true,
"only_admins_can_send": false,
"only_admins_can_edit": true
}
}'

Enable Disappearing Messages

curl -L -X PUT 'https://api.whatspie.com/groups/1' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
--data-raw '{
"subject": "Private Discussion",
"disappearing_messages": {
"enabled": true,
"duration": "24h"
}
}'

Restrict Group to Admin-Only Messages

curl -L -X PUT 'https://api.whatspie.com/groups/1' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
--data-raw '{
"subject": "Announcements Only",
"description": "Official announcements - Admin messages only",
"permissions": {
"allow_send": true,
"only_admins_can_send": true,
"only_admins_can_edit": true
}
}'

Update Only Description

curl -L -X PUT 'https://api.whatspie.com/groups/1' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
--data-raw '{
"description": "Updated group description with new information and guidelines"
}'