Lethe Newsletter & Mailing System
API Controls


API Add



http://demo.newslether.com/lethe.api.php?act=add&pkey=[PUBLIC_KEY]&akey=[API_KEY]&lmail=[MAIL_VALUE]&lgrp=[DESTINATION_GROUP]&lsname=[SUBSCRIBER_NAME_VALUE]

API Remove



http://demo.newslether.com/lethe.api.php?act=remove&pkey=[PUBLIC_KEY]&akey=[API_KEY]&lmail=[MAIL_VALUE]

API Check



http://demo.newslether.com/lethe.api.php?act=check&pkey=[PUBLIC_KEY]&akey=[API_KEY]&lmail=[MAIL_VALUE]

API Add to Blacklist



http://demo.newslether.com/lethe.api.php?act=toblacklist&pkey=[PUBLIC_KEY]&akey=[API_KEY]&lmail=[MAIL_VALUE]

API Move to



http://demo.newslether.com/lethe.api.php?act=moveto&pkey=[PUBLIC_KEY]&akey=[API_KEY]&lmail=[MAIL_VALUE]&lgrp=[DESTINATION_GROUP]

API Handler


Detailed API usage informations can be found in script documentation.


<?php

$api_uri = "http://www.example.com/lethe/" # Your Lethe URL Path
		  ."lethe.api.php?" # API Handler File
		  ."act=add" # API action (add,remove,moveto,check,toblacklist)
		  ."&pkey=0a007a664bbf987aa1b2e07857bcfecc" # Organization Public Key
		  ."&akey=NTI3NjhiNDI3NzFkYzRmYWJjNjA0M2Rh" # Organization API Key
		  ."&lmail=[MAIL_VALUE]" # Target E-Mail Value
		  ."&lgrp=8" # Subscriber Group ID (Only for add & moveto actions)
		  ."&lsname=[SUBSCRIBER_NAME_VALUE]" # Subscriber Name Value (Only for add action)

?>