Sends a testmailing for the mailing with the provided id to a given targetgroup. The targetgroup must be a test targetgroup. A regular targetgroup will be denied. Please be patient, the sendout might take a minute.
1 |
POST https://api.maileon.com/1.0/mailings/:mailingid/checks/testsendout |
Attributes
Parameter | Default | Description |
---|---|---|
test_targetgroup_id | The targetgroup of the test group the testmail should be sent to. |
Response
HTTP status code | Description |
---|---|
200 OK |
If everything was ok. |
400 Bad Request |
If the given targetgroup is no test targetgroup |
404 Not found |
If the target group cannot be found |
Example
POST https://api.maileon.com/1.0/mailings/1/checks/testsendout?test_targetgroup_id=82 Authorization: [XXX] Status: 200 OK