AlphaAlpha Docs
API ReferenceCommunications

Get communication analytics

GET
/communications/analytics
AuthorizationBearer <token>

In: header

Query Parameters

startDate?string
Formatdate-time
endDate?string
Formatdate-time

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/communications/analytics"
{
  "byTemplate": [
    {
      "clickRate": 0.1,
      "openRate": 0.1,
      "templateId": "string",
      "templateName": "string",
      "totalClicked": 0,
      "totalOpened": 0,
      "totalSent": 0
    }
  ],
  "byType": [
    {
      "clickRate": 0.1,
      "openRate": 0.1,
      "totalClicked": 0,
      "totalOpened": 0,
      "totalSent": 0,
      "type": "OFFERTE"
    }
  ],
  "clickRate": 0.1,
  "failureRate": 0.1,
  "openRate": 0.1,
  "sendVolumeByDay": [
    {
      "count": 0,
      "date": "string"
    }
  ],
  "totalClicked": 0,
  "totalOpened": 0,
  "totalSent": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}