WhatsApp agentsMessages
Send message
Sends a text reply from the conversation's WhatsApp number as a person (sender_type: human). The AI agent is paused on the conversation so it doesn't reply over you -- resume it with Update conversation.
/v2/whatsapp/conversations/{id}/messages409.Authorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <api_key>, where<api_key>is a key from Account Settings → API keys in your dashboard.
Path parameters
idstring (uuid)requiredThe conversation's id.
Request body
application/json
textstringrequiredMessage text, 1-4096 characters.
Response
The sent message object.
Show all 13 fieldsHide fields
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.