Un-acknowledge an inbound message

Clear the acknowledgement of an inbound message so a poll with acked=false returns it again, for example to reprocess it.

Removes the acknowledgement of one message. It shows up again in GET /v3/inbound/messages?acked=false — useful when your agent has to process it once more.

DELETE /v3/inbound/messages/{id}/ack

Path parameters

ParameterTypeRequiredDescription
iduuidRequiredThe inbound message ID.

Responses

StatusDescription
200{ id, acked_at: null }.
400validation_error — the id is not a uuid.
401Missing or invalid API key.
403insufficient_scope — only a full_access key may change acknowledgements.
404No such inbound message on your workspace.

Code examples

cURL
curl -X DELETE https://api.wemail.io/v3/inbound/messages/6f1c2a1e-7d3b-4b7e-9f0e-2a4c8d9b1e55/ack \
  -H "Authorization: Bearer afn_live_…"
# 200 {"id":"6f1c2a1e-7d3b-4b7e-9f0e-2a4c8d9b1e55","acked_at":null}
Node.js
await fetch("https://api.wemail.io/v3/inbound/messages/6f1c2a1e-7d3b-4b7e-9f0e-2a4c8d9b1e55/ack", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${process.env.WEMAIL_API_KEY}` },
});
Python
import os, requests

requests.delete(
    "https://api.wemail.io/v3/inbound/messages/6f1c2a1e-7d3b-4b7e-9f0e-2a4c8d9b1e55/ack",
    headers={"Authorization": f"Bearer {os.environ['WEMAIL_API_KEY']}"},
)