This is the Newsman App .NET API client for API version 1.2.
Newsman is a Smart Email Service Provider. We send newsletters on behalf of our customers.
Our current API version is 1.2. API documentation can be found here:
Our API requires an API KEY which you can generate in your Account and your Newsman user id. The API exposes XML RPC and REST interfaces.
The REST call type is done over HTTP POST.
Example code:
RESTClient client = new RESTClient("your_user_id", "your_api_key");
var _params = new NameValueCollection();
_params["list_id"] = "list_id";
_params["email"] = "[email protected]";
_params["firstname"] = "firstname";
_params["lastname"] = "lastname";
_params["ip"] = "::1";
_params["props[source]"] = "source";
_params["props[city]"] = "city";
var response = client.CallMethod("subscriber", "saveSubscribe", _params);
Response.Write(response);
Please make sure all strings are UTF-8
encoded.