List element selection
POST
/Documentation List element selection
To receive this type of notification, you must enable the "incomingWebhook" setting: "yes" in your personal account or using the SetSettings method
Request
Body Params application/json
typeWebhook
string
required
instanceData
object
required
idInstance
integer
required
wid
string
required
typeInstance
string
required
timestamp
integer
required
idMessage
string
required
senderData
object
required
chatId
string
required
sender
string
required
senderName
string
required
senderContactName
string
required
messageData
object
required
typeMessage
string
required
listResponseMessage
object
required
Example
{
"typeWebhook": "incomingMessageReceived",
"instanceData": {
"idInstance": 1101000001,
"wid": "71231234567@c.us",
"typeInstance": "whatsapp"
},
"timestamp": 1657025112,
"idMessage": "A36C68A09C54796295FCAD20C15C534C",
"senderData": {
"chatId": "71234567890@c.us",
"sender": "71234567890@c.us",
"senderName": "Green API",
"senderContactName": "Green API inContacts"
},
"messageData": {
"typeMessage": "listResponseMessage",
"listResponseMessage": {
"stanzaId": "F7AEC1B7086ECDC7E6E45923F5EDB825",
"title": "Option 2",
"listType": 1,
"singleSelectReply": "option2"
}
}
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 19 days ago