# Campaign Statistics by ID (deprecated)

Retrieve general information, as well as aggregated delivery and engagement statistics for a specific campaign.

> Note: This is a legacy endpoint. We advise using /statcounters to retrieve aggregated stats for campaigns.
 To obtain a valid campaign_ID, first call GET /v3/REST/campaign to list your campaigns.

Endpoint: GET /v3/REST/campaignstatistics/{campaign_ID}
Version: 1.0.0
Security: basicAuth

## Path parameters:

  - `campaign_ID` (integer, required)
    Unique numeric ID of the campaign you want to retrieve statistics for.
    Example: 6000

## Response 200 fields (application/json):

  - `Count` (integer)
    Indicates the number of objects in the Data array.

  - `Data` (array)
    A JSON array containing a list of objects returned by this endpoint.

  - `Data.AXTestingID` (object)
    Unique numeric ID of the AX Testing object this campaign is linked to.

  - `Data.BlockedCount` (integer)
    Number of blocked messages.

  - `Data.BouncedCount` (integer)
    Number of bounced messages.

  - `Data.CampaignID` (integer)
    Unique numeric ID of this campaign.

  - `Data.CampaignIsStarred` (boolean)
    Indicates whether this campaign is marked as Starred or not.

  - `Data.CampaignSendStartAt` (string)
    Timestamp indicating when the first message in this campaign was sent out.

  - `Data.CampaignSubject` (string)
    The email subject line used for this campaign.

  - `Data.ClickedCount` (integer)
    Number of clicked messages.

  - `Data.ContactListName` (string)
    The name of the contact list, to whic the campaign was sent. Only returned when the ShowExtraData query parameter is True.

  - `Data.DeferredCount` (integer)
    Number of deferred messages.

  - `Data.DeliveredCount` (integer)
    Number of delivered messages.

  - `Data.HardbouncedCount` (integer)
    Number of hard-bounced messages.

  - `Data.LastActivityAt` (string)
    Timestamp indicating the last registered activity for this Campaign.

  - `Data.NewsLetterID` (integer)
    Unique numeric ID of the draft linked to this campaign.

  - `Data.OpenedCount` (integer)
    Number of opened messages.

  - `Data.PreQueuedCount` (integer)
    Number of pre-queued messages.

  - `Data.ProcessedCount` (integer)
    Total number of messages processed by Mailjet.

  - `Data.QueuedCount` (integer)
    Number of queued messages.

  - `Data.SegmentName` (string)
    The name of Unique the segmentation used for this campaign (see /contactfilter). Only returned when the ShowExtraData query parameter is True.

  - `Data.SoftbouncedCount` (integer)
    Number of soft-bounced messages.

  - `Data.SpamComplaintCount` (integer)
    Number of messages marked as spam.

  - `Data.UnsubscribedCount` (integer)
    Number of registered unsubscribe requests.

  - `Data.WorkFlowExitedCount` (integer)
    Number of registered automation workflow exits.

  - `Data.WorkflowID` (integer)
    Unique numeric ID of the automation workflow that triggered this campaign.

  - `Total` (integer)
    Indicates the number of objects in the Data array.


## Response 400 fields

## Response 401 fields

## Response 403 fields

## Response 404 fields

## Response 429 fields

## Response 500 fields
