Monthly Campaign and Message Statistics

This request returns the total statistics of all campaigns and messages (regardless of message type), grouped by month.

HTTP Request

URLMethodDescription
https://app.tellody.com/CampaignCloud/Report/RadarChart GET Get monthly campaign and message statistics based on campaign type and status

Sample Request

PythonOther

#Retrieving the XSRF Token needed for Session
pingResponse = my_session.get("https://app.tellody.com/CampaignCloud/RememberMeController/ping")

#Import the X-XSRF-Token returned from RememberMeController/ping into the request headers
xsrfToken = pingResponse.headers.get("X-XSRF-TOKEN")

#HTTP request header
header = {"Content-Type" : "application/json", "X-XSRF-TOKEN" : xsrfToken}
url="https://app.tellody.com/CampaignCloud/Report/RadarChart"
response = my_session.get(url, headers=header).json()
print(json.dumps(response,ensure_ascii=False))

Response

Each row in the below response represents the statistics of each month within the year. For example as indicated, from January up to April there are zero messages sent. In April, the user sent 489 messages by executing 35 campaigns and so on.


{
   "messages":[
      0.0,
      0.0,
      0.0,
      0.0,
      489.0,
      18578.0,
      1664.0,
      2.0,
      0.0,
      0.0,
      0.0,
      0.0
   ],
   "campaigns":[
      0.0,
      0.0,
      0.0,
      0.0,
      35.0,
      16.0,
      22.0,
      2.0,
      0.0,
      0.0,
      0.0,
      0.0
   ]
}

Errors

In case of an error information may be derived by the HTTP Status in the result of each request (e.g. HTTP 400 – Bad Request).

Back to Top