API
Iniciar sesión
Documentación › Mensajes › Stato messaggio (Meta)
GET

Stato messaggio (Meta)

GEThttps://app.sendapp.ai/api/whatsapp-meta/message-status
Recupera lo stato di consegna di un messaggio WhatsApp Meta a partire dal suo wamid (l'id restituito dall'invio). Ritorna lo stato corrente: sent, delivered, read o failed.
Gli stati sono disponibili per 7 giorni dall'invio. Il tracciamento richiede che i webhook di stato siano attivi sul tuo numero.
Parámetros
apikey obligatorio
Tu API Key.
wamid obligatorio
L'id del messaggio (wamid) restituito dall'endpoint di invio.
token opcional
Token dell'account (consigliato): restringe la ricerca a uno specifico account.
Solicitud
curl 'https://app.sendapp.ai/api/whatsapp-meta/message-status?apikey=YOUR_API_KEY&wamid=wamid.HBgLMzkxMjM0NTY3ODkwFQIAERgS'
<?php
$ch = curl_init('https://app.sendapp.ai/api/whatsapp-meta/message-status?' . http_build_query([
    'apikey' => 'YOUR_API_KEY',
    'wamid'  => 'wamid.HBgLMzkxMjM0NTY3ODkwFQIAERgS',
]));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);
const params = new URLSearchParams({
  apikey: 'YOUR_API_KEY',
  wamid: 'wamid.HBgLMzkxMjM0NTY3ODkwFQIAERgS'
});
const res = await fetch('https://app.sendapp.ai/api/whatsapp-meta/message-status?' + params);
console.log(await res.json());
Respuesta (200 OK)
{
  "status": "success",
  "wamid": "wamid.HBgLMzkxMjM0NTY3ODkwFQIAERgS",
  "message_status": "delivered",
  "recipient": "391234567890",
  "timestamp": "2026-07-13 10:00:00",
  "error_message": null
}
Error
{
  "status": "error",
  "message": "Message not found or status no longer available (statuses are retained for 7 days)."
}