Hello everybody! I´ve developed a little bot with kore.ai and now I´m trying to test it´s functionalities. I´ve established a webhook in order to be able to connect to it from the outside.
In particular, I´m testing with Postman. I call the url with the bearer token and send the payload:
payload: {
“session”: {
“new”: true
},
“message”: {
“text”: “Hello”
},
“from”: {
“id”: “me” ,
“userInfo”: {
“firstName”:“Name” ,
“lastName”:“Surname”,
“email":"myemail@mail.com”
}
},
“to”: {
“id”: “bot”
}
}
and the call ends up with a 412 error. Here is the content:
{
“errors”: [
{
“msg”: “PAYLOAD_FIELDS_REQUIRED”,
“code”: 412
}
]
}
So, what am I doing wrong? What is missing is this payload?
Could you please help me?