Actions85
- Instancia Actions
- Enviar Mensagem Actions
- Operações Com Mensagem Actions
- Grupo Actions
- Chamada Actions
- Chat Actions
- Comunidade Actions
- Perfil Actions
- Etiqueta Actions
- Newsletter Actions
- Usuário Actions
Grupo → Obter Link De Convite
AI-generatedSummary
Retrieve the WhatsApp group invite link for a specified group, optionally resetting it to generate a new link that invalidates the previous one.
Inputs
- JID Do Grupo (required) — The JID of the WhatsApp group (e.g., 120363XXXXXXXXXX@g.us) whose invite link you want to obtain.
- Resetar Link — Boolean flag to indicate whether to generate a new invite link, which invalidates the current one (default is false).
Output shape
a single record containing the current or newly generated invite link for the specified group
If 'Resetar Link' is true, the returned link will be a new invite link invalidating any previous ones. Otherwise, it returns the existing invite link. The output is a single object with the invite link details.
Examples
Example 1: Fetch the current invite link of a WhatsApp group without changing it
Set 'JID Do Grupo' to the target group's JID and leave 'Resetar Link' as false or unset.
Example 2: Generate a new invite link for a WhatsApp group
Set 'JID Do Grupo' to the target group's JID and enable 'Resetar Link' to true.