—- plugin —-
description: Rest API for phpList
author : phplist
email : info@phplist.com
type :
compatible : 3.2.3 and later
depends :
conflicts :
similar :
tags : api, rest
downloadurl: https://github.com/phpList/phplist-plugin-restapi/archive/master.zip
bugtracker : http://github.com/phpList/phplist-plugin-restapi/issues
sourcerepo : http://github.com/phpList/phplist-plugin-restapi/
Please see the newer phpList REST API which is included by default in phpList 3.4.0+
It provides a REST API interface to phpList.
This is the continuation of the original REST API plugin by Andreas Ek
If you use this plugin, please sign up to the phpList RestAPI list so that you can be informed of changes.
IMPORTANT: If you have used the API previous to November 2015, you will need to be careful to upgrade to the latest version. A lot has changed in the API, and if you make calls on the old API, they are likely to fail.
The previous version is available on https://github.com/phpList/phplist-plugin-restapi/archive/stable.zip
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Once the plugin is installed, two plugins will list in the “Manage Plugins” page.
The current plugin is the one called restapi and you need to enable it on to use it.
The other plugin provides a set of tests.
The plugin is CI tested on https://travis-ci.org/phpList/phplist-plugin-restapi
The phpUnit tests give examples of how to use the API
Further examples in PHP, and an example Client class, can be found at https://github.com/michield/phplist-restapi-client. Please fork and update the client.
The plugin will add the following entries to the Settings page of phpList
The current state of the plugin allows for simple calls to manipulate lists, subscribers, campaigns and templates.