# Message History by ID

Retrieve the event history (sending, open, click etc.) for a specific message. To obtain a valid message_ID, first call GET /v3/REST/message to list your messages.

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

## Path parameters:

  - `message_ID` (integer, required)
    Unique numeric ID of the message, whose event history you want to retrieve.
    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.Comment` (string)
    A comment providing additional details in case of issues with the message delivery.

  - `Data.EventAt` (integer)
    Unix timestamp indicating when the event was registered.

  - `Data.EventType` (string)
    The type of this event.

Possible values:

- sent
- opened
- clicked
- bounced
- blocked
- unsub
- spam

  - `Data.State` (string)
    When the message is not successfully delivered, will display the reason for non-delivery.

  - `Data.Useragent` (string)
    User agent (browser) used to trigger the event (when applicable).

  - `Data.UseragentID` (integer)
    Unique numeric ID of the user agent (browser) used to trigger this event.

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