Request
- Base URLhttps://my.clockodo.com/api
- URLhttps://my.clockodo.com/api/v2/clock/{id}
- Auth
- HTTP basic and API key in header X-Clockodo-External-Application
- or API key in header X-ClockodoApiUser and API key in header X-ClockodoApiKey and API key in header X-Clockodo-External-Application
- or OAuth 2Authorization code: /oauth/authorizeToken URL: /token
Path parameters
Query parameters
Seconds the user was away before stopping. The stopped entry ends this many seconds before "time_until".
Only takes effect together with "away" greater than 0: the clock then continues with a new running entry starting at "time_until". Defaults to true; pass false to only stop the clock. Without "away" the clock is always just stopped.
Response
Successful operation
Example response
{
"running": {
"id": 10,
"customers_id": 10,
"time_since": "2023-02-28T00:00:00Z",
"time_insert": "2023-02-28T00:00:00Z",
"time_last_change": "2023-02-28T00:00:00Z",
"customers_name": "Hotel Bergblick",
"projects_name": "Publicity campaign",
"subprojects_name": "Social media ads",
"users_name": "Max Mustermann",
"revenue": 999.9,
"time_last_change_work_time": "2023-02-28T00:00:00Z",
"time_clocked_since": "2023-02-28T00:00:00Z",
"hourly_rate": 99.99,
"services_name": "SEO service"
},
"stopped": {
"id": 10,
"customers_id": 10,
"time_since": "2023-02-28T00:00:00Z",
"time_insert": "2023-02-28T00:00:00Z",
"time_last_change": "2023-02-28T00:00:00Z",
"customers_name": "Hotel Bergblick",
"projects_name": "Publicity campaign",
"subprojects_name": "Social media ads",
"users_name": "Max Mustermann",
"revenue": 999.9,
"time_last_change_work_time": "2023-02-28T00:00:00Z",
"time_clocked_since": "2023-02-28T00:00:00Z",
"hourly_rate": 99.99,
"services_name": "SEO service",
"time_until": "2023-02-28T00:00:00Z"
},
"current_time": "2023-02-28T00:00:00.000Z"
}Changes
- breaking
added to the
response propertyoneOflist for the response status - breaking
the
response's property type changed from no type toobjectfor status - info
removed
subschema #2from theresponse propertyallOflist for the response status - info
added the required property
///to the response with the status
- breaking
- breaking
added to the
response propertyoneOflist for the response status - breaking
the
response's property type changed fromobjectto no type for status - warning
removed the optional property
from the response with the status - info
added
subschema #2to theresponse propertyallOflist for the response status - info
removed from the
response propertyoneOflist for the response status - info
removed
subschema #2from theresponse propertyoneOflist for the response status
- breaking