hermosodocs

read_whatsapp_inbox

Read and answer WhatsApp messages

Area: WHATSAPP BUSINESS · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

The WhatsApp messages people sent to the brand’s WhatsApp Business numbers, and its answers to them. With no argument: every conversation from the last 48 hours, newest first, each with who wrote, the last thing they said, whether the brand has answered, and whether the 24-hour reply window is still open. With conversationId: that whole conversation, oldest first, with the delivery status of each reply. With messageId (a wamid. id a send or broadcast row returned): its latest delivery report (sent, delivered, read, or failed with WhatsApp’s reason); never call a message delivered unless this says so. WHY ONLY 48 HOURS: WhatsApp has no message history an app can read, so Hermoso keeps what arrives for 48 hours (long enough to answer inside the window) and then deletes it; older messages are in the WhatsApp Business app or WhatsApp Manager. TO REPLY: pass conversationId and reply. It goes out ONLY while the window is open (the person wrote in the last 24 hours) and is refused for free otherwise, because WhatsApp then accepts only an approved template (send_whatsapp_message with template). A reply reaches a real phone: show the user the exact words and get a yes first. Free, 0 credits. Needs WhatsApp connected.

Parameters

ParameterTypeDescription
conversationIdstringone conversation’s id from this tool or from list_inbox (the part after "whatsapp:"): the phone number id and the person, joined by |
messageIdstringa sent message id (wamid.…): its delivery report
phoneNumberIdstringonly the conversations on this number (from list_whatsapp_accounts)
replystringsend this text as the reply to conversationId. Only while the 24-hour window is open; the user must have approved the exact words
interactiveobjectreply with buttons, a list, a link button, a location request or a form instead of text: same shape as send_whatsapp_message interactive
mediaobjectreply with an image, video, audio or document instead of text: same shape as send_whatsapp_message media
limitnumberhow many conversations (1–200, default 50)
sincestringlisting only: just the conversations with something new since your last call (the sinceCursor it gave). Polling? whats_new covers every channel in one call

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/read_whatsapp_inbox.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"read_whatsapp_inbox","arguments":{}}}

CLI

hermoso call read_whatsapp_inbox --json '{}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json