WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Group → Accept Invite

AI-generated

Summary

Accept a group invitation using the provided invite code for a given WA-AKG session.

Inputs

  • sessionId (required) — The Session ID to use for this request.
  • inviteCode (required) — The invite code of the group (e.g., 'J7A9xxxxx').

Output shape

The raw JSON response from the WA-AKG API for the accept‑invite endpoint, typically indicating success.

No additional fields are required; the operation does not need a group JID.

Examples

Example 1: A workflow author has a WA‑AKG session (sessionId: 'my_session_1') and received an invite code 'J7A9xxxxx' from another user. They add the WA‑AKG node, set Resource = Group, Operation = Accept Invite, provide Session ID = {{$json.sessionId}} and Invite Code = {{$json.inviteCode}}. When the node runs, it POSTs /api/groups/<sessionId>/invite/accept with { code: 'J7A9xxxxx' } and returns the API’s response, confirming the bot has joined the group.

Resource: Group, Operation: Accept Invite, Session ID: my_session_1, Invite Code: J7A9xxxxx

Links

Discussion