paymo.projects.getList
Get a list of projects from the authenticated user's company.
Authentication
This method requires authentication.
Arguments
api_key (Required)
- Your application key. See here for more details.
auth_token (Required)
- Authentication token received upon login.
include_task_lists (Optional)
- If set to 1, the response will also contain each project's task lists info. If not set, it defaults to 0.
include_tasks (Optional)
- If set to 1, the response will also contain each project's tasks info. If not set, it defaults to 0.
If set to 1, include_task_lists will also be set to 1.
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
<projects>
<project id="2083" name="New Business Plan" retired="0">
<client id="289" name="Magic Studios" />
</project>
<project id="1029" name="Annual Report" retired="1">
<client id="71" name="Internal" />
</project>
</projects>
</response>
Error Codes
101: Unknown API method
- The requested method was not found.
102: Unknown response format
- The requested response format was not found.
103: Invalid API Key
- The API key passed was not valid.
104: Invalid auth token / Login failed
- The login details or auth token passed were invalid.
105: Insufficient permissions
- The user making the method call did not have the required permissions.
106: Service currently unavailable
- The service is temporarily unavailable.
107: Too many requests for this API key
- The application has reached the limit for number of API calls during a specific time period. Wait a bit and try again.