Skip to content

Contextual replies on Public API sends

Released: June 15, 2026

POST /v1/{phone_number_id}/messages outbound sends now accept an optional top-level context object:

"context": { "message_id": "wamid...." }

Pass the inbound wamid from your webhook payload (messages[0].id) — not a Kirim msg_* external id. Works for all outbound send types (text, media, template, interactive).

The reply appears as a quoted bubble on the recipient’s WhatsApp, same as Meta’s native contextual reply.

SendMessageParams includes optional context?: { message_id: string }. No new method — pass it on phone.messages.send(...).

@kirimdev/n8n-nodes-kirim v0.1.8 adds Reply To Message ID (Wamid) on every send operation (Text, Template, Image, Document, Video, Audio, Interactive). Wire it from the inbound trigger:

={{ $json.entry[0].changes[0].value.messages[0].id }}