CreateSendAPI (open)
Createsend integration
Syntax
LOADLIB "mod::system/lib/webapi/mail/createsend.whlib";
OBJECTTYPE CreateSendAPI
Description
Get your API keys here: https://webharebv.createsend.com/admin/account/apikeys
API documentation: https://www.campaignmonitor.com/api/
Constructor
Properties
Functions
- RECORD FUNCTION AddSubscriber(STRING listid, STRING name, STRING email, RECORD options)
Subscribe a user
- RECORD FUNCTION GetSubscriber(STRING listid, STRING email)
Retrieve user's subscription status
- RECORD ARRAY FUNCTION ListClients()
List clients in your account
- RECORD ARRAY FUNCTION ListMailingLists(STRING clientid)
List mailinglists for a client
- VARIANT FUNCTION RawAPICall(STRING method, STRING endpoint, RECORD options)
Do a lowlevel call straight to the api
- BOOLEAN FUNCTION RemoveSubscriber(STRING listid, STRING emailaddress)
Unsubscribe a user from a list