Message Types: outbound
Text
{
"text": "helloTester",
"type": "text",
"maxCharacters": 0
}
Image
{
"type": "image",
"originalUrl": "http://news-events.sleeping-out.co.za/wp-content/uploads/2015/11/rock-climbing.jpg",
"previewUrl": "http://timelinethumbnailcreator.com/img/icon-brush-256.png",
"maxCharacters": 0
}
Audio
{
"type": "audio",
"url": "https://www.kozco.com/tech/LRMonoPhase4.wav",
"maxCharacters": 0
}
Video
{
"type": "video",
"url": "https://www.buildquickbots.com/whatsapp/media/sample/video/sample02.mp4",
"maxCharacters": 0
}
File
{
"type": "file",
"url": "https://www.buildquickbots.com/whatsapp/media/sample/excel/sample02.xlsx",
"maxCharacters": 0
}
Sticker
{
"type": "sticker",
"url": "http://www.buildquickbots.com/whatsapp/stickers/SampleSticker01.webp",
"originalUrl": "http://www.buildquickbots.com/whatsapp/stickers/SampleSticker01.webp",
"previewUrl": "http://www.buildquickbots.com/whatsapp/stickers/SampleSticker01.webp",
"maxCharacters": 0
}
Catalogue
{
"type": "catalogue",
"msgid": "gts123",
"items": [
{
"title": "White T Shirt",
"subtitle": "Soft cotton t-shirt \nXs, S, M, L \n",
"imgurl": "https://ichef.bbci.co.uk/news/976/media/images/83351000/jpg/_83351965_explorer273lincolnshirewoldssouthpicturebynicholassilkstone.jpg",
"audiourl": "",
"videourl": "",
"options": [
{
"type": "url",
"title": "Go to New FLow",
"url": "https://www.messenger.com/t/573295509671844?ref\u003deyJpbml0RmxvdyI6IkZsb3dCdWlsZGVyMDA5In0\u003d",
"webview_height_ratio": "full",
"postbackText": ""
},
{
"type": "text",
"title": "Buy",
"message": "Buy 1",
"postbackText": ""
}
]
},
{
"title": "Grey T Shirt",
"subtitle": "Soft cotton t-shirt \nXs, S, M, L \n",
"imgurl": "https://static.pexels.com/photos/132037/pexels-photo-132037.jpeg",
"audiourl": "",
"videourl": "",
"options": [
{
"type": "url",
"title": "View Details",
"url": "https://static.pexels.com/photos/132037/pexels-photo-132037.jpeg",
"webview_height_ratio": "full",
"postbackText": ""
},
{
"type": "text",
"title": "Buy",
"message": "Buy 2",
"postbackText": ""
}
]
}
],
"maxCharacters": 0
}
Location
{
"text": "Pinned Location",
"type": "location",
"location": {
"longitude": "-122.425332",
"latitude": "37.758056",
"name": "Facebook HQ",
"address": "1 Hacker Way, Menlo Park, CA 94025"
},
"maxCharacters": 0
}
Date Time Picker
{
"type": "date_time",
"maxCharacters": 0,
"title": "Please select your preferred vaccination slot",
"date": true,
"time": true,
"date_from": "current_date",
"date_to": "2023-11-30",
"time_from": "08:00",
"time_to": "20:00"
}
Quick Reply
{
"type": "quick_reply",
"msgid": "qr0998",
"content": {
"type": "text",
"text": "What\u0027s your favourite color?"
},
"options": [
{
"type": "text",
"title": "Red",
"iconurl": ""
},
{
"type": "text",
"title": "Green",
"iconurl": ""
},
{
"type": "text",
"title": "Yellow",
"iconurl": ""
},
{
"type": "text",
"title": "Blue",
"iconurl": ""
},
{
"type": "text",
"title": "silver",
"iconurl": ""
},
{
"type": "text",
"title": "gray",
"iconurl": ""
},
{
"type": "text",
"title": "black",
"iconurl": ""
},
{
"type": "text",
"title": "navy",
"iconurl": ""
},
{
"type": "text",
"title": "blue",
"iconurl": ""
},
{
"type": "text",
"title": "cerulean",
"iconurl": ""
},
{
"type": "text",
"title": "sky blue",
"iconurl": ""
}
],
"maxCharacters": 0
}
Long Text
{
"text": "The Cunning Fox and the Clever Stork. Once upon a time, there lived a very cunning and mischievous fox. He used to speak to other animals sweetly and gain their trust, before playing tricks on them. One day the fox met a stork. He befriended the stork and acted like a very good friend. Soon, he invited the stork to have a feast with him. The stork happily accepted the invitation.The day of the feast came, and the stork went to the fox’s house. To her surprise and disappointment, the fox said that he could not make a big feast as promised, and just offered some soup. When he brought the soup out of the kitchen, the stork saw that it was in a shallow bowl! The poor stork could not have any soup with its long bill, but the fox easily licked the soup from the plate. As the stork just touched the soup with the tip of its bill, the fox asked her, “How is the soup? Don’t you like it?",
"type": "text",
"maxCharacters": 0
}
List Template
{
"type": "list",
"msgid": "list123",
"items": [
{
"title": "Collection of T-shirt",
"subtitle": "100% Cotton T-shirts",
"imgurl": "https://promocodeclub.com/wp-content/uploads/2015/07/combo-of-5-tees.jpg",
"options": [
{
"type": "url",
"title": "View",
"url": "https://www.gupshup.io",
"webview_height_ratio": "full"
}
]
},
{
"title": "Streetwear T-shirts",
"subtitle": "100% Cotton",
"imgurl": "https://blog.tshirt-factory.com/wp-content/uploads/2014/08/wpid-bird_white_T_Shirt_NFS_Clothing_Alternative_Streetwear_brand_Birmingham_No_Fit_state_grande.jpg",
"options": [
{
"type": "text",
"title": "Buy",
"message": "Buy 2"
}
]
},
{
"title": "Pack of Plain tees",
"subtitle": "100% Cotton",
"imgurl": "https://spy.com/wp-content/uploads/2020/04/best-t-shirts-for-men-1.jpg",
"options": [
{
"type": "text",
"title": "Buy",
"message": "Buy 3"
}
]
},
{
"title": "Pack of white tees",
"subtitle": "100% Cotton",
"imgurl": "https://spy.com/wp-content/uploads/2020/04/81iewcwkixl._ac_ux679_-e1587502666808.jpg",
"options": [
{
"type": "text",
"title": "Buy",
"message": "Buy 4"
}
]
}
],
"topElementStyle": "",
"globalButtons": [
{
"type": "text",
"title": "View More",
"message": "View More "
}
],
"maxCharacters": 0
}
Single Select
{
"type": "single_select",
"msgid": "orderData.meta.order_no",
"content": {
"type": "text",
"text": "You order with no. is successfully placed. You will get a message once the restaurant confirms the order."
},
"options": [
"first",
"second",
"third",
"fourth"
],
"maxCharacters": 0
}
Multi Select
{
"type": "multi_select",
"msgid": "orderData.meta.order_no",
"content": {
"type": "text",
"text": "You order with no. is successfully placed. You will get a message once the restaurant confirms the order."
},
"options": [
{
"title": "Option 1",
"postbackText": "Eat"
},
{
"title": "Option 2",
"postbackText": "Drink"
},
{
"title": "Option 3",
"postbackText": "Play"
}
],
"maxCharacters": 0
}
Survey
{
"type": "survey",
"msgid": "",
"options": [
{
"type": "text",
"title": "Eat",
"postbackText": ""
},
{
"type": "text",
"title": "Drink",
"postbackText": ""
}
],
"question": "What would you like to do?",
"maxCharacters": 0
}
Receipt
{
"type": "receipt",
"recipient_name": "Sharma",
"order_number": "12517-44842909",
"currency": "INR",
"payment_method": "Cash",
"elements": [
{
"title": "Aloo Tikki",
"subtitle": "Token Number",
"quantity": 5,
"price": 375,
"currency": "INR"
}
],
"summary": {
"total_cost": 375
},
"maxCharacters": 0
}
Generic Card
{
"type": "generic_card",
"mml": {
"card_type": "generic_card",
"media1_type": 1,
"media1_display_ratio": "tall",
"media1_url": "",
"type": "generic_card"
}
}
Updated over 1 year ago