Use HTTP GET/POST in any language of your preference. C#, Node.js, Python, JSON and Ajax examples below.
https://newsletter.ie/run/APTE.aspx
https://(your domain)/sensorpro/run/APTE.aspx
All API's require that you authenticate with every request. Your API key is automatically generated in your Trigger campaign and would look like this:
&ApiKey API key System will default
&Camp Campaign id will be defaulted by the system
&BCact Broadcast id will be defaulted by the system
&Email: The email address which will be added to the subscriber database & emailed
&Delay: Delay the email by x minutes
The following parameters can be passed as part of the contact record
| FirstName | DateofBirth | OptOut | Date4 |
| InFix | DateOfLastPurchase | PerState | Date5 |
| LastName | GroupBy1 | PerZip | UserChar10 |
| PersonalEMail | GroupBy2 | PerCountry | UserChar11 |
| Gender | GroupBy3 | JobTitle | UserChar12 |
| PhoneBusiness | GroupByIndustry | PerStreet | UserChar13 |
| BusName | HomeFax | PerStreet1 | UserChar14 |
| BusStreet | Num1 | PerCity | UserChar15 |
| BusStreet1 | Num2 | Category | UserChar2 |
| BusCity | Num3 | BusinessEmail | UserChar3 |
| BusState | Num4 | BusinessEmail1 | UserChar4 |
| BusZip | Num5 | BusinessFax | UserChar5 |
| BusCountry | Pager | BusWebSite | UserChar6 |
| MessagePreference | Password | Date1 | UserChar7 |
| PhoneHome | PersonalEmail1 | Date2 | UserChar8 |
| PhoneMobile | PhoneOther | Date3 | UserChar9 |
You may wish to pass data that is not part of the Sensorpro database i.e. from your own app. This data can be referenced to merge the data into the outgoing email. This data must be passed as encoded XML. Example:
These values can be referenced in the email design using the name value:
{item}
{Cost}
{OrderId}
To check the API call status: Admin/Setup/RequestQueueStatus
This is will list all of the queued calls and whether they have completed or not.
1 Create a Trigger campaign type
2 Select one of the templates provided or insert your own.
3 Note the API key and other parameters from the Broadcast screen
4 Verify your code and start sending.
We love Developers: Get help directly from our Engineering team.
Create your developer account: