Events

Purpose

This API provides the event count for the given date range

Request URL

https://apptics.zoho.com/cx/api/v1/event/multigroup

URL params

ParameterTypeData typeAllowed valuesDescription 
startdatedefinitestringDatedd-MM-yyyy
enddatedefinitestringDatedd-MM-yyyy
responseformatdefiniteList<string>cvsjson,nestedjson 
groupdefinitestringDate, platform, bundle, country, appversion, devicetype, event min-1,max-3  
platformnon-definite  stringiOS, Android, Windows, macOS, tvOSmax-1
groupnamenon-definitestringEvent group name 
eventnamenon-definitestringEvent name 
limitnon-definiteintegernumber 
offsetnon-definiteintegernumber 

Request headers

NameValueReference
zakapi_keyconfig.pList file in Apptics console  
AuthenticationZoho-OAuthtoken <id>  Refer OAuth 2.0 guide

 

Sample response: group - date,platform

Copied{

   "result": {

       "iOS": {

           "01-01-2020": 2,

           "02-01-2020": 9,

           "03-01-2020": 97,

           "04-01-2020": 56,

           "05-01-2020": 18,

           "06-01-2020": 22,

           "07-01-2020": 3

       },

       "Android": {

           "01-01-2020": 69,

           "02-01-2020": 222,

           "03-01-2020": 20,

           "04-01-2020": 20,

           "05-01-2020": 12,

           "06-01-2020": 41,

           "07-01-2020": 67

       }

   },

   "status": 200

}

Sample response: group - appversion

Copied{

   "result": {

       "1.2.3": 181,

       "1.2.10": 548,

       "1.2.7": 33,

       "1.2.8": 6

   },

   "status": 200

}

Sample response: group - country, date

Copied{

   "result": {

        "Austria": {

           "15-08-2022": 10

       },

       "Bhutan": {

           "14-08-2022": 5

       },

       "Barbados": {

           "09-08-2022": 8

       },

       "Belize": {

           "09-08-2022": 4

       },

       "Bermuda": {

           "15-08-2022": 3

       },

       "Bahamas": {

           "07-08-2022": 2

       }

  },

   "status": 200

}