Durum

Delete status

DELETE
/status/{statusId}

Deletes a status this number posted. The body is optional: send the same contacts used when posting if it did not go to everyone.

Yetkilendirme

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

Yol parametreleri

statusId*string

The status_id returned when posting (escape @ as %40 if your HTTP client does not do it).

Uzunluk1 <= length <= 512

Başlık parametreleri

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.

İstek gövdesi

application/json
  1. body
contacts?array<string>

The same contacts list used when posting (its response includes it). Without it, WhatsApp deletes for all contacts, which is enough when the status went to everyone.

Öğeler1 <= items <= 256

Yanıt gövdesi

Status deleted.

application/json
  1. response
data*
curl -X DELETE 'https://app.wappfy.io/api/v1/status/true_status@broadcast_3EB0C767D26A1D5E_5581988888888@c.us' \  -H 'X-Api-Key: wpf_YOUR_KEY' \  -H 'Content-Type: application/json' \  -d '{  "contacts": [    "5581999999999"  ]}'
{  "data": {    "status_id": "string",    "deleted": true  }}