Analytics

GET /:account/campaigns/analytics

This will return aggregated statistics for all Campaigns in an Account

Examples

Get Analytics

Request

GET /my_account/campaigns/analytics
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X GET /my_account/campaigns/analytics
    

Response

Status

200

Response Type

CampaignAnalytics

Example Body

{
  "@type": "CampaignAnalytics",
  "@context": "/contexts/CampaignAnalytics.jsonld",
  "id": "/my_account/campaigns/analytics",
  "campaignsSent": 0,
  "recipients": 0,
  "failureRate": 0.0,
  "replyRate": 0.0
}

© 2024 TextUs