GET /messaging/v1/email/messages/?type=notSent
Gets a paginated list of messages that were not sent, ordered from oldest to newest.
Name | Type | | Description |
---|
type | string | Required | Only notSent is supported. |
$pageSize | integer | | Number of messageKeys (array elements) to return per response page. |
lastEventId | integer | | Event ID from which you want the response to start. To obtain the initial event ID, submit a request without a lastEventId. The events in the response are listed top to bottom from oldest to newest. |
Status | Name | Type | Description |
---|
200 | | | Success. Review example response. |
| lastEventID | integer | Event ID from which you want the response to start. To obtain the initial event ID, submit a request without a lastEventId. The events in the response are listed top to bottom from oldest to newest. |
| statusCode | integer | Integer value of the reason the send did not complete. Review Email Send Error Codes for more information. |
| statusMessage | string | The reason the send did not complete. Review Email Send Error Codes for more information. |
| eventCategoryType | string | TransactionalSendEvent event type. EmailSent indicates that the email was sent to the email provider. EmailNotSent indicates that the email was not sent and includes the reason. EmailQueued indicates that the email has not yet been processed for sending. |
| timestamp | string | Time the event occured in Central Standard Time (no daylight savings) |
| definitionKey | string | Unique identifier of the definition. |
| eventID | integer | Numeric identifier of the event. |
| messageKey | string | Unique identifier to track message send status. |
| contactKey | string | Unique identifier for a subscriber. |
| to | string | Channel address of the recipient. For email, it’s the recipient's email address. For SMS, it’s the recipient's mobile number. |
Response | Reason |
---|
200 OK | Success. Review example response. |
400 Bad Request | Invalid request |
401 Unauthorized | Failed to pass authorization. |
500 Server Error | Internal error |