# Message Statistics by ID (deprecated)

Retrieve delivery and engagement statistics for a specific message. Message-based stats link the delivery rates / contact engagement details to the sending time of the messages. To obtain a valid message_ID, first call GET /v3/REST/message to list your messages. This endpoint does not support retrieval by individual message ID and always returns global statistics, regardless of the message_ID supplied.

Endpoint: GET /v3/REST/messagestatistics/{message_ID}
Version: 1.0.0
Security: basicAuth

## Path parameters:

  - `message_ID` (integer, required)
    Unique numeric ID of the message you want to retrieve the statistics for.
    Example: 7000

## 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.AverageClickDelay` (number)
    Average delay (in seconds) between the first open and first click event for a message.

  - `Data.AverageClickedCount` (number)
    Average number of times a click was registered for a message.

  - `Data.AverageOpenDelay` (number)
    Average delay (in seconds) between the message delivery and the first message open.

  - `Data.AverageOpenedCount` (number)
    Average number of times a recipient opens the message.

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

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

  - `Data.CampaignCount` (integer)
    Number of distinct campaigns that are part of these stats.

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

  - `Data.DeferredCount` (integer)
    Number of deferred messages - ones that could not be delivered and the system is retrying to send. If after 3 days the sending is unsuccessful, those messages become soft-bounced.

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

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

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

  - `Data.ProcessedCount` (integer)
    Number of processed messages.

  - `Data.QueuedCount` (integer)
    Number of messages that are in the queue to be sent out.

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

  - `Data.SpamComplaintCount` (integer)
    Number of messages marked as Spam by the recipients.

  - `Data.TotalClicksCount` (integer)
    Total number of registered open events. Calculated only when the ProcessTotalOpensCount query parameter is set as true, otherwise 0 is returned.

  - `Data.TotalOpensCount` (integer)
    Total number of registered click events. Calculated only when the ProcessTotalClicksCount query parameter is set as true, otherwise 0 is returned.

  - `Data.TransactionalCount` (integer)
    Number of transactional messages.

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

  - `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
