Skip to main content
POST
Join group via code

Description

This endpoint allows joining a group using an invite code.

URL Parameters

session
string
required
WhatsApp unique session ID

Body

Body Parameters

Response

Status Codes

  • 200 - Joined successfully
  • 400 - Invalid code
  • 401 - Unauthorized
  • 404 - Group not found

Usage Example

Authorizations

apikey
string
header
required

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

Path Parameters

session
string
required

Session name (instanceName)

Body

application/json
code
string
required

Group code (123) or url (https://chat.whatsapp.com/123)

Example:

"https://chat.whatsapp.com/1234567890abcdef"

Response

200 - application/json
id
string
required

ID do Grupo

Example:

"123@g.us"