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 for deleting already existing contacts from our system. You can delete both single and multiple contacts with one call.
{
"ids": [
1,
2,
3
],
"permanent": true,
"groupId": 4
}
Variable | Type | Validation | Required | Info |
---|---|---|---|---|
ids | int[] | Min 1 | true | Contact ids for delete |
permanent | boolean | true or false | true | Delete from all groups(true) or not(false) |
groupId | integer | null | false | Group id |
If everything went well, you will see in response that the value of the messageKey field is success.
{
"result": {
"message": {
"localizedMessage": "Successfully deleted",
"messageKey": "success"
}
}
}
An error response can be obtained if you have the wrong api key
{
"error": {
"localizedMessage": "Session expired",
"messageKey": "sessionExpired"
}
}