The groups API covers the full lifecycle of WhatsApp group management. You can create groups, update their name and description, manage participants and admin roles, generate and revoke invite links, and join groups via invite codes — all through the session that owns or participates in the group.Documentation Index
Fetch the complete documentation index at: https://docs.usetitan.app/llms.txt
Use this file to discover all available pages before exploring further.
Group object
Group JID (e.g.
[email protected]).Group name (subject).
Group description text.
LID of the group owner or creator.
Unix timestamp when the group was created.
List of group members.
Create a group
POST /api/sessions/{session}/groups
Creates a new WhatsApp group with the given participants. The session account becomes the super admin.
Session name.
Session name (also required in the request body).
Group name (subject). Maximum 25 characters.
JIDs of the initial group members. Maximum 256 participants per action.
List groups
GET /api/sessions/{session}/groups
Returns all groups the session account is a member of.
Session name.
Get a group
GET /api/sessions/{session}/groups/{groupId}
Returns full group info including participants.
Session name.
Group JID (URL-encoded), e.g.
120363012345678901%40g.us.Update group subject
PUT /api/sessions/{session}/groups/{groupId}/subject
Updates the group name. Requires admin privileges.
Session name.
Group JID (URL-encoded).
Session name (required in body).
New group name.
Update group description
PUT /api/sessions/{session}/groups/{groupId}/description
Updates the group description. Requires admin privileges.
Session name.
Group JID (URL-encoded).
Session name (required in body).
New group description.
Set group profile picture
PUT /api/sessions/{session}/groups/{groupId}/picture
Sets the group profile picture. Requires admin privileges.
Session name.
Group JID (URL-encoded).
HTTPS URL of the new profile picture. Required if
base64 is not provided.Base64-encoded image data. Required if
url is not provided.Leave a group
POST /api/sessions/{session}/groups/{groupId}/leave
Leaves the group. The session account is removed from the participant list.
Session name.
Group JID (URL-encoded).
Delete a group
DELETE /api/sessions/{session}/groups/{groupId}
Deletes the group. Only the super admin can delete a group.
Session name.
Group JID (URL-encoded).
List participants
GET /api/sessions/{session}/groups/{groupId}/participants
Returns the current participant list for the group.
Session name.
Group JID (URL-encoded).
Add participants
POST /api/sessions/{session}/groups/{groupId}/participants
Adds one or more participants to the group. Requires admin privileges. Maximum 256 participants per request.
Session name.
Group JID (URL-encoded).
Session name (required in body).
JIDs of the participants to add.
Remove participants
DELETE /api/sessions/{session}/groups/{groupId}/participants
Removes one or more participants from the group. Requires admin privileges.
Session name.
Group JID (URL-encoded).
Session name (required in body).
JIDs of the participants to remove.
Promote participants to admin
POST /api/sessions/{session}/groups/{groupId}/participants/promote
Promotes participants to group admin. Only a super admin can promote others.
Session name.
Group JID (URL-encoded).
Session name (required in body).
JIDs of the participants to promote.
Demote participants from admin
POST /api/sessions/{session}/groups/{groupId}/participants/demote
Demotes admin participants back to regular members. Only a super admin can demote admins.
Session name.
Group JID (URL-encoded).
Session name (required in body).
JIDs of the admins to demote.
Get invite link
GET /api/sessions/{session}/groups/{groupId}/invite
Returns the current invite link code for the group.
Session name.
Group JID (URL-encoded).
Revoke invite link
DELETE /api/sessions/{session}/groups/{groupId}/invite
Revokes the current invite link and generates a new one. Anyone with the old link can no longer join the group.
Session name.
Group JID (URL-encoded).
Join a group via invite code
POST /api/sessions/{session}/groups/join
Joins a group using an invite code. The invite code is the last segment of a WhatsApp invite URL (e.g. from https://chat.whatsapp.com/ABcDeFgHiJkLmN, the code is ABcDeFgHiJkLmN).
Session name.
Group invite code.
Preview a group invite
GET /api/sessions/{session}/groups/join
Returns preview information about a group invite without joining. Use this to show group details to the user before they join.
Session name.
Group invite code to preview.
Group JID.
Group name.
Current number of members.
Unix timestamp when the group was created.
LID of the user who created the invite.
Current member list.