---
title: "Get email campaigns' statistics for a contact"
method: GET
path: "/contacts/{identifier}/campaignStats"
tags: ["Contacts"]
---

# Get email campaigns' statistics for a contact

`GET /contacts/{identifier}/campaignStats`

## Path parameters

- `identifier` string, required

## Query parameters

- `startDate` string
- `endDate` string

## Response `200`

Contact campaign statistics informations

- GetContactCampaignStats — Campaign Statistics for the contact
  - `messagesSent` GetExtendedContactDetailsStatisticsMessagesSent[]
    - `campaignId` integer, required — ID of the campaign which generated the event
    - `eventTime` string, required — UTC date-time of the event
  - `hardBounces` GetExtendedContactDetailsStatisticsMessagesSent[]
    - `campaignId` integer, required — ID of the campaign which generated the event
    - `eventTime` string, required — UTC date-time of the event
  - `softBounces` GetExtendedContactDetailsStatisticsMessagesSent[]
    - `campaignId` integer, required — ID of the campaign which generated the event
    - `eventTime` string, required — UTC date-time of the event
  - `complaints` GetExtendedContactDetailsStatisticsMessagesSent[]
    - `campaignId` integer, required — ID of the campaign which generated the event
    - `eventTime` string, required — UTC date-time of the event
  - `unsubscriptions` GetContactCampaignStatsUnsubscriptions
    - `userUnsubscription` GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription[], required — Contact has unsubscribed via the unsubscription link in the email
      - `campaignId` integer, required — ID of the campaign which generated the event
      - `eventTime` string, required — UTC date-time of the event
      - `ip` string — IP from which the user has unsubscribed
    - `adminUnsubscription` GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription[], required — Contact has been unsubscribed from the administrator
      - `eventTime` string, required — UTC date-time of the event
      - `ip` string — IP from which the user has been unsubscribed
  - `opened` GetContactCampaignStatsOpened[]
    - `campaignId` integer, required — ID of the campaign which generated the event
    - `count` integer, required — Number of openings of the campaign
    - `eventTime` string, required — UTC date-time of the event
    - `ip` string, required — IP from which the user has opened the campaign
  - `clicked` GetContactCampaignStatsClicked[]
    - `campaignId` integer, required — ID of the campaign which generated the event
    - `links` GetExtendedContactDetailsStatisticsLinks[], required
      - `count` integer, required — Number of clicks on this link for the campaign
      - `eventTime` string, required — UTC date-time of the event
      - `ip` string, required — IP from which the user has clicked on the link
      - `url` string, required — URL of the clicked link
  - `transacAttributes` GetContactCampaignStatsTransacAttributes[]
    - `orderDate` string, date, required — Date of the order
    - `orderPrice` number, float, required — Price of the order
    - `orderId` integer, required — ID of the order
  - `delivered` GetExtendedContactDetailsStatisticsMessagesSent[]
    - `campaignId` integer, required — ID of the campaign which generated the event
    - `eventTime` string, required — UTC date-time of the event

## Other responses

- `400` — bad request
- `404` — Contact's email not found

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/versions/2aec3cf66501/schema)
