Developer | Boolky API Integration

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.

POST
Send SMS
POST
Calculate SMS Price
POST
Send MMS
POST
Calculate MMS Price
POST
Call back
GET
Get sms status

PUT
Add Contacts
GET
Get Contacts
POST
Delete Contacts
PUT
Add Group
GET
Get Groups
DELETE
Delete Group
GET
Get message history grouped
GET
Get Single Message History
GET
Get Balance

Get message history grouped

This endpoint is used to get message history per campaign. For example you send message to 10 contacts at once. When you use this endpoint that sent 10 messages will be returned grouped together as one "history" object. If you want to get single message from that campaign use our another endpoint.

Request Url: https://api.boolky.net/getAllGroupsHistory

Request Headers

Authorization: YOUR_API_KEY (get it on dashboard)

language: EN

Request Query Parameters

from: 2020-12-28to: 2020-12-29type: 0
VariableTypeValidationRequiredInfo
fromdateStringDate (yyyy-mm-dd)trueDate From
todateStringDate (yyyy-mm-dd)trueDate To
typestring0, 1, 2true0-all, 1-SMS, 2-MMS

If everything went well, you can find histories array, also in histories array you can find groupMessageHistory Object and photos array. In groupMessageHistory object you can see id, customerId, selectedReceiverCount, totalReceivedCount, cost, totalPartCount, chargeCount, sentDate, type, text, finished, showDate. In photos array you can see id, customerId, groupHistoryId, photoUrl.

groupMessageHistory Object

  • id -Group Message History id
  • customerId - Customer id
  • selectedReceiverCount - Selected receivers count
  • totalReceivedCount - Total send messages count
  • cost - Cost
  • totalPartCount - the total number of SMS / MMS parts (depending on the number of characters in one message, it can consist of 1-10 parts)
  • chargeCount - Charge count
  • sentDate - Date when sent message
  • type - Message type (1-SMS, 2-MMS)
  • text - your message
  • finished - (true or false)
  • showDate - Date for show

photos array

  • id - Photo Id
  • customerId - Customer id
  • groupHistoryId - Group history id
  • photoUrl - Photo url

Success Response

      
{
  "result": {
    "data": {
      "histories": [
        {
          "groupMessageHistory": {
            "id": 56,
            "customerId": 7,
            "selectedReceiverCount": 3,
            "totalReceivedCount": 3,
            "cost": "0.1200",
            "totalPartCount": 3,
            "chargeCount": 3,
            "sentDate": "2020-12-29 14:12:03",
            "type": 2,
            "text": "text",
            "finished": true,
            "showDate": "2020-12-29T14:12:03"
          },
          "photos": [
            {
              "id": 4,
              "customerId": 7,
              "groupHistoryId": 56,
              "photoUrl": "https://api.boolky.net//var/www/boolky/images/mms/d9f516f35067a7f.jpeg"
            },
            {
              "id": 5,
              "customerId": 7,
              "groupHistoryId": 56,
              "photoUrl": "https://api.boolky.net//var/www/boolky/images/mms/dd8129fbec87be2.jpg"
            },
            {
              "id": 6,
              "customerId": 7,
              "groupHistoryId": 56,
              "photoUrl": "https://api.boolky.net//var/www/boolky/images/mms/6b0b434c45cc561.jpg"
            }
          ]
        }
      ]
    }
  }
}
      
    

An error response can be obtained if you have the wrong api key

Error Response | Session Expired

      
{
  "error": {
    "localizedMessage": "Session expired",
    "messageKey": "sessionExpired"
  }
}
      
    
If you have any questions, please contact us and we will be happy to help you

Company

  • About us
  • Contact us
  • Pricing
  • Developer
  • FAQ

Features

  • Send SMS Online
  • Send MMS Online
  • Receive SMS online
  • Calculate Price
  • Groups

Integrations

  • SMS APIs
  • MMS APIs
  • Import Contacts
  • Download History

Use Sectors

  • Social Network
  • Restaurants / Hotels
  • Delivery companies
  • Shops

Copyright © 2020-21 Boolky by Primesoft Inc.

visamastercryptanil
FacebookTwitter