Link Search Menu Expand Document

Updated Fri Jun 18th 2021, 16:17 UTC

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
{
  "@type": "CampaignAnalytics",
  "@context": "/contexts/CampaignAnalytics.jsonld",
  "id": "/my_account/campaigns/analytics",
  "campaignsSent": 0,
  "recipients": 0,
  "failureRate": 0.0,
  "replyRate": 0.0
}

© 2021 TextUs