※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。
Time_entries
Supported Formats
json
GET /api/v1/time_entries
>>>
List time entries
Supported Formats
jsonExamples
GET /api/v1/time_entries 200 [ { "id": 8, "time_trackable_id": 143, "time_tracker_id": 70, "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/143/edit", "user": { "id": 70, "email": "roselyn@walker.test", "nickname": "Rogelio O'Hara", "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/70/calendar", "is_deactivated": false }, "task": { "id": 143, "key": "http://zboncak.test/rebecka", "title": "Reiciendis minus quia architecto.", "url": "http://zboncak.test/rebecka", "safe_url": "http://zboncak.test/rebecka", "label": "[Tennessee elves] Reiciendis minus quia architecto.", "team_id": 69, "parent_id": 142, "root_id": 142, "category": { "id": 142, "title": "key45", "color": 1 }, "team": { "name": "Tennessee elves" } }, "formatted_duration": "00:30", "team": { "id": 69, "name": "Tennessee elves", "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///////8JWPfcAAABRElEQVR42u3cv0pCURzA8d8JC9oddM+5R3DoBXyGwqUht2ZpFIfc8g/N7S3hE1SEg1O4CoKQQ3PD6QUcCm9+0b6f9cDhd++Xe4YL96acO51mMwQ5oAf47wwAMwDMADADwAwAMwCsVNxW6ToNI9J5mtIX9ddyOb9E5HJ+3XyvAgOcXJwuIhqjyyp3a7bjffV2FfF4P6htvpdHEMwAMAPADABLu/Y2tNXt3UQcLY8r61bnX7NJxMNt946e86d8AmAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgCYAWAGgBkAZgBYgX9L2Y7n8VM9otQ+nK1b/Tz76NMT/s7OfSm/bzyCYAaAGQBmAJgBYAaAGQD2DQS2K8dOBYraAAAAAElFTkSuQmCC", "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "html_url": "http://test.host/app/teams/69/edit", "descendants_names": [], "payment_required": false, "price_users_count": 1, "payable": true, "free_ends_at": "2022-04-15T21:00:00.000+09:00" } } ]
GET /api/v1/time_entries 200 [ { "id": 9, "time_trackable_id": 146, "time_tracker_id": 71, "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/146/edit", "user": { "id": 71, "email": "marti.borer@witting.test", "nickname": "Galen Kreiger", "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/71/calendar", "is_deactivated": false }, "task": { "id": 146, "key": "http://lind.test/willie", "title": "Magnam est aspernatur mollitia.", "url": "http://lind.test/willie", "safe_url": "http://lind.test/willie", "label": "[Nevada enchanters] Magnam est aspernatur mollitia.", "team_id": 70, "parent_id": 145, "root_id": 145, "category": { "id": 145, "title": "key46", "color": 1 }, "team": { "name": "Nevada enchanters" } }, "formatted_duration": "00:30", "team": { "id": 70, "name": "Nevada enchanters", "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,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", "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "html_url": "http://test.host/app/teams/70/edit", "descendants_names": [], "payment_required": false, "price_users_count": 1, "payable": true, "free_ends_at": "2022-04-15T21:00:00.000+09:00" } } ]
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/10 200 { "id": 10, "started_at": "2025-06-02T16:24:54.000+09:00", "stopped_at": "2025-06-02T17:24:54.000+09:00", "time_trackable_id": 149, "time_trackable_type": "Task", "time_tracker_id": 72, "time_tracker_type": "User", "created_at": "2025-06-02T16:24:54.000+09:00", "updated_at": "2025-06-02T17:24:54.000+09:00", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 71, "input_type": "realtime", "stopped_at_seconds": 1748852694, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/149/edit", "user": { "id": 72, "nickname": "Diego Bergstrom Jr.", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:24:54.000+09:00", "updated_at": "2025-06-02T16:24: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-06-02T16:24: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": { "id": 149, "key": "http://reynolds.test/veda.stoltenberg", "title": "Vitae similique magni quo.", "url": "http://reynolds.test/veda.stoltenberg", "team_id": 71, "created_at": "2025-06-02T16:24:54.000+09:00", "updated_at": "2025-06-02T17:24:54.000+09:00", "deleted_at": null, "description": null, "category": { "id": 148, "key": "key47", "title": "key47", "url": null, "team_id": 71, "created_at": "2025-06-02T16:24:54.000+09:00", "updated_at": "2025-06-02T17:24: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": "69ffd2c0e7773667b770899a7e900d1a", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "state": "open", "bill": 0, "ancestry": "148", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "e80e6ffd53ebda85b2bdb0d5e8fcccbb", "archived": false, "category_id": 148, "ancestry_path": "/148/", "selectable": true, "team": { "id": 71, "name": "Vermont druids", "created_at": "2025-06-02T16:24:54.000+09:00", "updated_at": "2025-06-02T16:24:54.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 101, "tasks_readonly": false } }, "comment": null, "team": { "id": 71, "name": "Vermont druids", "created_at": "2025-06-02T16:24:54.000+09:00", "updated_at": "2025-06-02T16:24:54.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 101, "tasks_readonly": false }, "category": { "id": 148, "key": "key47", "title": "key47", "url": null, "team_id": 71, "created_at": "2025-06-02T16:24:54.000+09:00", "updated_at": "2025-06-02T17:24: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": "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://botsford.example/shirlene", "parent_id": "153", "team_id": "72", "title": "Quia qui inventore expedita.", "url": "http://botsford.example/shirlene" } } 200 { "id": 11, "started_at": "2025-06-02T16:24:55.000+09:00", "stopped_at": null, "time_trackable_id": 154, "time_trackable_type": "Task", "time_tracker_id": 73, "time_tracker_type": "User", "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24:55.000+09:00", "deleted_at": null, "duration": 0.257811844, "amount": 0, "team_id": 72, "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/154/edit", "user": { "id": 73, "nickname": "Sonya Grimes MD", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:24:54.000+09:00", "updated_at": "2025-06-02T16:24: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-06-02T16:24: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-06-02T16:24:55.000+09:00", "id": 154, "key": "http://botsford.example/shirlene", "title": "Quia qui inventore expedita.", "url": "http://botsford.example/shirlene", "team_id": 72, "created_at": "2025-06-02T16:24:55.000+09:00", "deleted_at": null, "description": null, "category": { "id": 153, "key": "key49", "title": "key49", "url": null, "team_id": 72, "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24: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": 3, "deleted_at_seconds": 0, "key_md5": "9254884dee5a10d616af3a660054b834", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "153", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "a13bdafd4997c30d701137207c835fd6", "archived": false, "category_id": 153, "ancestry_path": "/153/", "selectable": true, "team": { "id": 72, "name": "New Jersey elves", "created_at": "2025-06-02T16:24:54.000+09:00", "updated_at": "2025-06-02T16:24:55.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 102, "tasks_readonly": false } }, "comment": null, "team": { "id": 72, "name": "New Jersey elves", "created_at": "2025-06-02T16:24:54.000+09:00", "updated_at": "2025-06-02T16:24:55.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 102, "tasks_readonly": false }, "category": { "id": 153, "key": "key49", "title": "key49", "url": null, "team_id": 72, "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24: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": 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://heaney.test/vickey", "parent_id": "156", "team_id": "73", "title": "Sapiente aut quis quaerat.", "url": "http://heaney.test/vickey" } } 200 { "id": 12, "started_at": "2025-06-02T16:24:55.000+09:00", "stopped_at": null, "time_trackable_id": 159, "time_trackable_type": "Task", "time_tracker_id": 74, "time_tracker_type": "User", "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24:55.000+09:00", "deleted_at": null, "duration": 0.709462719, "amount": 0, "team_id": 73, "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/159/edit", "user": { "id": 74, "nickname": "Arlean Harris", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24: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-06-02T16:24:55.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-06-02T16:24:55.000+09:00", "id": 159, "key": "http://heaney.test/vickey", "title": "Sapiente aut quis quaerat.", "url": "http://heaney.test/vickey", "team_id": 73, "created_at": "2025-06-02T16:24:55.000+09:00", "deleted_at": null, "description": null, "category": { "id": 156, "key": "key50", "title": "key50", "url": null, "team_id": 73, "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24: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": "5a8e00b1cd2930e44ed84b8bbbf44f7a", "archived": false, "category_id": null, "ancestry_path": "/", "selectable": true }, "sequential_id": null, "bill": 0, "ancestry": "156", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "20d5402616190a9a1d8b8a98b408d278", "archived": false, "category_id": 156, "ancestry_path": "/156/", "selectable": true, "team": { "id": 73, "name": "Hawaii fishes", "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24:55.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 103, "tasks_readonly": false } }, "comment": null, "team": { "id": 73, "name": "Hawaii fishes", "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24:55.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 103, "tasks_readonly": false }, "category": { "id": 156, "key": "key50", "title": "key50", "url": null, "team_id": 73, "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24: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": "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://corwin.test/ilse.keebler", "parent_id": "161", "team_id": "74", "title": "Voluptatem rerum ut blanditiis.", "url": "https://www.chatwork.com/#!rid123456-123456789012345678" } } 200 { "id": 13, "started_at": "2025-06-02T16:24:56.000+09:00", "stopped_at": null, "time_trackable_id": 165, "time_trackable_type": "Task", "time_tracker_id": 75, "time_tracker_type": "User", "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.000+09:00", "deleted_at": null, "duration": 0.187744178, "amount": 0, "team_id": 74, "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/165/edit", "user": { "id": 75, "nickname": "Pres. Rosalyn DuBuque", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24:56.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-06-02T16:24:55.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-06-02T16:24:56.000+09:00", "id": 165, "key": "https://www.chatwork.com/#!rid123456-123456789012345678", "title": "Voluptatem rerum ut blanditiis.", "url": "https://www.chatwork.com/#!rid123456-123456789012345678", "team_id": 74, "created_at": "2025-06-02T16:24:56.000+09:00", "deleted_at": null, "description": null, "category": { "id": 164, "key": "https://example.com", "title": "key55", "url": null, "team_id": 74, "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.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": "164", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "4596a21023f5981ae2c5d023c42466f7", "archived": false, "category_id": 164, "ancestry_path": "/164/", "selectable": true, "team": { "id": 74, "name": "New Hampshire druids", "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24:55.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 104, "tasks_readonly": false } }, "comment": null, "team": { "id": 74, "name": "New Hampshire druids", "created_at": "2025-06-02T16:24:55.000+09:00", "updated_at": "2025-06-02T16:24:55.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 104, "tasks_readonly": false }, "category": { "id": 164, "key": "https://example.com", "title": "key55", "url": null, "team_id": 74, "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.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://fritsch.example/ray_kozey", "parent_id": "167", "team_id": "75", "title": "Omnis quibusdam aut totam.", "url": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678" } } 200 { "id": 14, "started_at": "2025-06-02T16:24:56.000+09:00", "stopped_at": null, "time_trackable_id": 171, "time_trackable_type": "Task", "time_tracker_id": 76, "time_tracker_type": "User", "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.000+09:00", "deleted_at": null, "duration": 0.664491136, "amount": 0, "team_id": 75, "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/171/edit", "user": { "id": 76, "nickname": "Lauren Runolfsson", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.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-06-02T16:24:56.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-06-02T16:24:56.000+09:00", "id": 171, "key": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678", "title": "Omnis quibusdam aut totam.", "url": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678", "team_id": 75, "created_at": "2025-06-02T16:24:56.000+09:00", "deleted_at": null, "description": null, "category": { "id": 170, "key": "https://example.com", "title": "key58", "url": null, "team_id": 75, "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.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": "170", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "e77522b6b66d893e2e207478ae663f1b", "archived": false, "category_id": 170, "ancestry_path": "/170/", "selectable": true, "team": { "id": 75, "name": "Florida enchanters", "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 105, "tasks_readonly": false } }, "comment": null, "team": { "id": 75, "name": "Florida enchanters", "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 105, "tasks_readonly": false }, "category": { "id": 170, "key": "https://example.com", "title": "key58", "url": null, "team_id": 75, "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.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": "1748762696", "stopped_at": "1748845496", "time_trackable_id": "174" } } 200 { "id": 15, "started_at": "2025-06-01T16:24:56.000+09:00", "stopped_at": "2025-06-02T15:24:56.000+09:00", "time_trackable_id": 174, "time_trackable_type": "Task", "time_tracker_id": 77, "time_tracker_type": "User", "created_at": "2025-06-02T16:24:57.000+09:00", "updated_at": "2025-06-02T16:24:57.000+09:00", "deleted_at": null, "duration": 82800.0, "amount": 0, "team_id": 76, "input_type": "realtime", "stopped_at_seconds": 1748845496, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "23:00", "html_url": "http://test.host/app/mytasks/174/edit", "user": { "id": 77, "nickname": "Hans Kuhlman", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:57.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-06-02T16:24:56.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-06-02T16:24:57.000+09:00", "id": 174, "key": "http://tromp.test/maxie", "title": "Qui aut quia porro.", "url": "http://tromp.test/maxie", "team_id": 76, "created_at": "2025-06-02T16:24:56.000+09:00", "deleted_at": null, "description": null, "category": { "id": 173, "key": "key59", "title": "key59", "url": null, "team_id": 76, "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.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": "173", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "9f6fed4904dae780efe475bc012f2c72", "archived": false, "category_id": 173, "ancestry_path": "/173/", "selectable": true, "team": { "id": 76, "name": "Alabama horses", "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 106, "tasks_readonly": false } }, "comment": null, "team": { "id": 76, "name": "Alabama horses", "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 106, "tasks_readonly": false }, "category": { "id": 173, "key": "key59", "title": "key59", "url": null, "team_id": 76, "created_at": "2025-06-02T16:24:56.000+09:00", "updated_at": "2025-06-02T16:24:56.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://wolf.example/karena", "team_id": "77", "title": "Ex consequuntur voluptatem vel.", "url": "http://wolf.example/karena" } } 422 { "messages": [ "選択中のチームでタスクの作成・編集・削除は許可されていません" ] }
POST /api/v1/time_entries { "task": { "key": "http://purdy.test/kimberli", "parent_id": "177", "team_id": "78", "title": "Natus perspiciatis rerum consectetur.", "url": "http://purdy.test/kimberli" } } 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/16 { "time_entry": { "started_at": "1748762697", "time_trackable_id": "182" } } 200 { "started_at": "2025-06-01T16:24:57.000+09:00", "time_trackable_id": 182, "team_id": 79, "time_tracker_id": 80, "time_tracker_type": "User", "deleted_at": null, "id": 16, "input_type": "realtime", "stopped_at": "2025-06-02T17:24:57.000+09:00", "stopped_at_seconds": 1748852697, "deleted_at_seconds": 0, "duration": 90000.0, "amount": 0, "time_trackable_type": "Task", "created_at": "2025-06-02T16:24:57.000+09:00", "updated_at": "2025-06-02T16:24:58.000+09:00", "external_identifier": null, "external_provider": "none", "formatted_duration": "25:00", "html_url": "http://test.host/app/mytasks/182/edit", "user": { "id": 80, "nickname": "Sen. Brenda Abbott", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:24:57.000+09:00", "updated_at": "2025-06-02T16:24:58.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-06-02T16:24:57.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-06-02T16:24:58.000+09:00", "id": 182, "key": "http://hartmann-leuschke.test/gregg", "title": "Mollitia alias minima at.", "url": "http://hartmann-leuschke.test/gregg", "team_id": 79, "created_at": "2025-06-02T16:24:58.000+09:00", "deleted_at": null, "description": null, "category": { "id": 181, "key": "key64", "title": "key64", "url": null, "team_id": 79, "created_at": "2025-06-02T16:24:57.000+09:00", "updated_at": "2025-06-02T16:24:58.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": "181", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "77daca70293fcdecb5408af586e63754", "archived": false, "category_id": 181, "ancestry_path": "/181/", "selectable": true, "team": { "id": 79, "name": "Idaho gooses", "created_at": "2025-06-02T16:24:57.000+09:00", "updated_at": "2025-06-02T16:24:58.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 109, "tasks_readonly": false } }, "comment": null, "team": { "id": 79, "name": "Idaho gooses", "created_at": "2025-06-02T16:24:57.000+09:00", "updated_at": "2025-06-02T16:24:58.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 109, "tasks_readonly": false }, "category": { "id": 181, "key": "key64", "title": "key64", "url": null, "team_id": 79, "created_at": "2025-06-02T16:24:57.000+09:00", "updated_at": "2025-06-02T16:24:58.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/17 {} 200 { "id": 17, "started_at": "2025-06-02T16:24:58.000+09:00", "stopped_at": "2025-06-02T17:24:58.000+09:00", "time_trackable_id": 185, "time_trackable_type": "Task", "time_tracker_id": 81, "time_tracker_type": "User", "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T17:24:58.000+09:00", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 80, "input_type": "realtime", "stopped_at_seconds": 1748852698, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/185/edit", "user": { "id": 81, "nickname": "Kai Reichel", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T17:24:58.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-06-02T16:24:58.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": 185, "key": "http://schroeder.test/donte.heidenreich", "title": "Laudantium amet pariatur molestiae.", "url": "http://schroeder.test/donte.heidenreich", "team_id": 80, "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T17:24:58.000+09:00", "deleted_at": null, "description": null, "category": { "id": 184, "key": "key65", "title": "key65", "url": null, "team_id": 80, "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T17:24:58.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": "184", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "f5ebdeb8fb263eff5372ca4c6a2f50d1", "archived": false, "category_id": 184, "ancestry_path": "/184/", "selectable": true, "team": { "id": 80, "name": "Kentucky cats", "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T17:24:58.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 110, "tasks_readonly": false } }, "comment": null, "team": { "id": 80, "name": "Kentucky cats", "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T17:24:58.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 110, "tasks_readonly": false }, "category": { "id": 184, "key": "key65", "title": "key65", "url": null, "team_id": 80, "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T17:24:58.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/51/stop 200 { "stopped_at": "2025-06-02T16:25:10.000+09:00", "team_id": 106, "time_trackable_id": 255, "time_trackable_type": "Task", "time_tracker_id": 103, "time_tracker_type": "User", "deleted_at": null, "id": 51, "started_at": "2025-06-02T16:25:09.000+09:00", "input_type": "realtime", "stopped_at_seconds": 1748849110, "deleted_at_seconds": 0, "duration": 1.0, "amount": 0, "created_at": "2025-06-02T16:25:09.000+09:00", "updated_at": "2025-06-02T16:25:10.000+09:00", "external_identifier": null, "external_provider": "none", "formatted_duration": "00:00", "html_url": "http://www.example.com/app/mytasks/255/edit", "user": { "id": 103, "nickname": "Arthur Ruecker", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:25:09.000+09:00", "updated_at": "2025-06-02T16:25:10.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-06-02T16:25:09.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-06-02T16:25:10.000+09:00", "id": 255, "key": "Suntnemoconsecteturvoluptas", "title": "Sunt nemo consectetur voluptas.", "url": "", "team_id": 106, "created_at": "2025-06-02T16:25:09.000+09:00", "deleted_at": null, "description": null, "category": { "id": 254, "key": "key88", "title": "key88", "url": null, "team_id": 106, "created_at": "2025-06-02T16:25:09.000+09:00", "updated_at": "2025-06-02T16:25:09.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": "254", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "2224e0ed3bfbc01e8eb39de6f01dfb38", "archived": false, "category_id": 254, "ancestry_path": "/254/", "selectable": true, "team": { "id": 106, "name": "South Dakota giants", "created_at": "2025-06-02T16:25:09.000+09:00", "updated_at": "2025-06-02T16:25:09.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 136, "tasks_readonly": false } }, "comment": null, "team": { "id": 106, "name": "South Dakota giants", "created_at": "2025-06-02T16:25:09.000+09:00", "updated_at": "2025-06-02T16:25:09.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 136, "tasks_readonly": false }, "category": { "id": 254, "key": "key88", "title": "key88", "url": null, "team_id": 106, "created_at": "2025-06-02T16:25:09.000+09:00", "updated_at": "2025-06-02T16:25:09.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/52/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/20 {} 204
POST /api/v1/time_entries/:id/comments
>>>
Create a comment
Supported Formats
jsonExamples
POST /api/v1/time_entries/18/comments { "comment": { "content": "Comment😊" } } 200 { "id": 18, "started_at": "2025-06-02T16:24:58.000+09:00", "stopped_at": "2025-06-02T17:24:58.000+09:00", "time_trackable_id": 188, "time_trackable_type": "Task", "time_tracker_id": 82, "time_tracker_type": "User", "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T16:24:59.000+09:00", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 81, "input_type": "realtime", "stopped_at_seconds": 1748852698, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/188/edit", "user": { "id": 82, "nickname": "Bobbie Tillman", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T16:24:59.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-06-02T16:24:58.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-06-02T16:24:59.000+09:00", "id": 188, "key": "http://williamson-keebler.test/rosemarie", "title": "Sint consequuntur rerum aliquam.", "url": "http://williamson-keebler.test/rosemarie", "team_id": 81, "created_at": "2025-06-02T16:24:58.000+09:00", "deleted_at": null, "description": null, "category": { "id": 187, "key": "key66", "title": "key66", "url": null, "team_id": 81, "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T16:24:59.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": "187", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "c4fd2549868d2a2e169a8a774d716bb9", "archived": false, "category_id": 187, "ancestry_path": "/187/", "selectable": true, "team": { "id": 81, "name": "Wisconsin giants", "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T16:24:59.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 111, "tasks_readonly": false } }, "comment": { "id": 1, "content": "Comment😊", "commentable_id": 18, "commentable_type": "ActsAsTimeTrackable::ActiveRecordStores::TimeEntry", "user_id": 82, "created_at": "2025-06-02T16:24:59.000+09:00", "updated_at": "2025-06-02T16:24:59.000+09:00", "deleted_at": null }, "team": { "id": 81, "name": "Wisconsin giants", "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T16:24:59.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 111, "tasks_readonly": false }, "category": { "id": 187, "key": "key66", "title": "key66", "url": null, "team_id": 81, "created_at": "2025-06-02T16:24:58.000+09:00", "updated_at": "2025-06-02T16:24:59.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/19/comments { "comment": { "content": "Comment_2" } } 200 { "id": 19, "started_at": "2025-06-02T16:24:59.000+09:00", "stopped_at": "2025-06-02T17:24:59.000+09:00", "time_trackable_id": 191, "time_trackable_type": "Task", "time_tracker_id": 83, "time_tracker_type": "User", "created_at": "2025-06-02T16:24:59.000+09:00", "updated_at": "2025-06-02T16:24:59.000+09:00", "deleted_at": null, "duration": 3600.0, "amount": 0, "team_id": 82, "input_type": "realtime", "stopped_at_seconds": 1748852699, "deleted_at_seconds": 0, "external_identifier": null, "external_provider": "none", "formatted_duration": "01:00", "html_url": "http://test.host/app/mytasks/191/edit", "user": { "id": 83, "nickname": "Pedro Denesik", "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50", "created_at": "2025-06-02T16:24:59.000+09:00", "updated_at": "2025-06-02T16:24:59.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-06-02T16:24:59.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-06-02T16:24:59.000+09:00", "id": 191, "key": "http://cremin.example/issac.price", "title": "Dolorem ut omnis cum.", "url": "http://cremin.example/issac.price", "team_id": 82, "created_at": "2025-06-02T16:24:59.000+09:00", "deleted_at": null, "description": null, "category": { "id": 190, "key": "key67", "title": "key67", "url": null, "team_id": 82, "created_at": "2025-06-02T16:24:59.000+09:00", "updated_at": "2025-06-02T16:24:59.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": "190", "ancestry_depth": 1, "closed_at": null, "color": 1, "position": null, "deleted_at_seconds": 0, "key_md5": "2ab32ed1bbf049c756a5af2336f6a9ad", "archived": false, "category_id": 190, "ancestry_path": "/190/", "selectable": true, "team": { "id": 82, "name": "Florida bees", "created_at": "2025-06-02T16:24:59.000+09:00", "updated_at": "2025-06-02T16:24:59.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 112, "tasks_readonly": false } }, "comment": { "id": 2, "content": "Comment_2", "commentable_id": 19, "commentable_type": "ActsAsTimeTrackable::ActiveRecordStores::TimeEntry", "user_id": 83, "created_at": "2025-06-02T16:24:59.000+09:00", "updated_at": "2025-06-02T16:24:59.000+09:00", "deleted_at": null }, "team": { "id": 82, "name": "Florida bees", "created_at": "2025-06-02T16:24:59.000+09:00", "updated_at": "2025-06-02T16:24:59.000+09:00", "deleted_at": null, "time_limit": 0, "avatar": null, "personal": false, "premium": false, "ancestry": null, "rounding": "floor", "capacity": null, "hierarchized": false, "default_duration": 15, "tasks_readonly_role": "none", "workspaces_workspace_id": 112, "tasks_readonly": false }, "category": { "id": 190, "key": "key67", "title": "key67", "url": null, "team_id": 82, "created_at": "2025-06-02T16:24:59.000+09:00", "updated_at": "2025-06-02T16:24:59.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 } }