Get detailed statistics for a single campaign. Statistics include start and finish times; number of recipients and their preferred format; bounces and opens; links clicked; and others.

Note:  This API call can also be found under the requesttype of "Stats".

JSON Request Example:       

  "username": "JohnDoe",
  "usertoken": "abc123abc123abc123abc123",
  "requesttype": "Newsletters",
  "requestmethod": "GetNewsletterSummary",
  "details": {
    "stat": "{*stat_id*}", /* required */
    "summaryonly": "{*summary_only_boolean*}",
    "resultlimit": "{*result_limit_integer*}"

"json_request"  element

Field NameDescription
usernameUsername used to login to Pinpointe
usertokenUnique token assigned to Pinpointe account
Please note: ALL OPTIONAL elements that are not used should be deleted from submitted call. For example, if no IP address will be supplied as part of the call, "ipaddress": "{*ip_address*}", should be deleted.   

"details" element

Field NameDescription
statid (Required)Campaign statistics ID. To find this value, hover over "View" link for that campaign under "Email Campaign Statistics".
summaryonly1, yes or true for summary statistics; 0, no or false for detailed statistics
resultlimit (required)Specifies the maximum number of results returned. Currently must enter a value: 0 to n.

Successful Response:

"response" element

Field NameDescription
statusWill return SUCCESS if newsletter stats successfully retrieved
dataSee example below

Sample Response:

   status: "SUCCESS",
   data: {
      statid: "34553",
      queueid: "51571",
      jobid: "18526582",
      starttime: "1576116005",
      finishtime: "1576202407",
      htmlrecipients: "3",
      textrecipients: "0",
      multipartrecipients: "0",
      trackopens: "1",
      tracklinks: "1",
      bouncecount_soft: "0",
      bouncecount_hard: "0",
      bouncecount_unknown: "0",
      unsubscribecount: "0",
      feedbackloopcount: "0",
      newsletterid: "18804",
      sendfromname: "Pinpointe",
      sendfromemail: "",
      bounceemail: "",
      replytoemail: "",
      charset: "UTF-8",
      sendinformation: "a:7:{s:2:\"


Unsuccessful Response:

"response" element

Field NameDescription
statusWill return FAILED if unsuccessful
errormessageText explaining why request failed