Statut

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.

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

statusId*string

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

Longueur1 <= length <= 512

Paramètres d'en-tête

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.

Corps de la requête

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.

Éléments1 <= items <= 256

Corps de la réponse

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  }}