Newsletter
phpMailing list with confirmed opt in and a working unsubscribe link in every message.
How to use it
No usage notes have been written for this API yet. The dashboard for it
shows the request shape it expects.
Endpoints
Every reply has the same shape: success, code, message, data and request_id. Branch on code, never on message.
POST
/apis/myapis/public.php?action=subscribePublishable key, safe in a pageAdd an address to your mailing list, unconfirmed.
Requires:
email (body)GET
/apis/myapis/public.php?action=confirmNo key, the link token is the credentialConfirm a subscription from the emailed link.
Requires:
token (query)GET
/apis/myapis/public.php?action=unsubscribeNo key, the link token is the credentialRemove an address from the list.
Requires:
token (query)Facts
| Slug | newsletter |
|---|---|
| Installed on | 0 site(s) |
| Status | published |
| In the 2015 catalogue | yes, as api id 1 |
Install on your sites
Sign in as a developer to install this on a site you own.