COMMUNITY
Snatchbot API returns all messages with the same From field
over 4 years ago by Cristian Dan
I'm doing a get on https://account.snatchbot.me/channels/api/api with the app id and secret, querying for a specific user, but all the messages I get are from the same ID, even when I reply from the bot or from Snatchbot Index.
Example:
{
"messages": [
{
"cards": [],
"date": "2019-11-20T15:11:40Z",
"from": "io1",
"id": 54019657,
"message": "lkjlkj;",
"speech": null,
"suggested": {
"quick_replies": null
}
},
{
"cards": [],
"date": "2019-11-20T15:11:10Z",
"from": "io1",
"id": 54019531,
"message": "Hello, an agent will be with you any minute.",
"speech": null,
"suggested": {
"quick_replies": null
}
},
{
"cards": [],
"date": "2019-11-20T15:11:08Z",
"from": "io1",
"id": 54019524,
"message": "helpop",
"speech": null,
"suggested": {
"quick_replies": null
}
}
],
"status": true
}