Create an account now!
HOME FEATURES PRICING CONTACT US ABOUT CUSTOMER LOGIN

Samples

Here you'll find some short examples of how to use the API. The examples are done in Visual Basic so they should be easy to understand for everyone and thus adaptable to a language of your choice.

For .NET users, simply add a web reference to your Visual Studio project.

For Classic ASP/VB users, you can use SOAP tools like the MS SOAP toolkit 3.0, or you can use standard MSXML like we have in this example.

For PHP4 users, you'll have to use a SOAP library such as NuSOAP or PEER. PHP5 users, you can use the built in SOAP libraries like we have in this example.

If you're looking for specific code examples for your environment, please contact us.

Contact.AddContact

The AddContact function is a typical API call, it requires your API key and some other parameters. The function returns an object of type Result.

Click here to see the formatted code.
Click here to download the text from this example.

Contact.GetIsSubscribed

Upon a successful call, this function returns a boolean. If an error occurs, the function returns an object of type Result.

Click here to see the formatted code.
Click here to download the text from this example.

Contact.GetSingleContact

Upon a successful call, this function returns an object of type Contact. If an error occurs, the function returns an object of type Result.

Click here to see the formatted code.
Click here to download the text from this example.

Contact.GetActive

Upon a successful call, this function returns an array of Contact objects. If an error occurs, the function returns an object of type Result.

Click here to see the formatted code.
Click here to download the text from this example.