Methods are executed by calling specific URLs and fetching the formatted output. URLs are formatted in the following format:
http://site.com/activecollab/public/api.php?path_info=#COMMAND#&token=#TOKEN#
Some requests may require more parameters. These parameters are added as regular query string (GET) parameters to the URL. Here is an example with two additional parameters:
http://site.com/activecollab/public/api.php?path_info=#COMMAND#&token=#TOKEN#&variable1=value1&variable2=value2
The API URL that you need to use to send a request (and your token) are available on the API Setting page of your profile page in activeCollab:
Currently supported output formats are XML and JSON. There are two ways of specifying output format:
http://example.com/api.php?path_info=people/1&format=json
Response status is returned with status codes. For example, you will get 200 on success, 403 if you don't have permissions to access the page or 404 when you are trying to get an object that does not exist. You can learn more about HTTP status codes in HTTP 1.1 documentation.
When submitting data to activeCollab by using a POST method, there needs to be a variable named "submitted" with a value of "submitted". If you don't provide it, then activeCollab will reject your request (probably with BAD REQUEST error).