APICampaigns

Get campaign performance

Returns enrollment, send, engagement, per-step, daily, and top-link analytics for a campaign. `startDate` only bounds the daily series.

GET
/v1/campaigns/{id}/performance

Returns enrollment, send, engagement, per-step, daily, and top-link analytics for a campaign. startDate only bounds the daily series.

X-Api-Key<token>

In: header

Path Parameters

id*string

Query Parameters

startDate?|

Only include days on or after this date (YYYY-MM-DD or ISO datetime) in the daily series.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/performance"
{
  "data": {
    "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
    "enrollments": {
      "total": 0,
      "byStatus": {
        "property1": 0,
        "property2": 0
      }
    },
    "enrollmentLifecycle": {
      "contacts": {
        "completed": 0,
        "inFlight": 0,
        "scheduled": 0,
        "awaitingReview": 0,
        "invalidEmail": 0
      },
      "accounts": {
        "completed": 0,
        "inFlight": 0,
        "scheduled": 0,
        "awaitingReview": 0,
        "invalidEmail": 0
      }
    },
    "removed": {
      "total": 0,
      "byReason": {
        "property1": 0,
        "property2": 0
      }
    },
    "sends": {
      "total": 0,
      "byStatus": {
        "property1": 0,
        "property2": 0
      }
    },
    "engagement": {
      "sent": 0,
      "delivered": 0,
      "opened": 0,
      "clicked": 0,
      "replied": 0,
      "bounced": 0,
      "unsubscribed": 0,
      "uniqueOpened": 0,
      "uniqueClicked": 0,
      "uniqueReplied": 0,
      "uniqueBounced": 0,
      "uniqueUnsubscribed": 0,
      "totalOpens": 0,
      "totalClicks": 0,
      "rates": {
        "delivered": 0,
        "opened": 0,
        "clicked": 0,
        "replied": 0,
        "positiveReplied": 0,
        "negativeReplied": 0,
        "outOfOfficeReplied": 0,
        "bounced": 0,
        "unsubscribed": 0
      },
      "uniqueRates": {
        "opened": 0,
        "clicked": 0,
        "replied": 0,
        "positiveReplied": 0,
        "negativeReplied": 0,
        "outOfOfficeReplied": 0,
        "bounced": 0,
        "unsubscribed": 0
      },
      "replyClassifications": {
        "positive": 0,
        "negative": 0,
        "outOfOffice": 0,
        "classified": 0
      }
    },
    "daily": [
      {
        "date": "string",
        "sent": 0,
        "opened": 0,
        "clicked": 0,
        "replied": 0,
        "positiveReplies": 0,
        "negativeReplies": 0,
        "outOfOfficeReplies": 0
      }
    ],
    "steps": [
      {
        "stepNumber": 0,
        "sent": 0,
        "pending": 0,
        "opened": 0,
        "clicked": 0,
        "replied": 0,
        "positiveReplies": 0,
        "negativeReplies": 0,
        "outOfOfficeReplies": 0
      }
    ],
    "topLinks": [
      {
        "url": "string",
        "clicks": 0,
        "uniqueClicks": 0
      }
    ]
  }
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}