With the Boolky API you can integrate a number of functions, such as sending a message to both existing contacts and new ones, you can calculate how much it will cost before sending. You can add a contact whenever you have a new user. You can integrate all the functionality that we have, if some functionality is not enough or you have problems with integration, write to the support service and we will solve this issue as soon as possible.
This endpoint is used to get single message from grouped message history.
Variable | Type | Validation | Required | Info |
---|---|---|---|---|
id | string | Min 1 | true | Group Message History Id |
If everything went well, you can find messageHistories array. In this array you can find array of MessageHistory object. MessageHistory consists of these fields - id,customerId, countryId, groupHistoryId, sent, message, productType, operator, senderNumber, sid, senderName, toPhone, sentDate, customerName.
{
"result": {
"data": {
"messageHistories": [
{
"id": 235,
"customerId": 7,
"countryId": 9,
"groupHistoryId": 40,
"sent": true,
"message": "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
"productType": 1,
"operator": 3,
"senderNumber": "-",
"sid": "",
"senderName": "-",
"toPhone": "+37494653111",
"sentDate": "2020-12-28 12:57:58",
"customerName": "Hayk"
},
{
"id": 236,
"customerId": 7,
"countryId": 9,
"groupHistoryId": 40,
"sent": true,
"message": "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
"productType": 1,
"operator": 3,
"senderNumber": "-",
"sid": "",
"senderName": "-",
"toPhone": "+37494372240",
"sentDate": "2020-12-28 12:57:58",
"customerName": "Ruben"
}
]
}
}
}
An error response can be obtained if you have the wrong api key
{
"error": {
"localizedMessage": "Session expired",
"messageKey": "sessionExpired"
}
}