Method : POST
| GET
Endpoint: {{ url('/') }}/send-list
Request Body : (JSON If POST)
Parameter | Type | Required | Description |
---|---|---|---|
api_key | string | Yes | API Key |
sender | string | Yes | Number of your device |
number | string | Yes | recipient number ex 72888xxxx|62888xxxx |
name | string | Yes | name of your list |
footer | string | No | footer of your message |
title | string | Yes | title of your list |
buttontext | string | Yes | text of your button list |
message | string | Yes | Text of your message |
sections | array | Yes | list of your message min 1 max 5 |
Example JSON Request
{
"api_key" : "ndUJR38JkvyCfLZ",
"sender" : "6281222xxxxx",
"number" : "628222xxxxxx",
"name" : "Message list",
"footer" : "optional",
"title" : "title list",
"buttontext" : "Menu",
"message" : "Hello, this is a list button message",
"sections": [
{
"title": "Main Options",
"description": "Select a basic option to proceed.",
"rows": [
{
"title": "Option 1",
"rowId": "id1",
"description": "Description for option 1"
},
{
"title": "Option 2",
"rowId": "id2",
"description": "Description for option 2"
}
]
},
{
"title": "Advanced Options",
"description": "Explore advanced settings.",
"rows": [
{
"title": "Option 3",
"rowId": "id3",
"description": "Description for option 3"
}
]
}
]
}
Example URL request
{{ url('/') }}/send-list?api_key=ndUJR38JkvyCfLZ&sender=6282298859671&number=082298859671&name=Message list&footer=optional&title=title list&buttontext=ey&message=Hello, this is a list button message§ions=[ { title: Main Options, description: Select a basic option to proceed, rows: [ { title: Option 1, rowId: id1, description: Description for option 1 }, { title: Option 2, rowId: id2, description: Description for option 2 } ] }, { title: Advanced Options, description: Explore advanced settings, rows: [ { title: Option 3, rowId: id3, description: Description for option 3 } ] } ]