Click2Mail Webservices
Click2Mail Webservices allows users to write their own programs to interface with the Click2Mail system. This is particularly handy for automating your direct mailing workflow or adding direct mail functionality to an existing website or program. Our Webservices can help you reduce your operations cost by off loading the expensive and time consuming task of printing, folding and mailing your direct marketing or transactional mailings.
We offer two flavors of API protocols to best meet your programming style or platform: A SOAP API style and a REST API style. Below is a description of each and what products are currently supported through each protocol.
About the SOAP API interface
Our SOAP API interface has support for variable data (Mail Merge) and allows the developer to define a document template and then use that template through the API interface to populate it with data, request a preview of that document, and then send a request to submit the order. The SOAP API interface also allows for the uploading of PDF and Word Documents. This will not support variable data within that uploaded document. Most modern programming languages have support for the SOAP protocol already built in. If not it can be added with an additional library or plugin.
About the REST API interface
Our REST API interface supports the upload of a PDF document and associating that document with a mailing list. It is designed to be user-friendly, as compared with the SOAP API, which requires a good deal of coding. The REST API uses standard HTTP GET, POST and PUT requests to allow the client to communicate with the server. HTTP support is standard in most programming languages so you will most likely not need any additional libraries or plugins.
In order to use the REST API, you will need to enable this option in your account, and also pre-fund your account for REST purchases.

