This page is about an old version of Active Collab that's not developed anymore.
Click here to open the documentation for the latest version.

Checking the API URL

When using the activeCollab API, check that you have received a valid API URL from your users. This is especially useful if you do not know where activeCollab is installed. By inserting the correct API URL, your users can help you identify that.

To check if the value is valid, make a simple GET request that adds the check_if_alive GET parameter (set to 1) then read the response.

Run the following command:

1
curl http://site.com/activecollab/api.php?check_if_alive=1

You should get the following XML response:

1
2
<?xml version="1.0" encoding="UTF-8" ?>
<api_is_alive>yes</api_is_alive>