{
"type": "header",
"parameters": [
{
"type": "image",
"image": {
"link": "https://example.com/product-image.jpg"
}
}
]
}{
"type": "header",
"parameters": [
{
"type": "video",
"video": {
"link": "https://example.com/product-demo.mp4"
}
}
]
}{
"type": "header",
"parameters": [
{
"type": "document",
"document": {
"link": "https://example.com/invoice.pdf",
"filename": "Invoice_12345.pdf"
}
}
]
}{
"type": "header",
"parameters": [
{
"type": "gif",
"gif": {
"link": "https://example.com/product-demo.gif"
}
}
]
}{
"type": "location",
"location": {
"latitude": "<LATITUDE>",
"longitude": "<LONGITUDE>",
"name": "<LOCATION_NAME>",
"address": "<LOCATION_ADDRESS>"
}
}{
"type": "body",
"parameters": []
}{{1}}, {{2}}, {{3}}) that are replaced with actual values when the message is sent.{
"type": "body",
"parameters": [
{
"type": "text",
"text": "<VARIABLE VALUE 1>"
},
{
"type": "text",
"text": "<VARIABLE VALUE 2>"
},
{
"type": "text",
"text": "<VARIABLE VALUE 3>"
}
]
}{
"type": "button",
"sub_type": "url",
"index": "0",
"parameters": [
{
"type": "text",
"text": "ORD12345"
}
]
}https://example.com/track/{{1}}https://example.com/track/ORD12345{
"type": "button",
"sub_type": "copy_code",
"index": "0",
"parameters": [
{
"type": "coupon_code",
"coupon_code": "SAVE20"
}
]
}{
"type": "button",
"sub_type" : "voice_call",
"parameters": [
{
"type": "ttl_minutes",
"ttl_minutes": 100
},
{
"type": "payload",
"payload": "payload data"
}
]
}{
"type": "button",
"sub_type": "COPY_CODE",
"index": 1,
"parameters": [
{
"type": "coupon_code",
"coupon_code": "25OFF"
}
]
}{
"type": "limited_time_offer",
"parameters": [
{
"type": "limited_time_offer",
"limited_time_offer": {
"expiration_time_ms": <EXPIRATION_TIME_MS>
}
}
]
}{
"type": "carousel",
"cards": [
{
"card_index": 0,
"components": [
{
"type": "header",
"parameters": [
{
"type": "image",
"image": {
"link": "<IMAGE_URL>"
}
}
]
},
{
"type": "button",
"sub_type": "quick_reply",
"index": "0",
"parameters": [
{
"type": "payload",
"payload": "more-aloes"
}
]
},
{
"type": "button",
"sub_type": "url",
"index": "1",
"parameters": [
{
"type": "text",
"text": "blue-elf"
}
]
}
]
},
{
"card_index": 1,
"components": [
{
"type": "header",
"parameters": [
{
"type": "image",
"image": {
"link": "<IMAGE_URL>"
}
}
]
},
{
"type": "button",
"sub_type": "quick_reply",
"index": "0",
"parameters": [
{
"type": "payload",
"payload": "more-crassulas"
}
]
},
{
"type": "button",
"sub_type": "url",
"index": "1",
"parameters": [
{
"type": "text",
"text": "buddhas-temple"
}
]
}
]
},
{
"card_index": 2,
"components": [
{
"type": "header",
"parameters": [
{
"type": "image",
"image": {
"link": "<IMAGE_URL>"
}
}
]
},
{
"type": "button",
"sub_type": "quick_reply",
"index": "0",
"parameters": [
{
"type": "payload",
"payload": "more-echeverias"
}
]
},
{
"type": "button",
"sub_type": "url",
"index": "1",
"parameters": [
{
"type": "text",
"text": "black-prince"
}
]
}
]
}
]
}{
"type": "button",
"sub_type": "CATALOG",
"index": 0,
"parameters": [
{
"type": "action",
"action": {
"thumbnail_product_retailer_id": "<ID>"
}
}
]
}{
"type": "button",
"sub_type": "mpm",
"index": 0,
"parameters": [
{
"type": "action",
"action": {
"thumbnail_product_retailer_id": "2tx89l7rgc",
"sections": [
{
"title": "Popular Bundles",
"product_items": [
{
"product_retailer_id": "g8c54efieg"
},
{
"product_retailer_id": "fmfsj2759e"
}
]
},
{
"title": "Premium Packages",
"product_items": [
{
"product_retailer_id": "2tx89l7rgc"
}
]
}
]
}
}
]
}{
"type": "header",
"parameters": [
{
"type": "product",
"product": {
"product_retailer_id": "fmfsj2759e",
"catalog_id": "1246197399818456"
}
}
]
}{
"type": "carousel",
"cards": [
{
"card_index": 0,
"components": [
{
"type": "header",
"parameters": [
{
"type": "product",
"product": {
"product_retailer_id": "2tx89l7rgc",
"catalog_id": "1246197399818456"
}
}
]
}
]
},
{
"card_index": 1,
"components": [
{
"type": "header",
"parameters": [
{
"type": "product",
"product": {
"product_retailer_id": "fmfsj2759e",
"catalog_id": "1246197399818456"
}
}
]
}
]
}
]
}{
"type": "button",
"sub_type": "order_details",
"index": 0,
"parameters": [
{
"type": "action",
"action": {
"order_details": {
"currency": "INR",
"order": {
"discount": {
"offset": 100,
"value": 250
},
"items": [
{
"amount": {
"offset": 100,
"value": 400
},
"name": "<ORDER_ITEM_NAME>",
"quantity": 1,
"retailer_id": "<ORDER_ITEM_RETAILER_ID>",
"country_of_origin": "<ORIGIN_COUNTRY>",
"importer_name": "<IMPORTER_NAME>",
"importer_address": {
"address_line1": "<IMPORTER_ADDRESS>",
"city": "<CITY>",
"country_code": "<COUNTRY>",
"postal_code": "<ZIP_CODE>"
}
}
],
"shipping": {
"offset": 100,
"value": 0
},
"status": "pending",
"subtotal": {
"offset": 100,
"value": 400
},
"tax": {
"offset": 100,
"value": 500
}
},
"payment_settings": [
{
"type": "upi_intent_link",
"upi_intent_link": {
"link": "<UPI_LINK>"
}
}
],
"payment_configuration": "unique_payment_config_id",
"payment_type": "upi",
"reference_id": "reference_id_value",
"total_amount": {
"offset": 100,
"value": 650
},
"type": "digital-goods"
}
}
}
]
}{
"type": "order_status",
"parameters": [
{
"type": "order_status",
"order_status": {
"reference_id": "refid123",
"order": {
"status": "completed",
"description": "optional"
}
}
}
]
}{
"type": "button",
"sub_type": "flow",
"index": "0",
"parameters": [
{
"type": "action",
"action": {
"flow_token": "FLOW_TOKEN",
"flow_action_data": {}
}
}
]
}