Skip to main content
POST
Add participants

Overview

Method that adds new participants to the group. To add participants, use the phone number only. The @lid identifier is not supported and does not add the member.
On WhatsApp Official this route is not available and answers 422: Meta does not allow adding participants manually, and entry is only through the invitation link. Get the link with Get invitation link and share it with the contact.

Authorizations

Authorization
string
header
required

Secret Key generated in the Omni Z-API Security panel

Body

application/json
autoInvite
boolean
required

If the participant cannot be added, sends a private invitation with the group link. Ignored on WhatsApp Official

groupId
string
required

Group ID/Phone

Example:

"120363019502650977-group"

phones
string[]
required

List of the phone numbers of the participants to add

Response

Success.

value
boolean

Result of the operation