Skip to main content
POST
Create a new group

Description

This endpoint allows you to create a new group on WhatsApp with a name and list of participants specified.

URL Parameters

session
string
required
WhatsApp unique session ID

Body

Body Parameters

Response

id
string
ID of the group created in format 120363XXXXX@g.us

Status Codes

  • 200 - Group created successfully
  • 400 - Invalid parameters
  • 401 - Unauthorized

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
name
string
required

Group name

Example:

"My Group"

participants
object[]
required

Array of group participants

Response

201 - undefined