> ## 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.
# Find messages
> Returns a list of message summary objects that contain information about the messages that match the filter criteria.
You can use this method to retrieve information about a message that has been sent or saved as a prepared message
Supply the filter as a JSON request body. At least one of externalMessageId or sendoutDateFrom must be non-blank.
Dates accept ISO 8601 timestamps or YYYY-MM-DD values. sendoutDateTo requires sendoutDateFrom and must be later than it. If omitted, sendoutDateTo defaults to the end of the current day; a date-only To value means the end of that day. The range must span no more than 31 calendar days, including when sendoutDateTo is omitted.
Request body example:
{
"groupId": 650557972,
"sendoutDateFrom": "2018-09-01T00:00:00",
"sendoutDateTo": "2018-10-01T00:00:00"
}{
"sendoutDateFrom": "2018-09-01T00:00:00",
"sendoutDateTo": "2018-10-01T00:00:00"
}
## OpenAPI
````json POST /message/find
{
"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/find": {
"post": {
"tags": [
"Message"
],
"summary": "Find messages",
"description": "Returns a list of message summary objects that contain information about the messages that match the filter criteria.{
\"groupId\": 650557972,
\"sendoutDateFrom\": \"2018-09-01T00:00:00\",
\"sendoutDateTo\": \"2018-10-01T00:00:00\"
}{
\"sendoutDateFrom\": \"2018-09-01T00:00:00\",
\"sendoutDateTo\": \"2018-10-01T00:00:00\"
}",
"operationId": "FindMessage",
"requestBody": {
"description": "JSON filter for returned messages. At least one of externalMessageId or sendoutDateFrom must be non-blank.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MessageFilter"
}
}
},
"required": true,
"x-bodyName": "body"
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
},
"400": {
"description": "Missing parameter (messageFilter) or parameter value, or invalid, for example:{
\"errorActor\": \"CLIENT\",
\"errorCode\": \"MISSING_PARAMETER\",
\"message\": \"Parameter 'messageFilter' is mandatory but no value was specified.\",
\"parameterName\": \"messageFilter\",
\"propertyName\": null,
\"value\": \"null\"
}