Campaign Statistics

This request returns the total count of campaigns per type of campaign (eg. SMS,EMAIL) and status (e.g. Active,Ended,etc.).

HTTP Request

URLMethodDescription GET Get Campaign statistics

Sample Request


#Retrieving the XSRF Token needed for Session
pingResponse = my_session.get("")

#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}
response = my_session.get(url,headers=header).json()

Sample Response



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