Titan gives you full programmatic control over WhatsApp groups. You can create groups, update their metadata, manage participants, promote admins, generate invite links, and listen for group events — all without touching the WhatsApp app. Every endpoint is scoped to aDocumentation Index
Fetch the complete documentation index at: https://docs.usetitan.app/llms.txt
Use this file to discover all available pages before exploring further.
{session}, which is the name of the WhatsApp session performing the operation.
To send a message to a group, use the send messages endpoint with the group’s JID as the
chatId (e.g. [email protected]).Group lifecycle
Create a group
The group’s display name (subject).
Array of JIDs to add as initial members (e.g.
["[email protected]"]). The session account is added as the group creator automatically.List groups
Retrieve all groups the session is a member of.Get group info
Fetch full details for a single group, including its participants.id, name, description, createdAt, ownerLid, and a participants array.
Leave a group
Remove the session account from the group.Delete a group
Delete a group you own. Only the group creator can call this endpoint.Update group settings
Update the group name
Update the description
Set a profile picture
Pass an image URL or base64-encoded JPEG.- URL
- Base64
Participant management
List participants
phoneNumber— participant’s phone number (when available)lid— Linked Device IDisAdmin— whether the participant is an adminisSuperAdmin— whether the participant is the group creator
Add participants
JIDs to add (e.g.
["[email protected]"]). Up to 256 per request.Remove participants
participants array in the request body. Only group admins can remove participants.
Promote to admin
Demote from admin
Invite links
Get the invite link
{"code": "ABcDeFgHiJk"}. The full WhatsApp invite URL is https://chat.whatsapp.com/{code}.
Revoke the invite link
Preview a group before joining
Check what group an invite link points to before joining.GroupInviteInfo object with the group’s subject, member count, and participant list.
Join a group via invite link
The invite code from the WhatsApp link (not the full URL — just the code after
chat.whatsapp.com/).Webhook events
Titan emits two group-related webhook events:group.update
Fires when a group’s settings change — such as a new subject, description, or when the session joins a group via invite.
Key fields in the payload:
id— the group JIDnewSubject— present when the group name changednewDescription— present when the description changedaction— set to"joined"when the session joined via invite link
group.participant
Fires when membership changes in any group the session belongs to.
Key fields in the payload:
id— the group JIDjoined— array of JIDs who joinedleft— array of JIDs who leftpromoted— array of JIDs promoted to admindemoted— array of JIDs demoted from admin