Starts the Message Size Quality check for mailing with provided ID. Please be patient, the check might take a minute.
1 |
POST https://api.maileon.com/1.0/mailings/:mailingid/checks/messagesize |
Response
HTTP status code | Description |
---|---|
200 OK |
If everything was ok. |
400 Bad Request |
If check is already running |
404 Not found |
Mailing ID cannot be found |
409 Conflict |
Mailing is sealed |
412 Precondition Failed |
Check is not enabled |
Example
200 OK
1 2 |
POST https://api.maileon.com/1.0/mailings/1234/checks/messagesize 200 |
400 Bad Request
1 2 3 |
POST https://api.maileon.com/1.0/mailings/3108/checks/messagesize 400 <error><message>check in progress</message></error> |
404 Not Found
1 2 3 |
POST https://api.maileon.com/1.0/mailings/3108/checks/messagesize 404 <error><message>Mailing with id 3108 not found.</message></error> |
409 Conflict
1 2 3 |
POST https://api.maileon.com/1.0/mailings/3040/checks/messagesize 409 <error><message>Mailing with ID 3040 cannot be changed as it is sealed.</message></error> |