LINE Messaging API
Build a rich menu payload
Edit the six tap areas, fix anything flagged, then copy the JSON for POST /v2/bot/richmenu.
Menu areas
- Area 1
- Area 2
- Area 3
- Area 4
- Area 5
- Area 6
An action is an https:// URL, tel:, line://, text:<message> or postback:<data>. Labels take up to 20 characters.
Payload
{
"size": {
"width": 2500,
"height": 1686
},
"selected": false,
"name": "Bookchaowalit rich menu",
"chatBarText": "Menu",
"areas": [
{
"bounds": {
"x": 0,
"y": 0,
"width": 833,
"height": 843
},
"action": {
"type": "uri",
"label": "Shop",
"uri": "https://shop.example"
}
},
{
"bounds": {
"x": 833,
"y": 0,
"width": 834,
"height": 843
},
"action": {
"type": "message",
"label": "Support",
"text": "help"
}
},
{
"bounds": {
"x": 1667,
"y": 0,
"width": 833,
"height": 843
},
"action": {
"type": "uri",
"label": "Promo",
"uri": "https://promo.example"
}
},
{
"bounds": {
"x": 0,
"y": 843,
"width": 833,
"height": 843
},
"action": {
"type": "message",
"label": "About",
"text": "about"
}
},
{
"bounds": {
"x": 833,
"y": 843,
"width": 834,
"height": 843
},
"action": {
"type": "uri",
"label": "Book",
"uri": "https://book.example"
}
},
{
"bounds": {
"x": 1667,
"y": 843,
"width": 833,
"height": 843
},
"action": {
"type": "message",
"label": "More",
"text": "menu"
}
}
]
}Ready: 6 areas checked.
Copying does not call the LINE API. Upload a 2500 × 1686 image to the menu separately.
Saved in this browser only. No account, no database and no publish action.