> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mapp.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Get message statistics by external ID
> Retrieves statistical data for a sent message that is identified by the external message ID.
## OpenAPI
````json GET /message/getStatisticsByExternalMessageId
{
"openapi": "3.0.4",
"info": {
"title": "Engage public API",
"version": "1"
},
"servers": [
{
"url": "https://your-engage-domain.com/api/rest"
}
],
"tags": [
{
"name": "Address Attributes"
},
{
"name": "Async"
},
{
"name": "Audit Log"
},
{
"name": "Automation"
},
{
"name": "Blacklist"
},
{
"name": "CMS (legacy)"
},
{
"name": "CMS Blocks"
},
{
"name": "CMS Frameworks"
},
{
"name": "CMS Messages"
},
{
"name": "CMS Templates"
},
{
"name": "Contact"
},
{
"name": "Content"
},
{
"name": "Coupon"
},
{
"name": "Draft Message"
},
{
"name": "Ecommerce"
},
{
"name": "Group"
},
{
"name": "Group Attributes"
},
{
"name": "Landing Page"
},
{
"name": "Member Attributes"
},
{
"name": "Membership"
},
{
"name": "Message"
},
{
"name": "Meta"
},
{
"name": "Mobile Push"
},
{
"name": "Prepared Message"
},
{
"name": "Process"
},
{
"name": "Profile Attributes"
},
{
"name": "Related Data"
},
{
"name": "Segmentation"
},
{
"name": "System"
},
{
"name": "System User"
},
{
"name": "Usage Statistics"
},
{
"name": "User"
},
{
"name": "Whiteboard"
}
],
"paths": {
"/message/getStatisticsByExternalMessageId": {
"get": {
"tags": [
"Message"
],
"summary": "Get message statistics by external ID",
"description": "Retrieves statistical data for a sent message that is identified by the external message ID.",
"operationId": "getStatisticsByExternalMessageId",
"parameters": [
{
"name": "externalMessageId",
"in": "query",
"description": "External ID of the message",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Example response:
{
\"messageId\": 1800228386,
\"messageName\": \"Test_Export Campaign Winter Bottom March 2014\",
\"messageSubject\": \"Winter Bottom\",
\"externalMessageId\": \"ExternalWinter\",
\"groupId\": 1800138893,
\"groupName\": \"Test_Export\",
\"groupSize\": 20,
\"sendoutStartDate\": 1404721300908,
\"sendoutEndDate\": 1404721301837,
\"selectionName\": null,
\"statisticValues\": [{
\"name\": \"sentsPerFormat\",
\"value\": \"email-html-multipart=16\" }, {
\"name\": \"uniqueClicker\",
\"value\": \"5\" }, {
\"name\": \"uniqueConfirmedOpener\",
\"value\": \"16\" }, {
\"name\": \"clickRate\",
\"value\": \"31.25\" }],
\"senderProfile\": \"forced\"
}",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MessageStatistics"
}
}
}
},
"400": {
"description": "Missing parameter (externalMessageId) or parameter value, for example:{
\"errorActor\": \"CLIENT\",
\"errorCode\": \"MISSING_PARAMETER\",
\"message\": \"Parameter 'externalMessageId' is mandatory but no value was specified.\",
\"parameterName\": \"externalMessageId\",
\"propertyName\": null,
\"value\": \"null\"
}{
\"errorActor\": \"CLIENT\",
\"errorCode\": \"NO_SUCH_OBJECT\",
\"message\": \"Message with id=24011454555 does not exist.\",
\"objectType\": \"Message\",
\"propertyName\": \"externalMessageId\",
\"propertyValue\": \"24011454555\"
}",
"content": {
"application/json": {}
}
}
}
}
}
},
"components": {
"schemas": {
"MessageStatistics": {
"type": "object",
"properties": {
"messageId": {
"type": "integer",
"format": "int64"
},
"messageName": {
"type": "string"
},
"messageSubject": {
"type": "string"
},
"externalMessageId": {
"type": "string"
},
"groupId": {
"type": "integer",
"format": "int64"
},
"groupName": {
"type": "string"
},
"groupSize": {
"type": "integer",
"format": "int64"
},
"sendoutStartDate": {
"type": "integer",
"format": "int64"
},
"sendoutEndDate": {
"type": "integer",
"format": "int64"
},
"sendoutDuration": {
"type": "string"
},
"transferStartDate": {
"type": "integer",
"format": "int64"
},
"transferEndDate": {
"type": "integer",
"format": "int64"
},
"transferDuration": {
"type": "string"
},
"transferProgress": {
"type": "string"
},
"selectionName": {
"type": "string"
},
"statisticValues": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Attribute"
}
},
"senderProfile": {
"type": "string"
}
}
},
"Attribute": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
}
}
}
````