Clockitin is currently a open beta, be sure to report any issues you find to help improve the service.

Developer API

Clockitin loves developers! You can now add our features to your application by using our Web Service API. More functionality is coming soon in our v2 API.

Any API commands must be issued to http://www.clockit.in/api/ using the methods below. You must be authenticated via a session before being granted access.


Check Login

URL: http://www.clockit.in/api/?do=check_login
Parameters: none
Response: Returns logged_in parameter containing login session value.

Fetch Projects, Tasks & Sessions

URL: http://www.clockit.in/api/?do=fetch_projects
Parameters: none
Response: XML returned containing projects, tasks, and sessions.

Start Session

URL: http://www.clockit.in/api/?do=start_session
Parameters: project_id variable containing a project's ID, and task_id variable containing a task ID of that project.
Response: If successful, session_id parameter will be returned containing session ID of started session.

Stop Session(s)

URL: http://www.clockit.in/api/?do=stop_sessions
Parameters: sessions variable containing single session ID or comma seperated list.
Response: success parameter returned as true if session successfully stopped.

Logout

URL: http://www.clockit.in/api/?do=logout
Parameters: n/a
Response: Session is destroyed and returns logged_out parameter containing logged out session value.