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.
his endpoint is returning the list of contacts you saved in our system previously. If the endpoint returns to the list of contacts, so you have already saved in our system earlier
If everything went well, you can find contacts field[]. Single contact have this fields
name, phone, groupIds, notValid, gender, mail
{
"result": {
"data": {
"contacts": [
{
"id": 5817763,
"name": "Emma Smith",
"phone": "+12508682818",
"groupIds": [
586
],
"notValid": 1,
"gender": 1,
"mail": "[email protected]"
},
{
"id": 5817760,
"name": "Olivia Munn",
"phone": "+17784845095",
"groupIds": [
0,
1,
2,
3
],
"notValid": 0,
"gender": 1,
"mail": "[email protected]"
}
],
"groups": [
{
"id": 583,
"customerId": 7,
"name": "Group 1 name",
"position": 1,
"notValid": false
},
{
"id": 584,
"customerId": 7,
"name": "Group 2 name",
"position": 2,
"notValid": false
}
]
}
}
}
An error response can be obtained if you have the wrong api key
{
"error": {
"localizedMessage": "Session expired",
"messageKey": "sessionExpired"
}
}