Find messages

Prev Next
Post
/message/find

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"
}


Request body 2 example:
{
"sendoutDateFrom": "2018-09-01T00:00:00",
"sendoutDateTo": "2018-10-01T00:00:00"
}
Body parameters

JSON filter for returned messages. At least one of externalMessageId or sendoutDateFrom must be non-blank.

object
externalMessageId
string
messageName
string
subjectLine
string
authorName
string
authorId
integer (int64)
messageCategoryId
integer (int64)
groupName
string
groupId
integer (int64)
groupCategoryName
string
groupCategoryId
integer (int64)
type
string
Valid values[ "NORMAL", "PRE_SPLIT_MAIN", "SINGLE", "SPLIT_MAIN", "SPLIT_TEST", "SUB" ]
status
string
Valid values[ "CANCELLED", "INTERRUPTED", "MODERATED", "PARKED", "PROCESSED", "PROCESSING", "READY", "SCHEDULED", "SENT", "TRANSPORTING" ]
sendoutDateFrom
string
sendoutDateTo
string
exactMatch
boolean
Defaultfalse
Responses
200
Array of object
object
400

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"
}