London:
0845 337 9170
Manchester:
0161 618 1070
Scotland:
0131 718 6037
API Getting started FAQ List of methods Error Codes Software development kit API in action video

Share your API sample code

Our API enables you to share data and information between dotMailer and for example your CRM system, your marketing database, or your website.

We often get asked for sample code to get our dotMailer users started with the APIs so we've started the dotMailer Sample Code Gallery.

We're starting to collect samples of how to integrate the dotMailer API in various languages and we always need more! If you think you can improve what we have here, or have a sample in a language or framework we don't have yet please send us a copy! We'd be delighted to add it. Please get in touch if you have any code samples you'd like to share with us.

Sample code can be find on the page for each API method. We have sample code for C# for all methods, and for many others, we also have VB.NET and PHP.

Don't see what you want?

Join the dotMailer user community forums for additional support from API users and someone will be able to help you!

Example of use in C#

Example of use in VB.NET

Example of use in PHP

Call us on 020 8662 2762 to get your API switched on.