Acknowledge one inbound message
Acknowledge one inbound message after your agent has processed it, so acked=false polls no longer return it.
Marks a single message as processed. Idempotent — the first acknowledgement time is kept. Use the bulk call for many messages at once.
POST /v3/inbound/messages/{id}/ack
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | uuid | Required | The inbound message ID. |
Responses
| Status | Description |
|---|---|
200 | { id, acked_at }. |
400 | validation_error — the id is not a uuid. |
401 | Missing or invalid API key. |
403 | insufficient_scope — only a full_access key may acknowledge. |
404 | No such inbound message on your workspace. |
Code examples
cURL
curl -X POST 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":"2026-11-08T09:00:00.000Z"}Node.js
const res = await fetch("https://api.wemail.io/v3/inbound/messages/6f1c2a1e-7d3b-4b7e-9f0e-2a4c8d9b1e55/ack", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.WEMAIL_API_KEY}` },
});
console.log((await res.json()).acked_at);Python
import os, requests
r = requests.post(
"https://api.wemail.io/v3/inbound/messages/6f1c2a1e-7d3b-4b7e-9f0e-2a4c8d9b1e55/ack",
headers={"Authorization": f"Bearer {os.environ['WEMAIL_API_KEY']}"},
)
print(r.json()["acked_at"])