conversation_message_create_payload
The content of the message
Hello, how can I help you?The type of the message
Possible values: [outgoing, incoming]
outgoingFlag to identify if it is a private note
falseContent type of the message
Possible values: [text, input_email, cards, input_select, form, article]
textAttributes based on the content type
{}The campaign id to which the message belongs
1template_params object
WhatsApp template parameters for sending structured messages
Name of the WhatsApp template (must be approved in WhatsApp Business Manager)
purchase_receiptCategory of the template
Possible values: [UTILITY, MARKETING, SHIPPING_UPDATE, TICKET_UPDATE, ISSUE_RESOLUTION]
UTILITYLanguage code of the template (BCP 47 format)
en_USprocessed_params objectrequired
Processed template parameters organized by component type
body object
Body component parameters with variable placeholders
header object
Header component parameters for media templates
Publicly accessible URL for IMAGE, VIDEO, or DOCUMENT headers
https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdfType of media for the header
Possible values: [image, video, document]
documentbuttons object[]
Button component parameters for interactive templates
Type of button parameter
Possible values: [url, copy_code]
Dynamic parameter value for the button
SSFSDFSD{
"content": "Hello, how can I help you?",
"message_type": "outgoing",
"private": false,
"content_type": "text",
"content_attributes": {},
"campaign_id": 1,
"template_params": {
"name": "purchase_receipt",
"category": "UTILITY",
"language": "en_US",
"processed_params": {
"body": {
"1": "Visa",
"2": "Nike",
"3": "Bill"
},
"header": {
"media_url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"media_type": "document"
},
"buttons": [
{
"type": "url",
"parameter": "SSFSDFSD"
}
]
}
}
}