TNEENWH icon

TNEENWH

Use TNEENWH API operations

Group Invite Code

AI-generated

Summary

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.

Links

Discussion