Actions54
- Auth Signup Send OTP
- Auth Signup Verify
- Auth Logout
- Health
- Me
- Profile
- Channel Secrets
- Rotate Swagger Portal
- Sessions List
- Session Create
- Session Update
- Session Delete
- Session Disconnect
- Get Channel Secret
- Rotate Channel Secret
- Session Status
- Session Details
- Session QR
- Refresh Session QR
- Session Incoming
- Session Events
- Session Calls
- Download Inbound Media
- Set Webhook
- Send Raw Message
- Send Text
- Send Media
- Send List
- Send Chat State
- Typing Indicator On
- Typing Indicator Off
- Group Create
- Group Get
- Group Add Participants
- Group Remove Participants
- Group Promote Participants
- Group Demote Participants
- Group Set Subject
- Group Set Description
- Group Invite Code
- Group Revoke Invite
- Group Leave
- Group Set Add Members Admins Only
- Group Set Messages Admins Only
- Group Set Info Admins Only
- Group Set Picture
- Group Delete Picture
- Group Membership Requests
- Group Membership Approve
- Group Membership Reject
- V1 Sessions List
- V1 Send Message
- V1 Send List
- V1 Send Chat State
Group Invite Code
AI-generatedSummary
Retrieve the invite code for a specific WhatsApp group using its Group JID.
Inputs
- Group JID (required) — The unique identifier of the WhatsApp group for which to retrieve the invite code.
- Session ID Override — Optional override for the session ID to use instead of the default credential session ID.
- Channel Secret Override — Optional override for the channel secret to use instead of the default credential channel secret.
Output shape
a single JSON object containing the invite code information for the specified group.
Returns the invite code data as JSON from the TNEENWH API session.groups.getInviteCode method. The Group JID is required to specify which group to query.
Examples
Example 1: Retrieve invite code for WhatsApp group
Specify the Group JID and optionally override session ID or channel secret if needed to obtain the group's invite code.
