※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。
Time_entries
Supported Formats
json
GET /api/v1/time_entries
>>>
List time entries
Supported Formats
jsonExamples
GET /api/v1/time_entries 200 [ { "id": 85, "time_trackable_id": 992, "time_tracker_id": 260, "updated_at": "2022-04-01T21:00:00.000+09:00", "amount": 0, "input_type": "realtime", "started_at": "2022-04-01T20:00:00.000+09:00", "stopped_at": "2022-04-01T20:30:00.000+09:00", "duration": 1800.0, "html_url": "http://test.host/app/mytasks/992/edit", "user": { "id": 260, "email": "lincoln.ward@treutel.example", "nickname": "Ted Treutel", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "daily": true, "weekly": true, "calendar_zoom_rate": 1, "daily_time": "17:00", "has_password": true, "html_url": "http://test.host/app/users/260/calendar", "is_deactivated": false }, "task": { "id": 992, "key": "http://hermiston.example/youlanda", "title": "Nulla est qui exercitationem.", "url": "http://hermiston.example/youlanda", "safe_url": "http://hermiston.example/youlanda", "label": "[Tennessee gooses] Nulla est qui exercitationem.", "team_id": 465, "parent_id": 991, "root_id": 991, "category": { "id": 991, "title": "key45", "color": 1 }, "team": { "name": "Tennessee gooses" } }, "formatted_duration": "00:30", "team": { "id": 465, "name": "Tennessee gooses", "created_at": "2022-04-01T21:00:00.000+09:00", "updated_at": "2022-04-01T21:00:00.000+09:00", "deleted_at": null, "time_limit": 0, "avatar_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAEAIAAAB1mzrKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAABZElEQVR42u3coUpDURyA8XN0srKiUcGgLBgMgq/gC6hFVHwDBdssaxMMFpEFxaAMkyALZhHBsDhQiwgmsQzHioIcH2Bl4J0f0+9XDxz+937cEy7cG0ulSqXRCIIM0QP8dwaAGQBmAJgBYAaAGQCWy2qjuBt3wnw8jJvxhL6o/krtVAjV1E6FVP35bpkFmLkono7Ori0urU83ydvTf82Jh/3WwfnG5cdTBrt5BMEMADMAzACwOFhvQ8vH28tzU/m3fHF4rHv1+fblqzN+dFXbe6zTk/bKJwBmAJgBYAaAGQBmAJgBYAaAGQBmAJgBYAaAGQBmAJgBYAaAGQBmAJgBYAaAGQBmAJgBYAaAGQBmAJgBYAaAGQBmAJgBYAaAGQBmAJgBYAaAGQBmAJgBYAaAZfa3lN9xXb+7f90aiblaPOtebU2+33yuhNWwQM/ZuwH7Uv7v8QiCGQBmAJgBYAaAGQBmANg3fkU4PNwQ87oAAAAASUVORK5CYII=", "ancestry": null, "html_url": "http://test.host/app/teams/465/edit", "descendants_names": [], "payment_required": false, "price_users_count": 1, "payable": true, "free_ends_at": "2022-04-15T21:00:00.000+09:00", "rounding": "floor", "capacity": null, "premium": false, "personal": false } } ]
GET /api/v1/time_entries 200 [ { "id": 86, "time_trackable_id": 995, "time_tracker_id": 261, "updated_at": "2022-04-01T21:00:00.000+09:00", "amount": 0, "input_type": "realtime", "started_at": "2022-04-01T20:00:00.000+09:00", "stopped_at": "2022-04-01T20:30:00.000+09:00", "duration": 1800.0, "html_url": "http://test.host/app/mytasks/995/edit", "user": { "id": 261, "email": "elana@ryan.test", "nickname": "Latrisha Parisian IV", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "daily": true, "weekly": true, "calendar_zoom_rate": 1, "daily_time": "17:00", "has_password": true, "html_url": "http://test.host/app/users/261/calendar", "is_deactivated": false }, "task": { "id": 995, "key": "http://weissnat.example/annamae", "title": "Est qui incidunt ipsam.", "url": "http://weissnat.example/annamae", "safe_url": "http://weissnat.example/annamae", "label": "[Missouri exorcists] Est qui incidunt ipsam.", "team_id": 466, "parent_id": 994, "root_id": 994, "category": { "id": 994, "title": "key46", "color": 1 }, "team": { "name": "Missouri exorcists" } }, "formatted_duration": "00:30", "team": { "id": 466, "name": "Missouri exorcists", "created_at": "2022-04-01T21:00:00.000+09:00", "updated_at": "2022-04-01T21:00:00.000+09:00", "deleted_at": null, "time_limit": 0, "avatar_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAEAIAAAB1mzrKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAAJMUlEQVR42u2ce1QU1x3H792Z2QXB1xYNKF0eAsLGoAerVCtGqzwSjAY1C9RTCfGIBc0xVo01xGMVjaYmkhwjxhiL1tZFBRFzRB6JEjQYBa1tcIGVXTYIokYExcfCvPrHYIPO3nUFZme23c9fe+b3m3t/v/u9M/exdxf6+WVldXQAJyIhEzuA/3ecAoiMUwCRcQogMk4BRMYpgMg4BRAZvHe3LX5r3H15uts64gH41Bb/XK/aOGpNk0tHBbNO7JSfTeqPYXvkRxQMNhsk2+J/9tOmJvpC1Sct42n189bVewE6iHSP9103Qpv83RYSJhi0+WwF6BSw4frOhNe9wrHG1dvDU+U2NT1HJ0aHdV2p8umNAHZ6Bc1TBEcS6+QqrBm+YZ8ae0dClLqM+M6eNdpJgCF7FFfB9egj/s14gz3Ts51BlGIvLH81bVQJbrZnvXYdhH8XpFbj/7ZnjbYzZ2vgX4lZCiNWBN62Z72CCGC81f4jG8y/Ht42YjUm99UMjpWdtmeStpCQotbgxRYMviAL3G926ahgBZk+CCJA7qTaFnIpMtUo9bdEhRD19o7QucNvYhtC7v+iVhbJt1a9c2MvM7GmqpViqoWoXRAByjuuaemD7HQwBtzgW+e3BOcTHxJTsXT4ihC1Py/xKSEaohhlLYjXV5Jlrqdwf7BWiNoFEeDeta4q9tXKzJbxjIVpmXKBy1HARN32U+LnhKjddlz3Eh/BzbPPB17AJ/Ct1H6mDZw9oTOsotpdvyH8oeMI4GLEisHbJ3T1K6l2lE9ioPgD8ms3A5LxYLffE2+CvXxrece1g/Q/2hebA9kRLkasGCwTIgZBBFAw+GyYXFhoMJAUk8yeAfV8n8n5I2MwlWrX4D/JtELEYAsJUeoy9GhUsEb/FvUV99nFgBdBQWZHggggV2HNYH5rxaMb7MOKuOaTdKMFJxNIA+4JKSEaokSIGKwTtFo5DvMYpxz+tWw33/owgxoAlpdWm8qpuO6MfLBmIMgSUpgnQPVzuMfjr1ZRyEnn/HPBXvhOPEk2FE4RIhIUCZHqMhzZ94snGDdRY8wzKCO7hbsiVzmUAHIfWdPjLYeT7xoKKA/zDMoItvA9PUa4boTDZ47xnYodEyISPgoGmwOT41KDXIgElE9+kT6T2vNERiqsCc4XIh4BX0Hc5wcHyH3sohKPhjvUJJR/YuCLauJfQkTCJ+Yvo+bgtweXKlYAPd/akvMAY/d/t6JpNq3jZeQ4TwCeJBsKInpeyS/Sb3+yT/UkYrb3B9gMb/PAybIMIeLpSUJUiJXttjxzbSmVwU5nx7BPrGDw9VALxgkRjyACEAuffqefOX7tPfqbm0se1LCWljwmkAbc41PU8egFUd/htkDCh4xwk3WhfHK96uLINfzreJJM+WSX6i8EegKwp8JlktkzbH1eZ10ptQl1l+Zg8Eb8b9h6mRaOEyKq+CXqePSMq/JYy3lG1Zh6dyuTaKGZsmEECBAiKkEEwBAP7OHE2nXkQm57i28dph+ggaEzlvksxT7v33i4WdY8xehIHLmhdgSxfyXLhhFQkKbvLl+IQjFEf+H61/nL15MYJerexCB1vw/I3CyLm3HxrY8WUatAemGhwUBRFhqoDFYDTyFaqbt8QQotg9XAC2U99EXNYTIaZZ06SJWILRjxa/clMuR+6vOSYHV04Zr+YQY5gF3Ot8IGmAYGCtFK3W0lRKGwAaYBd5T1ZJYhmnK5F9DZCcIs3HsaVAPP+BS1pj8GZE7IiNBftmFzUD4H9TodGYrMxQSs5NJ3hBHAatCdMrqAzc7/XG8mc1A+Gm1wBr6/7+9fzZaQ20QeJyrfqt925zJz+59jb7xDI+VxSAFsIaekZho1GWV9YbdbCIyenuezC1vfu/LhaVgNPTUHQzLw/Sgf7VWdjgp9nlL7H9EEqMttTaFNl+/cmsksQfkkBqnVRC+3rKddUr2ErfRc67YDzuNbO/3pGLAjv0i/nfxSrBbgEPlkXE6JbhqJfA6mXVSFYis917rvkM17nlIBACDB6vdcJwoNBoq6h3cuYqeK2wIiC/DVC/XZVO2DA+Q+sMhCcNkwAgTEfxDSiufZXuawrgG3Zf6/XeZrZT2hvXpFR44VN/fuHMWt/tEichWbfjz86kSqEuXzeCCF1dCm+Ti3xY1aDNbHth1g8YvLb3xJTxQ3dw5JHM7NKa2ZRv4GZfVKcKNh0pTl3t5YuC2lzVOMjiSQK16t1Umn/ZGEAD98fGsDva3GvTWYKUX5WN9I4BgbNnwu9rH/8CE+sJZv7ZLRBSA7r64ukPxE7Ix/RhICcGhLdVaeg+hK//fxH9ynyC/AQyifuJjRf8QXo6yF/10AsmFAMkhIAO5LcNR3Z9yhwVj1qI/wIXwrt4c6yzXgEeGNKl+r10lk4O2JhAToaOq6yMYW7jRGUy4oH+5QF//6y62qs9gS7sQR32p4sX0gO6TyWMt5WiV2lk8jIQE4ckp0L6NfROMLPLtkp/grg9duBbyJB6Pu0uqlMunkIzkBuN+ZcH3WgtkE0oB7zBH/64+PuXP7RdNzVbtwC5sW3QNvrT6QzBQ7M8tITgCOnN06K1vW0Yf9mnET93nCCq9LMt2geoUCXOJ7nnzXWEB53I00Z7JBYudkGYkKcLSuLoDMJMuZzeAk38o1unKB61HIzBzjOxXPR5UjzYG3JxIVoG2z+Wt2UPGEhk3USxaCzoYRICDqJz8l/v2MWb5X8L/zfYwD2tew3hcuX0+ilc+uTzwkKgBHTonOypb10n1hy+VnfDWDY6GFk3faEmurCukgaQHOxTUXUY2Nqfe2shZOKow0D5wMLZwj6mpkRoIjeZ11paTgp4z6jqQFYH3ZLHD/0Hs1HuRc2+8qfsM4kvLjjpWLncGzkbQAHLmTaluopfQGNhFctsVfattt1nEAAX6SP/RgjKc+M+2k/2Dds+HC3Vj2V98Pbd5Gd9lWtvg4gAAc2pKaZw6qOQ4y8PbEYQT4VtkYQe/mTi/zrdyKIder9nVLJzulTC//K8L+cCeW1y0rZzt3hcJhf36y5zS5dFSwFW1eZiUryBFa4XAYAThOfWbaSaWe8jMB3unSOOBgfZ8DOv+2UlwcZgz4X8UpgMg4BRAZpwAi4xRAZJwCiIxTAJFxCiAy/wH3LmJYvyjHkwAAAABJRU5ErkJggg==", "ancestry": null, "html_url": "http://test.host/app/teams/466/edit", "descendants_names": [], "payment_required": false, "price_users_count": 1, "payable": true, "free_ends_at": "2022-04-15T21:00:00.000+09:00", "rounding": "floor", "capacity": null, "premium": false, "personal": false } } ]
Params
Param name | Description |
---|---|
stopped_at optional |
Stopped at (unixtime) Validations:
|
started_since optional |
Started at since (unixtime) Validations:
|
started_until optional |
Started at until (unixtime) Validations:
|
created_since optional |
Started at since (unixtime) Validations:
|
updated_since optional |
Updated at since (unixtime) Validations:
|
deleted_since optional |
Deleted at since (unixtime) Validations:
|
input_type optional |
Validations:
|
team_id optional |
Validations:
|
user_id optional |
Validations:
|
category_id optional |
Validations:
|
per_page optional |
Validations:
|
page optional |
Validations:
|
GET /api/v1/time_entries/:id
>>>
Get time entry
Supported Formats
jsonExamples
GET /api/v1/time_entries/87 200 { "id": 87, "started_at": "2025-08-13T09:05:49.000+09:00", "stopped_at": "2025-08-13T10:05:49.000+09:00", "time_trackable_id": 998, "time_trackable_type": "Task", "time_tracker_id": 262, "time_tracker_type": "User", "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T10:05:49.000+09:00", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 467, "input_type": "realtime", "stopped_at_seconds": 1755047149, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/998/edit", "user": { "id": 262, "nickname": "Kerry Toy DDS", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-08-13T09:05:48.000+09:00", "updated_at": "2025-08-13T09:05:49.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-08-13T09:05:48.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "id": 998, "key": "http://carroll.example/waldo", "title": "Qui voluptatem non hic.", "url": "http://carroll.example/waldo", "team_id": 467, "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T10:05:49.000+09:00", "deleted_at": null, "description": null, "category": { "id": 997, "key": "key47", "title": "key47", "url": null, "team_id": 467, "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T10:05:49.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "69ffd2c0e7773667b770899a7e900d1a", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "state": "open", "bill": 0, "ancestry": "997", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "d0b8441764448a5a0a110900b0112e12", "archived": false, "category_id": 997, "ancestry_path": "/997/", "selectable": true, "team": { "id": 467, "name": "Iowa griffins", "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T09:05:49.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 485, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false } }, "comment": null, "team": { "id": 467, "name": "Iowa griffins", "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T09:05:49.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 485, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false }, "category": { "id": 997, "key": "key47", "title": "key47", "url": null, "team_id": 467, "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T10:05:49.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "69ffd2c0e7773667b770899a7e900d1a", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }
POST /api/v1/time_entries
>>>
Create a time entry
Supported Formats
jsonExamples
POST /api/v1/time_entries { "task": { "key": "http://price.example/reiko_bailey", "parent_id": "1002", "team_id": "468", "title": "Praesentium suscipit deleniti quae.", "url": "http://price.example/reiko_bailey" } } 200 { "id": 88, "started_at": "2025-08-13T09:05:49.000+09:00", "stopped_at": null, "time_trackable_id": 1003, "time_trackable_type": "Task", "time_tracker_id": 263, "time_tracker_type": "User", "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T09:05:49.000+09:00", "deleted_at": null, "duration": 0.88141613, "amount": 0, "team_id": 468, "input_type": "realtime", "stopped_at_seconds": 0, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "00:00", "html_url": "http://test.host/app/mytasks/1003/edit", "user": { "id": 263, "nickname": "Lindsay Streich", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T09:05:49.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-08-13T09:05:49.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "state": "open", "category_id": 1002, "updated_at": "2025-08-13T09:05:49.000+09:00", "id": 1003, "key": "http://price.example/reiko_bailey", "title": "Praesentium suscipit deleniti quae.", "url": "http://price.example/reiko_bailey", "team_id": 468, "created_at": "2025-08-13T09:05:49.000+09:00", "deleted_at": null, "description": null, "category": { "id": 1002, "key": "key49", "title": "key49", "url": null, "team_id": 468, "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T09:05:49.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 3, "deleted_at_seconds": 0, "key_md5": "9254884dee5a10d616af3a660054b834", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "1002", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "55fc74af153f30e00fbdf8c6be487257", "archived": false, "ancestry_path": "/1002/", "selectable": true, "team": { "id": 468, "name": "Vermont worshipers", "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T09:05:49.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 486, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false } }, "comment": null, "team": { "id": 468, "name": "Vermont worshipers", "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T09:05:49.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 486, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false }, "category": { "id": 1002, "key": "key49", "title": "key49", "url": null, "team_id": 468, "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T09:05:49.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 3, "deleted_at_seconds": 0, "key_md5": "9254884dee5a10d616af3a660054b834", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }
POST /api/v1/time_entries { "parent": { "key": "key52", "title": "key52", "url": "https://example.com" }, "task": { "key": "http://hoppe-larkin.example/clement", "parent_id": "1005", "team_id": "469", "title": "Et quidem repudiandae ipsam.", "url": "http://hoppe-larkin.example/clement" } } 200 { "id": 89, "started_at": "2025-08-13T09:05:50.000+09:00", "stopped_at": null, "time_trackable_id": 1008, "time_trackable_type": "Task", "time_tracker_id": 264, "time_tracker_type": "User", "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "duration": 0.350527338, "amount": 0, "team_id": 469, "input_type": "realtime", "stopped_at_seconds": 0, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "00:00", "html_url": "http://test.host/app/mytasks/1008/edit", "user": { "id": 264, "nickname": "Murray Towne", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-08-13T09:05:49.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-08-13T09:05:49.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "state": "open", "category_id": 1005, "updated_at": "2025-08-13T09:05:50.000+09:00", "id": 1008, "key": "http://hoppe-larkin.example/clement", "title": "Et quidem repudiandae ipsam.", "url": "http://hoppe-larkin.example/clement", "team_id": 469, "created_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "description": null, "category": { "id": 1005, "key": "key50", "title": "key50", "url": null, "team_id": 469, "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "5a8e00b1cd2930e44ed84b8bbbf44f7a", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "1005", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "c07a39bc1834c8ab33b8272ce2db349b", "archived": false, "ancestry_path": "/1005/", "selectable": true, "team": { "id": 469, "name": "New Hampshire lions", "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 487, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false } }, "comment": null, "team": { "id": 469, "name": "New Hampshire lions", "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 487, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false }, "category": { "id": 1005, "key": "key50", "title": "key50", "url": null, "team_id": 469, "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "5a8e00b1cd2930e44ed84b8bbbf44f7a", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }
POST /api/v1/time_entries { "parent": { "key": "key55", "title": "key55", "url": "https://example.com" }, "task": { "key": "http://zieme.example/shela", "parent_id": "1010", "team_id": "470", "title": "Minima enim atque et.", "url": "https://www.chatwork.com/#!rid123456-123456789012345678" } } 200 { "id": 90, "started_at": "2025-08-13T09:05:50.000+09:00", "stopped_at": null, "time_trackable_id": 1014, "time_trackable_type": "Task", "time_tracker_id": 265, "time_tracker_type": "User", "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "duration": 0.850893422, "amount": 0, "team_id": 470, "input_type": "realtime", "stopped_at_seconds": 0, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "00:00", "html_url": "http://test.host/app/mytasks/1014/edit", "user": { "id": 265, "nickname": "Vincent Corwin", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-08-13T09:05:50.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "state": "open", "category_id": 1013, "updated_at": "2025-08-13T09:05:50.000+09:00", "id": 1014, "key": "https://www.chatwork.com/#!rid123456-123456789012345678", "title": "Minima enim atque et.", "url": "https://www.chatwork.com/#!rid123456-123456789012345678", "team_id": 470, "created_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "description": null, "category": { "id": 1013, "key": "https://example.com", "title": "key55", "url": null, "team_id": 470, "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 4, "deleted_at_seconds": 0, "key_md5": "c984d06aafbecf6bc55569f964148ea3", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "1013", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "4596a21023f5981ae2c5d023c42466f7", "archived": false, "ancestry_path": "/1013/", "selectable": true, "team": { "id": 470, "name": "Iowa dogs", "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 488, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false } }, "comment": null, "team": { "id": 470, "name": "Iowa dogs", "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 488, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false }, "category": { "id": 1013, "key": "https://example.com", "title": "key55", "url": null, "team_id": 470, "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:50.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 4, "deleted_at_seconds": 0, "key_md5": "c984d06aafbecf6bc55569f964148ea3", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }
POST /api/v1/time_entries { "parent": { "key": "key58", "title": "key58", "url": "https://example.com" }, "task": { "key": "http://beatty.example/waylon", "parent_id": "1016", "team_id": "471", "title": "Blanditiis ex et veniam.", "url": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678" } } 200 { "id": 91, "started_at": "2025-08-13T09:05:51.000+09:00", "stopped_at": null, "time_trackable_id": 1020, "time_trackable_type": "Task", "time_tracker_id": 266, "time_tracker_type": "User", "created_at": "2025-08-13T09:05:51.000+09:00", "updated_at": "2025-08-13T09:05:51.000+09:00", "deleted_at": null, "duration": 0.502828005, "amount": 0, "team_id": 471, "input_type": "realtime", "stopped_at_seconds": 0, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "00:00", "html_url": "http://test.host/app/mytasks/1020/edit", "user": { "id": 266, "nickname": "Rev. Loni Gutkowski", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-08-13T09:05:50.000+09:00", "updated_at": "2025-08-13T09:05:51.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-08-13T09:05:50.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "state": "open", "category_id": 1019, "updated_at": "2025-08-13T09:05:51.000+09:00", "id": 1020, "key": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678", "title": "Blanditiis ex et veniam.", "url": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678", "team_id": 471, "created_at": "2025-08-13T09:05:51.000+09:00", "deleted_at": null, "description": null, "category": { "id": 1019, "key": "https://example.com", "title": "key58", "url": null, "team_id": 471, "created_at": "2025-08-13T09:05:51.000+09:00", "updated_at": "2025-08-13T09:05:51.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 4, "deleted_at_seconds": 0, "key_md5": "c984d06aafbecf6bc55569f964148ea3", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "1019", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "e77522b6b66d893e2e207478ae663f1b", "archived": false, "ancestry_path": "/1019/", "selectable": true, "team": { "id": 471, "name": "New Hampshire tigers", "created_at": "2025-08-13T09:05:51.000+09:00", "updated_at": "2025-08-13T09:05:51.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 489, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false } }, "comment": null, "team": { "id": 471, "name": "New Hampshire tigers", "created_at": "2025-08-13T09:05:51.000+09:00", "updated_at": "2025-08-13T09:05:51.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 489, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false }, "category": { "id": 1019, "key": "https://example.com", "title": "key58", "url": null, "team_id": 471, "created_at": "2025-08-13T09:05:51.000+09:00", "updated_at": "2025-08-13T09:05:51.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 4, "deleted_at_seconds": 0, "key_md5": "c984d06aafbecf6bc55569f964148ea3", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }
POST /api/v1/time_entries { "time_entry": { "started_at": "1754957152", "stopped_at": "1755039952", "time_trackable_id": "1023" } } 200 { "id": 92, "started_at": "2025-08-12T09:05:52.000+09:00", "stopped_at": "2025-08-13T08:05:52.000+09:00", "time_trackable_id": 1023, "time_trackable_type": "Task", "time_tracker_id": 267, "time_tracker_type": "User", "created_at": "2025-08-13T09:05:52.000+09:00", "updated_at": "2025-08-13T09:05:52.000+09:00", "deleted_at": null, "duration": 82800.0, "amount": 0, "team_id": 472, "input_type": "realtime", "stopped_at_seconds": 1755039952, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "23:00", "html_url": "http://test.host/app/mytasks/1023/edit", "user": { "id": 267, "nickname": "Dannie Ziemann DDS", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-08-13T09:05:51.000+09:00", "updated_at": "2025-08-13T09:05:52.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-08-13T09:05:51.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "state": "open", "category_id": 1022, "updated_at": "2025-08-13T09:05:52.000+09:00", "id": 1023, "key": "http://kunze-ratke.example/mckinley.stamm", "title": "Odio enim consequatur nesciunt.", "url": "http://kunze-ratke.example/mckinley.stamm", "team_id": 472, "created_at": "2025-08-13T09:05:51.000+09:00", "deleted_at": null, "description": null, "category": { "id": 1022, "key": "key59", "title": "key59", "url": null, "team_id": 472, "created_at": "2025-08-13T09:05:51.000+09:00", "updated_at": "2025-08-13T09:05:52.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "abaa7d430409339e96b89987e883ed1b", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "1022", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "ee71063ad0a5a7c1db24022e61f5c4e5", "archived": false, "ancestry_path": "/1022/", "selectable": true, "team": { "id": 472, "name": "New York witches", "created_at": "2025-08-13T09:05:51.000+09:00", "updated_at": "2025-08-13T09:05:52.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 490, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false } }, "comment": null, "team": { "id": 472, "name": "New York witches", "created_at": "2025-08-13T09:05:51.000+09:00", "updated_at": "2025-08-13T09:05:52.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 490, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false }, "category": { "id": 1022, "key": "key59", "title": "key59", "url": null, "team_id": 472, "created_at": "2025-08-13T09:05:51.000+09:00", "updated_at": "2025-08-13T09:05:52.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "abaa7d430409339e96b89987e883ed1b", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }
POST /api/v1/time_entries { "task": { "key": "http://fay.example/adalberto.wolf", "team_id": "473", "title": "Qui molestiae aut rerum.", "url": "http://fay.example/adalberto.wolf" } } 422 { "messages": [ "選択中のチームでタスクの作成・編集・削除は許可されていません" ] }
POST /api/v1/time_entries { "task": { "key": "http://pollich.test/charmain_murphy", "parent_id": "1026", "team_id": "474", "title": "Dolor repudiandae natus nostrum.", "url": "http://pollich.test/charmain_murphy" } } 422 { "messages": [ "1 error prohibited this Task from being saved. ", "Category is already deleted." ] }
PATCH /api/v1/time_entries/:id
>>>
Update a time entry
Supported Formats
jsonExamples
PATCH /api/v1/time_entries/93 { "time_entry": { "started_at": "1754957153", "time_trackable_id": "1031" } } 200 { "started_at": "2025-08-12T09:05:53.000+09:00", "time_trackable_id": 1031, "team_id": 475, "time_tracker_id": 270, "time_tracker_type": "User", "input_type": "realtime", "stopped_at": "2025-08-13T10:05:53.000+09:00", "deleted_at": null, "stopped_at_seconds": 1755047153, "deleted_at_seconds": 0, "duration": 90000.0, "amount": 0, "id": 93, "time_trackable_type": "Task", "created_at": "2025-08-13T09:05:53.000+09:00", "updated_at": "2025-08-13T09:05:53.000+09:00", "external_identifier": null, "external_provider": "none", "formatted_duration": "25:00", "html_url": "http://test.host/app/mytasks/1031/edit", "user": { "id": 270, "nickname": "Ms. Luther McClure", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-08-13T09:05:52.000+09:00", "updated_at": "2025-08-13T09:05:53.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-08-13T09:05:52.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "state": "open", "category_id": 1030, "updated_at": "2025-08-13T09:05:53.000+09:00", "id": 1031, "key": "http://yost.example/carl", "title": "Molestiae quis expedita aut.", "url": "http://yost.example/carl", "team_id": 475, "created_at": "2025-08-13T09:05:53.000+09:00", "deleted_at": null, "description": null, "category": { "id": 1030, "key": "key64", "title": "key64", "url": null, "team_id": 475, "created_at": "2025-08-13T09:05:53.000+09:00", "updated_at": "2025-08-13T09:05:53.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 3, "deleted_at_seconds": 0, "key_md5": "68c80146ebd178ece3d4f17554d1af74", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "1030", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "edc87f99775fbaa1e6999089f4aedbfd", "archived": false, "ancestry_path": "/1030/", "selectable": true, "team": { "id": 475, "name": "Delaware people", "created_at": "2025-08-13T09:05:52.000+09:00", "updated_at": "2025-08-13T09:05:53.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 493, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false } }, "comment": null, "team": { "id": 475, "name": "Delaware people", "created_at": "2025-08-13T09:05:52.000+09:00", "updated_at": "2025-08-13T09:05:53.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 493, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false }, "category": { "id": 1030, "key": "key64", "title": "key64", "url": null, "team_id": 475, "created_at": "2025-08-13T09:05:53.000+09:00", "updated_at": "2025-08-13T09:05:53.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 3, "deleted_at_seconds": 0, "key_md5": "68c80146ebd178ece3d4f17554d1af74", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }
PATCH /api/v1/time_entries/94 {} 200 { "id": 94, "started_at": "2025-08-13T09:05:53.000+09:00", "stopped_at": "2025-08-13T10:05:53.000+09:00", "time_trackable_id": 1034, "time_trackable_type": "Task", "time_tracker_id": 271, "time_tracker_type": "User", "created_at": "2025-08-13T09:05:53.000+09:00", "updated_at": "2025-08-13T10:05:53.000+09:00", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 476, "input_type": "realtime", "stopped_at_seconds": 1755047153, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/1034/edit", "user": { "id": 271, "nickname": "Amb. Jeanett King", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-08-13T09:05:53.000+09:00", "updated_at": "2025-08-13T10:05:53.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-08-13T09:05:53.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "id": 1034, "key": "http://goyette-tillman.example/twana_jerde", "title": "Ipsam voluptate est commodi.", "url": "http://goyette-tillman.example/twana_jerde", "team_id": 476, "created_at": "2025-08-13T09:05:53.000+09:00", "updated_at": "2025-08-13T10:05:53.000+09:00", "deleted_at": null, "description": null, "category": { "id": 1033, "key": "key65", "title": "key65", "url": null, "team_id": 476, "created_at": "2025-08-13T09:05:53.000+09:00", "updated_at": "2025-08-13T10:05:53.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "1add6a70aef48da2cbdf222441b54815", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "state": "open", "bill": 0, "ancestry": "1033", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "7abc93f8e511fff7a37434c7cc34b4be", "archived": false, "category_id": 1033, "ancestry_path": "/1033/", "selectable": true, "team": { "id": 476, "name": "Virginia nemesis", "created_at": "2025-08-13T09:05:53.000+09:00", "updated_at": "2025-08-13T10:05:53.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 494, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false } }, "comment": null, "team": { "id": 476, "name": "Virginia nemesis", "created_at": "2025-08-13T09:05:53.000+09:00", "updated_at": "2025-08-13T10:05:53.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 494, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false }, "category": { "id": 1033, "key": "key65", "title": "key65", "url": null, "team_id": 476, "created_at": "2025-08-13T09:05:53.000+09:00", "updated_at": "2025-08-13T10:05:53.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "1add6a70aef48da2cbdf222441b54815", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }
PATCH /api/v1/time_entries/:id/stop
>>>
Stop a time entry
Supported Formats
jsonExamples
PATCH /api/v1/time_entries/128/stop 200 { "stopped_at": "2025-08-13T09:06:08.000+09:00", "team_id": 502, "time_trackable_id": 1104, "time_trackable_type": "Task", "time_tracker_id": 293, "time_tracker_type": "User", "started_at": "2025-08-13T09:06:07.000+09:00", "input_type": "realtime", "deleted_at": null, "stopped_at_seconds": 1755043568, "deleted_at_seconds": 0, "duration": 1.0, "amount": 0, "id": 128, "created_at": "2025-08-13T09:06:07.000+09:00", "updated_at": "2025-08-13T09:06:08.000+09:00", "external_identifier": null, "external_provider": "none", "formatted_duration": "00:00", "html_url": "http://www.example.com/app/mytasks/1104/edit", "user": { "id": 293, "nickname": "Kris Rippin PhD", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-08-13T09:06:07.000+09:00", "updated_at": "2025-08-13T09:06:08.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-08-13T09:06:07.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "state": "open", "category_id": 1103, "updated_at": "2025-08-13T09:06:08.000+09:00", "id": 1104, "key": "Aetlaudantiumiure", "title": "A et laudantium iure.", "url": "", "team_id": 502, "created_at": "2025-08-13T09:06:07.000+09:00", "deleted_at": null, "description": null, "category": { "id": 1103, "key": "key88", "title": "key88", "url": null, "team_id": 502, "created_at": "2025-08-13T09:06:07.000+09:00", "updated_at": "2025-08-13T09:06:07.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "3180155ad5bc74501315acac18382334", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "1103", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "0b7dc3395e2ef9347161207eb9994598", "archived": false, "ancestry_path": "/1103/", "selectable": true, "team": { "id": 502, "name": "West Virginia chimeras", "created_at": "2025-08-13T09:06:07.000+09:00", "updated_at": "2025-08-13T09:06:07.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 520, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false } }, "comment": null, "team": { "id": 502, "name": "West Virginia chimeras", "created_at": "2025-08-13T09:06:07.000+09:00", "updated_at": "2025-08-13T09:06:07.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 520, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false }, "category": { "id": 1103, "key": "key88", "title": "key88", "url": null, "team_id": 502, "created_at": "2025-08-13T09:06:07.000+09:00", "updated_at": "2025-08-13T09:06:07.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "3180155ad5bc74501315acac18382334", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }
PATCH /api/v1/time_entries/129/stop 403 { "messages": [ "You are not authorized to access this page." ] }
DELETE /api/v1/time_entries/:id
>>>
Destroy a time entry
Supported Formats
jsonExamples
DELETE /api/v1/time_entries/97 {} 204
POST /api/v1/time_entries/:id/comments
>>>
Create a comment
Supported Formats
jsonExamples
POST /api/v1/time_entries/95/comments { "comment": { "content": "Comment😊" } } 200 { "id": 95, "started_at": "2025-08-13T09:05:54.000+09:00", "stopped_at": "2025-08-13T10:05:54.000+09:00", "time_trackable_id": 1037, "time_trackable_type": "Task", "time_tracker_id": 272, "time_tracker_type": "User", "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:54.000+09:00", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 477, "input_type": "realtime", "stopped_at_seconds": 1755047154, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/1037/edit", "user": { "id": 272, "nickname": "Kimberley Gislason", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:54.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-08-13T09:05:54.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "state": "open", "updated_at": "2025-08-13T09:05:54.000+09:00", "id": 1037, "key": "http://king-gutmann.example/leandro", "title": "Aut officia iure omnis.", "url": "http://king-gutmann.example/leandro", "team_id": 477, "created_at": "2025-08-13T09:05:54.000+09:00", "deleted_at": null, "description": null, "category": { "id": 1036, "key": "key66", "title": "key66", "url": null, "team_id": 477, "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:54.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "cacdcd15544512fd8e50f2417c5f33aa", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "1036", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "b9b46516b80c888b095832f30d1ad979", "archived": false, "category_id": 1036, "ancestry_path": "/1036/", "selectable": true, "team": { "id": 477, "name": "Vermont horses", "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:54.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 495, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false } }, "comment": { "id": 1, "content": "Comment😊", "commentable_id": 95, "commentable_type": "ActsAsTimeTrackable::ActiveRecordStores::TimeEntry", "user_id": 272, "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:54.000+09:00", "deleted_at": null }, "team": { "id": 477, "name": "Vermont horses", "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:54.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 495, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false }, "category": { "id": 1036, "key": "key66", "title": "key66", "url": null, "team_id": 477, "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:54.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "cacdcd15544512fd8e50f2417c5f33aa", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }
POST /api/v1/time_entries/96/comments { "comment": { "content": "Comment_2" } } 200 { "id": 96, "started_at": "2025-08-13T09:05:54.000+09:00", "stopped_at": "2025-08-13T10:05:54.000+09:00", "time_trackable_id": 1040, "time_trackable_type": "Task", "time_tracker_id": 273, "time_tracker_type": "User", "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:55.000+09:00", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 478, "input_type": "realtime", "stopped_at_seconds": 1755047154, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/1040/edit", "user": { "id": 273, "nickname": "Starr Koepp DC", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:55.000+09:00", "deleted_at": null, "avatar": null, "daily": true, "daily_time": "2000-01-01T17:00:00.000+09:00", "weekly": true, "time_zone": "Tokyo", "locale": "en", "domain": "timecrowd.net", "reset_password_sent_at": null, "remember_created_at": null, "sign_in_count": 0, "current_sign_in_at": null, "last_sign_in_at": null, "confirmed_at": "2025-08-13T09:05:54.000+09:00", "confirmation_sent_at": null, "deactivated_at": null, "calendar_zoom_rate": 1, "avatar_url": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50" }, "task": { "state": "open", "updated_at": "2025-08-13T09:05:55.000+09:00", "id": 1040, "key": "http://corkery-hermiston.test/elmer", "title": "Voluptas vel nulla doloribus.", "url": "http://corkery-hermiston.test/elmer", "team_id": 478, "created_at": "2025-08-13T09:05:54.000+09:00", "deleted_at": null, "description": null, "category": { "id": 1039, "key": "key67", "title": "key67", "url": null, "team_id": 478, "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:55.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "2b5103582df79747d3978ada467a799e", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "1039", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "422024e6ad0f3a1ab392ec3bb7bfbae5", "archived": false, "category_id": 1039, "ancestry_path": "/1039/", "selectable": true, "team": { "id": 478, "name": "Indiana sons", "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:55.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 496, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false } }, "comment": { "id": 2, "content": "Comment_2", "commentable_id": 96, "commentable_type": "ActsAsTimeTrackable::ActiveRecordStores::TimeEntry", "user_id": 273, "created_at": "2025-08-13T09:05:55.000+09:00", "updated_at": "2025-08-13T09:05:55.000+09:00", "deleted_at": null }, "team": { "id": 478, "name": "Indiana sons", "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:55.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "ancestry": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 496, "tasks_readonly": false, "rounding": "floor", "capacity": null, "premium": false, "personal": false }, "category": { "id": 1039, "key": "key67", "title": "key67", "url": null, "team_id": 478, "created_at": "2025-08-13T09:05:54.000+09:00", "updated_at": "2025-08-13T09:05:55.000+09:00", "deleted_at": null, "description": null, "category": true, "sequential_id": null, "state": "open", "bill": 0, "ancestry": null, "ancestry_depth": 0, "closed_at": null, "color": 1, "position": 2, "deleted_at_seconds": 0, "key_md5": "2b5103582df79747d3978ada467a799e", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true } }