Skip to main content

Per-send QUICK_REPLY payload in templateButtonParams (POST /v1/inbox/conversations)

When starting a WhatsApp conversation with a template through POST /v1/inbox/conversations, templateButtonParams accepts only url, copy_code and flow. There’s no way to set the per-send payload of a QUICK_REPLY button, which Meta’s Cloud API supports (a button component with sub_type quick_reply and a payload parameter) and which Zernio already returns on the tap as metadata.buttonPayload.

Use case: we send an order confirmation template with a Confirm order quick reply button and want the tap to carry our pending order’s id. Today that is only possible through POST /v1/inbox/conversations/{conversationId}/messages, which needs an existing conversation (and currently drops the header variable, already reported in the support chat).

Proposal: accept subType quick_reply in templateButtonParams and send the value as that button’s payload (for example index 0, subType quick_reply, value order-123).

Log in to comment and vote

No comments yet

Be the first to share your thoughts.