Get message by ID
Retrieve a single WhatsApp message by its message ID.
Returns the message with all its fields, including Kapso extensions like status, direction, and processing state.
Authorizations
Project API key for authentication. This is the recommended authentication method.
Get your API key from the Kapso dashboard under Integrations > API keys.
Path Parameters
WhatsApp Business Phone Number ID
WhatsApp message ID
Query Parameters
Filter response fields. Use kapso() to include Kapso-specific extensions.
Example: fields=kapso(direction,status,processing_status)
Response
Successfully retrieved message
Message ID
"wamid.HBgNMTU1NTE0OTU5Nzg1FQIAERgSMDhGRjdBMDEyOTcxQzFFQkFBAA=="
Message timestamp (Unix timestamp as string)
"1705328096"
Type of WhatsApp message
text, image, video, audio, document, sticker, location, contacts, interactive, template, reaction Sender WhatsApp ID (phone-based identity when available)
"15551234567"
Sender business-scoped user ID when available
"US.13491208655302741918"
Sender parent business-scoped user ID when available
"US.ENT.506847293015824"
Recipient WhatsApp ID (phone-based identity when available)
"110987654321"
Recipient business-scoped user ID when available
"US.13491208655302741918"
Recipient parent business-scoped user ID when available
"US.ENT.506847293015824"
WhatsApp username when available
"@testusername"
Reply context
Interactive message content (for inbound interactive responses).
Template message content
Kapso-specific message extensions

