GetTextOnly

Gets a text only version of the HTML submitted for an Acid Test.

URLs:

Sandbox:

https://sandbox.emailonacid.com/v4/getTextOnly - Default (XML) Request
https://sandbox.emailonacid.com/v4/getTextOnly/xml - XML Request
https://sandbox.emailonacid.com/v4/getTextOnly/json - JSON Request

Production:

https://api.emailonacid.com/v4/getTextOnly - Default (XML) Request
https://api.emailonacid.com/v4/getTextOnly/xml - XML Request
https://api.emailonacid.com/v4/getTextOnly/json - JSON Request

Request:

XML

<?xml version="1.0" encoding="utf-8"?>
<get_text_only>
    <eoa_test_id>UNIQUE EMAIL TEST ID</eoa_test_id>
</get_text_only>

JSON

{
    "eoa_test_id": UNIQUE EMAIL TEST ID
}

JSON Validation Schema:

Click here to download.

Request Details

Element Description Data Type Required
eoa_test_id The reference id for the test to retrieve Integer Y

Response:

XML

<?xml version="1.0" encoding="utf-8"?>
<xml>
    <results>
        <text_only>
            <![CDATA[EMAIL CONTENT]]>
        </text_only>
    </results>
</xml>

JSON

{
  "results": {
    "text_only": "EMAIL CONTENT"
  }
}

Response Details

Element Description
text_only The text only version of the Acid Test's content