Upward message
Upward message
Response parameters
Field
Data type
Required
Description
id
String
Yes
Message Id
accountName
String
Yes
API account name
wabaId
String
Yes
Waba Id
wamid
String
Yes
Meta WhatsApp message Id
from
String
Yes
User phone number
to
String
Yes
Merchant phone number
sendTime
String
Yes
Send time, format: 2023-02-22T12:00:00.000Z
customerProfile
JSON
Yes
User information
type
String
Yes
Message type; text: text message reaction: emoji message image: image message audio: audio message video: video message sticker: sticker message unknown: unknown message location: location message contacts: contacts message button: template button reply message interactive: interactive message/interactive button reply message order: order message system: user changed number notification
text
JSON
No
Has value when type=text
reaction
JSON
No
Has value when type=reaction
image
JSON
No
Has value when type=image
audio
JSON
No
Has value when type=audio
video
JSON
No
Has value when type=video
errors
JSON
No
Has value when type=unknown
location
JSON
No
Has value when type=location
contacts
JSON
No
Has value when type=contacts
button
JSON
No
Has value when type=button
system
JSON
No
Has value when type=system
context
JSON
No
Context message, has value when replying to a quoted message
text: reply example
Field
Data type
Required
Description
text.body
String
Yes
Represents the content of the reply
reaction: reply example
Field
Data type
Required
Description
reaction.messageId
String
Yes
Represents the referenced message's wamid (original message id)
reaction.emoji
String
Yes
Represents the emoji of the reply
sendTime
String
Yes
Represents the time the customer sent the emoji
Field
Data type
Required
Description
image.caption
String
Yes
Media description or title
image.mimeType
String
Yes
Media format type: image/jpeg
image.sha256
String
Yes
Media resource file hash
image.link
String
Yes
Download link for the media file
sticker: reply example
Field
Data type
Required
Description
sticker.mimeType
String
Yes
Sticker format type: image/webp
sticker.sha256
String
Yes
Sticker resource file hash
sticker.link
String
Yes
Download link for the sticker file
video: reply example
Field
Data type
Required
Description
video.mimeType
String
Yes
Video format type: video/mp4
video.sha256
String
Yes
Video resource file hash
video.link
String
Yes
Download link for the video file
Audio: reply example
Field
Data type
Required
Description
audio.mimeType
String
Yes
Audio format type: audio/mp4
audio.sha256
String
Yes
Audio resource file hash
audio.link
String
Yes
Download link for the audio file
Document: reply example
Field
Data type
Required
Description
document.mimeType
String
Yes
Document format type: application/pdf
document.sha256
String
Yes
Document resource file hash
document.link
String
Yes
Download link for the document file
document.caption
String
Yes
Document description or title
document.filename
String
Yes
Document file name
Location: reply example
Field
Data type
Required
Description
location.latitude
String
Yes
Represents latitude
location.longitude
String
Yes
Represents longitude
location.name
String
Yes
Represents location name
location.address
String
Yes
Represents address
Contact: reply example
Button: reply example
When a customer clicks a quick reply button in an interactive message template you sent, the system will send a response. Below is an example of the callback format.
Field
Data type
Required
Description
context.from
String
Yes
The WhatsApp ID that sent the interactive message (phone number without the '+' prefix)
context.id
String
Yes
The original message ID on the WhatsApp platform.
Unknown: reply example
You may receive callbacks for unknown messages. For example, a customer might send you an unsupported message such as a disappearing message (in that case we will notify the customer that the message type is not supported).
Field
Data type
Required
Description
errors.code
String
Yes
Represents the error code
errors.details
String
Yes
Represents error details
errors.title
String
Yes
Represents the error name
Interactive: reply example
When the user clicksan item in the list message you sentyou will receive the following Webhooks notification:
Field
Data type
Required
Description
context.from
String
Yes
The WhatsApp ID that sent the interactive message (phone number without the '+' prefix)
context.id
String
Yes
The original message ID on the WhatsApp platform.
When the user clicks thereply buttonyou will receive the following Webhooks notification:
Last updated