VerticalResponse API Java Sample Code

SimpleTest is a sample application that demonstrates how to build basic functionality using the VerticalResponse API and Java.

You can email API Support at api-support@verticalresponse.com if you have any questions.

This sample application goes through the basic workflow of sending an email through the API using Java. It implements the following functionalities:

There is an option to pause between steps on line 62 — feel free to toggle this to your preference.

Prerequisites & Notes

Files Included in the Java Sample Code download

Running The Sample

Installing the Partner Client Certificates

As a partner, you received a P12 certificate from your account manager. Place that file in a directory accessible to the sample code, and then add the path to the certificate and the passphrase to the sample code, around lines 46 and 47. If you are readying your code for production, you'll want to consult our more in-depth Java certificate guide.