Grupos

Join group via invite

POST
/groups/join

The number joins the group via the invite code or link. If the group requires approval, the number stays in the queue until an admin approves it.

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 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
code*string

The invite code or the full link (https://chat.whatsapp.com/<code>).

Longitud1 <= length <= 512

Cuerpo de la respuesta

Joined (or requested to join).

application/json
  1. response
data*
curl -X POST 'https://app.wappfy.io/api/v1/groups/join' \  -H 'X-Api-Key: wpf_YOUR_KEY' \  -H 'Content-Type: application/json' \  -d '{  "code": "https://chat.whatsapp.com/AbCdEf123456"}'
{  "data": {    "group_id": "string"  }}