WhatsApp agentsMessages
Messages
Read a conversation's messages and reply to the customer.
Messages belong to a conversation. They're recorded as they happen: customer messages, AI agent replies, template messages, and replies sent by your team or through this API.
WhatsApp only allows free-form replies within 24 hours of the customer's last message. Messages older than your plan's history window are not returned.
Endpoints
The message object
idstring (uuid)Message id.
conversation_idstring (uuid)Conversation the message belongs to.
tenant_idstring (uuid)The workspace that owns the message.
wamidstringnullableWhatsApp's own message id.
directionstringinbound(from the customer) oroutbound.Allowed:inboundoutboundsender_typestringcustomer,agent(the AI) orhuman(a person on your team or the API).Allowed:customeragenthumanmessage_typestringe.g.
text,template,image.bodystringnullableMessage text.
template_namestringnullableTemplate name, for template messages.
statusstringreceived,pending,sent,delivered,readorfailed.errorstringnullableWhy delivery failed, if it did.
created_atstring (date-time)nullableWhen the message was sent or received.
updated_atstring (date-time)nullableWhen its status last changed.