Groupes

Join requests

GET
/groups/{gid}/join-requests

People who asked to join and are waiting for an admin's approval (with membership_approval turned on). This number must be an admin.

Autorisation

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).

Paramètres de chemin

gid*string

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

Corps de la réponse

The requests.

application/json
  1. response
data*array<>
curl -X GET 'https://app.wappfy.io/api/v1/groups/120363000000000000@g.us/join-requests' \  -H 'X-Api-Key: wpf_YOUR_KEY'
{  "data": [    {      "chat_id": "string",      "phone": "string",      "method": "string",      "requested_at": 0    }  ]}