Kapso API icon

Kapso API

Send WhatsApp messages, templates, flows, media, contacts, broadcasts, and inbox records through Kapso. Choose a resource, then follow each operation setup hints.

Message → Get Message

AI-generated

Summary

Retrieve a specific WhatsApp message by its unique Message ID (WAMID) associated with a connected Kapso WhatsApp phone number.

Inputs

  • Phone Number Name or ID — Select the connected Kapso WhatsApp number for the operation from your Kapso project, or specify its ID using an expression.
  • Message ID (required) — The unique WhatsApp message ID (WAMID) of the message to retrieve. For inbound messages, use message.id from the Kapso Trigger payload.
  • Message List Options — Optional parameters to customize the response fields and filters when getting the message, including cursor-based paging controls, conversation ID filter, custom response fields, direction, status, and time range.

Output shape

a single message object containing the details of the specified WhatsApp message

If set, Message List Options override default fields and filters to tailor the returned message data. The operation requires a valid Phone Number ID and the exact Message ID to fetch the message.

Examples

Example 1: Retrieve a message by WAMID for a specific Kapso phone number

Set 'Phone Number Name or ID' to your Kapso WhatsApp number, enter the 'Message ID' to fetch, optionally set any Message List Options for filtering or custom fields, then execute the node.

Links

Discussion