Create a spam test
Starts a new spam test. One spam check credit is consumed per test.
Running a spam test is a 3-step workflow:
- Create the spam test — call this endpoint. The response returns a tracking identifier (
public_full_id) and the seedlist recipients underresults[].email. - Send your email — from your own sending system, send the message you want to test to every address in
results[].email. Include thepublic_full_idsomewhere in the message body so MailReach can match inbound copies back to this test. - Retrieve the results — poll
GET /v1/spam_tests/{public_id}to fetch inbox placement, blacklists, authentication and content analysis.
Warning: email sending is handled on your side. MailReach does not send the test email for you — this endpoint only prepares the test and returns the list of recipients to send to.
Body·
required
application/json
Create a spam test
- Type: integerFormat: int32enumseedlist
Seedlist identifier used for this test. One of
1,2,3or4.values- 1
- 2
- 3
- 4
Responses
- application/json
- application/json
Request Example for post/v1/spam_tests
curl http://api.mailreach.co/api/v1/spam_tests \
--request POST \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: YOUR_SECRET_TOKEN' \
--data '{
"seedlist": 1
}'
{
"public_full_id": "mlrch-c7a47e3e94e98b6fd78d60a",
"public_id": "c7a47e3e94e98b6fd78d60a",
"results": [
{
"id": 6,
"email": "siobhan@reachsecret.com",
"desc": "Google Workspace with smart features",
"first_name": "Siobhan",
"provider": "gmail",
"received_in": "INBOX",
"raw_headers": "string"
}
],
"paid": true,
"created_at": "2026-04-24T12:09:25.365Z",
"first_message_content": "string",
"test_type": "btob",
"completed": false,
"score": 5.7,
"btob_score": 10,
"btoc_score": 0,
"final_score": 10,
"analysis_results": "string",
"domain": "string",
"summary": {
"INBOX": 16
},
"tld": "string",
"blacklist_links": [
"string"
],
"blacklist_sending_ip": [
"string"
],
"sending_provider": "google.com",
"sending_reverse_dns_value": "mail-sor-f41.google.com",
"automated": false,
"automated_test_id": 8,
"spam": false,
"seedlist": 1,
"is_warming": false,
"autofix_triggered": false,
"autofix_completed": false,
"account": "string"
}