Skip to main content
GET
Get the invite code for the group

Description

This endpoint returns the invite code of a group, which can be used to add new members.

URL Parameters

session
string
required
WhatsApp unique session ID
id
string
required
Group ID in format 120363XXXXX@g.us

Response

code
string
Group invite code

Status Codes

  • 200 - Code returned successfully
  • 400 - Invalid parameters
  • 401 - Unauthorized
  • 403 - No permission (admins only)
  • 404 - Group not found

Usage Example

Authorizations

apikey
string
header
required

Your Wappfy API key (get it at dash.wappfy.com.br)

Path Parameters

id
string
required

ID do Grupo

Response

200 - application/json

The response is of type string.