Grupos

Remove participants

POST
/groups/{gid}/participants/remove

Autorización

X-Api-Key: wpf_YOUR_KEY

The connection's API key (wpf_...), generated in the dashboard.

Authorization: Bearer wpf_YOUR_KEY

The same key in Authorization: Bearer wpf_... (what n8n, Make and HTTP libraries support out of the box).

Parámetros de ruta

gid*string

Group id (120363000000000000@g.us, or just the digits).

Parámetros de header

Idempotency-Key?string

Optional. Repeating the same value within 24 h, with the same API key, returns the first response without sending again. See Idempotency in the introduction.

Cuerpo de la petición

application/json
  1. body
participants*array<string>

Phone numbers or chatIds of the people. Each Brazilian phone number is checked on WhatsApp; one without an account rejects the whole request.

Elementos1 <= items <= 256

Cuerpo de la respuesta

The result, as WhatsApp returns it (may be null).

application/json
  1. response
data*WhatsApp format

As WhatsApp returns it (WhatsApp server format, passed through unchanged). Fields may vary; treat it as a generic object or list and read only what you need.

curl -X POST 'https://app.wappfy.io/api/v1/groups/120363000000000000@g.us/participants/remove' \  -H 'X-Api-Key: wpf_YOUR_KEY' \  -H 'Content-Type: application/json' \  -d '{  "participants": [    "5581999999999"  ]}'
{  "data": null}