Gruppen

Leave group

POST
/groups/{gid}/leave

Autorisierung

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

Pfadparameter

gid*string

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

Header-Parameter

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.

Antwort-Body

The number left the group.

application/json
  1. response
data*
curl -X POST 'https://app.wappfy.io/api/v1/groups/120363000000000000@g.us/leave' \  -H 'X-Api-Key: wpf_YOUR_KEY'
{  "data": {    "id": "string",    "left": true  }}