GET
Consultar un mensaje

Autorizaciones

Authorization
string
header
requerido

Tu clave de API. La creas en Ajustes › API y webhooks de app.eltick.com. Mándala en el encabezado Authorization: Bearer etk_live_….

Parámetros de ruta

id
string<uuid>
requerido

Id del mensaje (el id que devolvió POST /messages).

Respuesta

El mensaje.

id
string<uuid>
wamid
string | null
direction
enum<string>

out: lo mandaste tú. in: lo mandó el cliente.

Opciones disponibles:
in,
out
status
enum<string>

pending: Meta lo aceptó. sent: salió. delivered: llegó al teléfono. read: lo leyó. failed: no se pudo entregar (mira errorCode). received: es un mensaje que te mandó el cliente.

Opciones disponibles:
pending,
sent,
delivered,
read,
failed,
received
type
string

text, template, image, document, audio, video, interactive, etc.

body
string | null

Texto del mensaje (en plantillas, con las variables ya reemplazadas).

errorCode
integer | null

Código de error de Meta si falló (por ejemplo 131026: el número no tiene WhatsApp).

errorTitle
string | null
createdAt
string<date-time>
sentAt
string<date-time> | null
deliveredAt
string<date-time> | null
readAt
string<date-time> | null