There are three states within the activeCollab API:
- Disabled - All API requests are rejected. Please note that, when the API is disabled, both RSS and iCalendar feeds will also stop working.
- Read-Only - Applications can only read data from the API, and all requests that alter or submit data are rejected. This is the default API state after the installation of activeCollab.
- Read and Write - API users can read and write data.
To change the API state check for the API_STATUS in your config/config.php file. If that configuration directive does not exist, add the following line to the file:
define('API_STATUS', 1);
Values this directive can have are:
- 0 - API is disabled;
- 1 - API is read-only;
- 2 - API supports both read and write requests.