※ 現在APIはベータ版です。仕様が変更になる可能性がありますのでご了承ください。

Supported Formats

json

Supported Formats

json

Examples

GET /api/v1/time_entries
200
[
  {
    "id": 8,
    "time_trackable_id": 900,
    "time_tracker_id": 404,
    "updated_at": "2022-04-01T21:00:00.000+09:00",
    "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/900/edit",
    "amount": 0,
    "user": {
      "id": 404,
      "email": "fredric@ankunding-white.test",
      "nickname": "Leonardo Wisozk",
      "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=64",
      "daily": true,
      "weekly": true,
      "calendar_zoom_rate": 1,
      "daily_time": "17:00",
      "has_password": true,
      "html_url": "http://test.host/app/users/404/calendar",
      "is_deactivated": false
    },
    "task": {
      "id": 900,
      "key": "http://farrell.test/joey",
      "title": "Non et debitis ea.",
      "url": "http://farrell.test/joey",
      "safe_url": "http://farrell.test/joey",
      "label": "[Oregon cattle] Non et debitis ea.",
      "team_id": 425,
      "parent_id": 899,
      "root_id": 899,
      "category": {
        "id": 899,
        "title": "key45",
        "color": 1
      },
      "team": {
        "name": "Oregon cattle"
      }
    },
    "formatted_duration": "00:30",
    "team": {
      "id": 425,
      "name": "Oregon cattle",
      "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/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8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orYbt0X7HndUuT+ne2Hvinu9Tzbq4SZs5EtS1vnH3d+Ih5DOsMFMSOXl2uqnkbMbgHrzm+/NBeJEef8D9IvPwe05ZlcEdaP53MJYdUDcQPVLUl6I5L03rkqvrnmcMT+sypx9PnTRutoRZFJb/OrlGOUaJJy3nNwpvMId9kgJWOWcHjr3W7DLlxRJXsh+j7y18IOXKyjNOA/f02bpjpkPEZQbGRoXa8JwncXBvWGCvQOoT5vR0Ye1Aheablk64cM7sbo6wVMMbPnBVGpoCvPkYS+/P09KbeRcuSIuMoYYscxzROYGxaaU8fIYgNjxxn8/s8iOrY9wL4F0z20T/XyCBOcJS3f7Ft58+l3SktKTKT+E7x0eD3T5VAM/B18Qnh4h0XsP+DZxIGwUuBwoAyRDziUCT3/b5FY3sgCZrCpwT2T4DMIviYx1wAWn42lVfCKT+s2FKfgkhH+uY7kxTH+w8fueeohjNDM02LIp6FbiAVG4c+USnoOymDpHV3hn+QZxMz2p/LrtKUOX1J9ZbvDNuVMYYu48rpvlRK+hGchjlGOVt0nLwG7DWkmc6Nac2H4ArIKezpkCjaDJgvEe/9Ll+KFu34j+fqxmyHAJkAAAsitTDLIor4NeM44tZdsZhgJ1xGGBnHAbYGYcBdsZhgJ1xGGBn/gX6+83HFpEBGwAAAABJRU5ErkJggg==",
      "ancestry": null,
      "html_url": "http://test.host/app/teams/425/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": 9,
    "time_trackable_id": 903,
    "time_tracker_id": 405,
    "updated_at": "2022-04-01T21:00:00.000+09:00",
    "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/903/edit",
    "amount": 0,
    "user": {
      "id": 405,
      "email": "noe@balistreri-donnelly.test",
      "nickname": "Mee Jerde",
      "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=64",
      "daily": true,
      "weekly": true,
      "calendar_zoom_rate": 1,
      "daily_time": "17:00",
      "has_password": true,
      "html_url": "http://test.host/app/users/405/calendar",
      "is_deactivated": false
    },
    "task": {
      "id": 903,
      "key": "http://bode.example/brendon.wiza",
      "title": "Sequi rerum unde fuga.",
      "url": "http://bode.example/brendon.wiza",
      "safe_url": "http://bode.example/brendon.wiza",
      "label": "[Maine vixens] Sequi rerum unde fuga.",
      "team_id": 426,
      "parent_id": 902,
      "root_id": 902,
      "category": {
        "id": 902,
        "title": "key46",
        "color": 1
      },
      "team": {
        "name": "Maine vixens"
      }
    },
    "formatted_duration": "00:30",
    "team": {
      "id": 426,
      "name": "Maine vixens",
      "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///////8JWPfcAAAJLElEQVR42u2cfVhT1x3H701CeBERIUAICQ8CWkVERORFBEQICoE6tLZY6lwfn7ablTH1UdcxWnkYc46he2qRuXa+PD7tsD7CJmEg4Z0aXgQMiFKtQwohhHcFwksIyf44dFVvTgzoyb1s+fzlk9/vnvM753vv+Z1z70/w0NC4uIICzAhJ0MgO4P8dowAkYxSAZIwCkIxRAJIxCkAyRgFIhjG/y97K237U9ZaFjXkg/RN9/AuTyoK7zeW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pYpU8dGeEzAfUNRF/N3vwLqddkpQcUS0dtKkfQqrFuk9/6Egskf5PBQSACDMEUm6oAuRZ9vKkqXdxJNBePqmbZzLsKuu94gosukkQjkBQD0duGe1mKuwPEwQogrw/KHMHbwvgr20mE28I+VfSP9G9si0QzkBAML9Jcc7oa+sQ6YDPNld4N9r3l7FsUm2fLDoS8YY0RPUZIy+N3Z1uorsMWmHogLcGKn4vPu86phKqgkjWsGkW3dY7WM6Byk26ChpocLrNt1QVIAnnSOxSk9QIKUlaD7NCuvY9Gv/Rvb2IN8NFQ5JRJ/Ob7rPKXY3u93T8fWNClBUAEC+zld17wS88anbH50mHeMttPx3D2GOqBl+uqYOlBbgNu9O/aBYltGrtVKB7W03YK6lxmK6QOWrHi9aVz7QjbzK6OWhtACaEE2cpqBgdcnarjm8jq4yqb3bywVl5WSP4MVQWgBAYW7pKWnZjFIdrrmnj3++rNiF2on3aRaAAEMPH5+eotWcanjc91C3p3SrbFIxJLnYumowQb+2yWcBCAAQ/l1XQgboTtrUZMEIUPdZU24/E1QvE63gxFCUVB4sNSc70rkxz78VYXhAxfKp8+c2t7qvxN3xJc9YeyR9rInEJ0kjsUqzeXZAEgtGAADIBDWhDXHP5YMkDMMW2NQDcOOfrSSXBZMD/lcxCkAyRgFIxigAyRgFIBmjACRjFIBkjAKQzH8AKi9/ENXO8+MAAAAASUVORK5CYII=",
      "ancestry": null,
      "html_url": "http://test.host/app/teams/426/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:

  • Must be a number.

started_since
optional

Started at since (unixtime)

Validations:

  • Must be a number.

started_until
optional

Started at until (unixtime)

Validations:

  • Must be a number.

created_since
optional

Started at since (unixtime)

Validations:

  • Must be a number.

updated_since
optional

Updated at since (unixtime)

Validations:

  • Must be a number.

deleted_since
optional

Deleted at since (unixtime)

Validations:

  • Must be a number.

input_type
optional

Validations:

  • Must be one of: realtime, manual, automation.

team_id
optional

Validations:

  • Must be a number.

user_id
optional

Validations:

  • Must be a number.

category_id
optional

Validations:

  • Must be a number.

per_page
optional

Validations:

  • Must be a number.

page
optional

Validations:

  • Must be a number.


Supported Formats

json

Examples

GET /api/v1/time_entries/10
200
{
  "id": 10,
  "started_at": "2025-10-21T11:07:26.000+09:00",
  "stopped_at": "2025-10-21T12:07:26.000+09:00",
  "time_trackable_id": 906,
  "time_trackable_type": "Task",
  "time_tracker_id": 406,
  "time_tracker_type": "User",
  "created_at": "2025-10-21T11:07:26.000+09:00",
  "updated_at": "2025-10-21T12:07:26.000+09:00",
  "deleted_at": null,
  "duration": 3600.0,
  "amount": 0,
  "team_id": 427,
  "input_type": "realtime",
  "stopped_at_seconds": 1761016046,
  "deleted_at_seconds": 0,
  "external_identifier": null,
  "external_provider": "none",
  "formatted_duration": "01:00",
  "html_url": "http://test.host/app/mytasks/906/edit",
  "user": {
    "id": 406,
    "nickname": "Adelaide Moore",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2025-10-21T11:07:26.000+09:00",
    "updated_at": "2025-10-21T11:07:27.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-10-21T11:07:26.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=64"
  },
  "task": {
    "id": 906,
    "key": "http://gerlach-schulist.test/mauricio",
    "title": "Explicabo adipisci et culpa.",
    "url": "http://gerlach-schulist.test/mauricio",
    "team_id": 427,
    "created_at": "2025-10-21T11:07:26.000+09:00",
    "updated_at": "2025-10-21T12:07:26.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 905,
      "key": "key47",
      "title": "key47",
      "url": null,
      "team_id": 427,
      "created_at": "2025-10-21T11:07:26.000+09:00",
      "updated_at": "2025-10-21T12:07:26.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": "905",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "bbbccdc7fe05bf274a1ee6421e473f88",
    "archived": false,
    "category_id": 905,
    "ancestry_path": "/905/",
    "selectable": true,
    "team": {
      "id": 427,
      "name": "Kentucky vampires",
      "created_at": "2025-10-21T11:07:26.000+09:00",
      "updated_at": "2025-10-21T11:07:27.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": 550,
      "tasks_readonly": false,
      "rounding": "floor",
      "capacity": null,
      "premium": false,
      "personal": false
    }
  },
  "comment": null,
  "team": {
    "id": 427,
    "name": "Kentucky vampires",
    "created_at": "2025-10-21T11:07:26.000+09:00",
    "updated_at": "2025-10-21T11:07:27.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": 550,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false
  },
  "category": {
    "id": 905,
    "key": "key47",
    "title": "key47",
    "url": null,
    "team_id": 427,
    "created_at": "2025-10-21T11:07:26.000+09:00",
    "updated_at": "2025-10-21T12:07:26.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
  },
  "is_new_task": null
}

POST /api/v1/time_entries >>>
Create a time entry

Supported Formats

json

Examples

POST /api/v1/time_entries
{
  "task": {
    "key": "http://oconnell.example/josiah",
    "parent_id": "910",
    "team_id": "428",
    "title": "Quaerat aut cumque quidem.",
    "url": "http://oconnell.example/josiah"
  }
}
200
{
  "id": 11,
  "started_at": "2025-10-21T11:07:27.000+09:00",
  "stopped_at": null,
  "time_trackable_id": 911,
  "time_trackable_type": "Task",
  "time_tracker_id": 407,
  "time_tracker_type": "User",
  "created_at": "2025-10-21T11:07:27.000+09:00",
  "updated_at": "2025-10-21T11:07:27.000+09:00",
  "deleted_at": null,
  "duration": 0.68344009,
  "amount": 0,
  "team_id": 428,
  "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/911/edit",
  "user": {
    "id": 407,
    "nickname": "Dewey Tillman DDS",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2025-10-21T11:07:27.000+09:00",
    "updated_at": "2025-10-21T11:07:27.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-10-21T11:07:27.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=64"
  },
  "task": {
    "state": "open",
    "category_id": 910,
    "updated_at": "2025-10-21T11:07:27.000+09:00",
    "id": 911,
    "key": "http://oconnell.example/josiah",
    "title": "Quaerat aut cumque quidem.",
    "url": "http://oconnell.example/josiah",
    "team_id": 428,
    "created_at": "2025-10-21T11:07:27.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 910,
      "key": "key49",
      "title": "key49",
      "url": null,
      "team_id": 428,
      "created_at": "2025-10-21T11:07:27.000+09:00",
      "updated_at": "2025-10-21T11:07:27.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": "910",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "aff91bf7370e0b7bccd0825ab8d066fc",
    "archived": false,
    "ancestry_path": "/910/",
    "selectable": true,
    "team": {
      "id": 428,
      "name": "Montana chimeras",
      "created_at": "2025-10-21T11:07:27.000+09:00",
      "updated_at": "2025-10-21T11:07:27.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": 551,
      "tasks_readonly": false,
      "rounding": "floor",
      "capacity": null,
      "premium": false,
      "personal": false
    }
  },
  "comment": null,
  "team": {
    "id": 428,
    "name": "Montana chimeras",
    "created_at": "2025-10-21T11:07:27.000+09:00",
    "updated_at": "2025-10-21T11:07:27.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": 551,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false
  },
  "category": {
    "id": 910,
    "key": "key49",
    "title": "key49",
    "url": null,
    "team_id": 428,
    "created_at": "2025-10-21T11:07:27.000+09:00",
    "updated_at": "2025-10-21T11:07:27.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
  },
  "is_new_task": true
}
POST /api/v1/time_entries
{
  "parent": {
    "key": "key52",
    "title": "key52",
    "url": "https://example.com"
  },
  "task": {
    "key": "http://kerluke-dietrich.example/noel_dicki",
    "parent_id": "913",
    "team_id": "429",
    "title": "Sed odio consequatur et.",
    "url": "http://kerluke-dietrich.example/noel_dicki"
  }
}
200
{
  "id": 12,
  "started_at": "2025-10-21T11:07:28.000+09:00",
  "stopped_at": null,
  "time_trackable_id": 916,
  "time_trackable_type": "Task",
  "time_tracker_id": 408,
  "time_tracker_type": "User",
  "created_at": "2025-10-21T11:07:28.000+09:00",
  "updated_at": "2025-10-21T11:07:28.000+09:00",
  "deleted_at": null,
  "duration": 0.264110215,
  "amount": 0,
  "team_id": 429,
  "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/916/edit",
  "user": {
    "id": 408,
    "nickname": "Wallace Lubowitz",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2025-10-21T11:07:27.000+09:00",
    "updated_at": "2025-10-21T11:07:28.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-10-21T11:07:27.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=64"
  },
  "task": {
    "state": "open",
    "category_id": 913,
    "updated_at": "2025-10-21T11:07:28.000+09:00",
    "id": 916,
    "key": "http://kerluke-dietrich.example/noel_dicki",
    "title": "Sed odio consequatur et.",
    "url": "http://kerluke-dietrich.example/noel_dicki",
    "team_id": 429,
    "created_at": "2025-10-21T11:07:28.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 913,
      "key": "key50",
      "title": "key50",
      "url": null,
      "team_id": 429,
      "created_at": "2025-10-21T11:07:27.000+09:00",
      "updated_at": "2025-10-21T11:07:28.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": "913",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "09e45e9444ebf9b21f56918ac191d7a0",
    "archived": false,
    "ancestry_path": "/913/",
    "selectable": true,
    "team": {
      "id": 429,
      "name": "New Mexico banshees",
      "created_at": "2025-10-21T11:07:27.000+09:00",
      "updated_at": "2025-10-21T11:07:28.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": 552,
      "tasks_readonly": false,
      "rounding": "floor",
      "capacity": null,
      "premium": false,
      "personal": false
    }
  },
  "comment": null,
  "team": {
    "id": 429,
    "name": "New Mexico banshees",
    "created_at": "2025-10-21T11:07:27.000+09:00",
    "updated_at": "2025-10-21T11:07:28.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": 552,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false
  },
  "category": {
    "id": 913,
    "key": "key50",
    "title": "key50",
    "url": null,
    "team_id": 429,
    "created_at": "2025-10-21T11:07:27.000+09:00",
    "updated_at": "2025-10-21T11:07:28.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
  },
  "is_new_task": true
}
POST /api/v1/time_entries
{
  "parent": {
    "key": "key55",
    "title": "key55",
    "url": "https://example.com"
  },
  "task": {
    "key": "http://adams.example/pandora_ledner",
    "parent_id": "918",
    "team_id": "430",
    "title": "Minus labore consequatur sapiente.",
    "url": "https://www.chatwork.com/#!rid123456-123456789012345678"
  }
}
200
{
  "id": 13,
  "started_at": "2025-10-21T11:07:28.000+09:00",
  "stopped_at": null,
  "time_trackable_id": 922,
  "time_trackable_type": "Task",
  "time_tracker_id": 409,
  "time_tracker_type": "User",
  "created_at": "2025-10-21T11:07:28.000+09:00",
  "updated_at": "2025-10-21T11:07:28.000+09:00",
  "deleted_at": null,
  "duration": 0.814985382,
  "amount": 0,
  "team_id": 430,
  "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/922/edit",
  "user": {
    "id": 409,
    "nickname": "Franklin Walter",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2025-10-21T11:07:28.000+09:00",
    "updated_at": "2025-10-21T11:07:28.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-10-21T11:07:28.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=64"
  },
  "task": {
    "state": "open",
    "category_id": 921,
    "updated_at": "2025-10-21T11:07:28.000+09:00",
    "id": 922,
    "key": "https://www.chatwork.com/#!rid123456-123456789012345678",
    "title": "Minus labore consequatur sapiente.",
    "url": "https://www.chatwork.com/#!rid123456-123456789012345678",
    "team_id": 430,
    "created_at": "2025-10-21T11:07:28.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 921,
      "key": "https://example.com",
      "title": "key55",
      "url": null,
      "team_id": 430,
      "created_at": "2025-10-21T11:07:28.000+09:00",
      "updated_at": "2025-10-21T11:07:28.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": "921",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "4596a21023f5981ae2c5d023c42466f7",
    "archived": false,
    "ancestry_path": "/921/",
    "selectable": true,
    "team": {
      "id": 430,
      "name": "Florida druids",
      "created_at": "2025-10-21T11:07:28.000+09:00",
      "updated_at": "2025-10-21T11:07:28.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": 553,
      "tasks_readonly": false,
      "rounding": "floor",
      "capacity": null,
      "premium": false,
      "personal": false
    }
  },
  "comment": null,
  "team": {
    "id": 430,
    "name": "Florida druids",
    "created_at": "2025-10-21T11:07:28.000+09:00",
    "updated_at": "2025-10-21T11:07:28.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": 553,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false
  },
  "category": {
    "id": 921,
    "key": "https://example.com",
    "title": "key55",
    "url": null,
    "team_id": 430,
    "created_at": "2025-10-21T11:07:28.000+09:00",
    "updated_at": "2025-10-21T11:07:28.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
  },
  "is_new_task": true
}
POST /api/v1/time_entries
{
  "parent": {
    "key": "key58",
    "title": "key58",
    "url": "https://example.com"
  },
  "task": {
    "key": "http://monahan-kulas.example/audrea",
    "parent_id": "924",
    "team_id": "431",
    "title": "Rerum non quam ut.",
    "url": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678"
  }
}
200
{
  "id": 14,
  "started_at": "2025-10-21T11:07:29.000+09:00",
  "stopped_at": null,
  "time_trackable_id": 928,
  "time_trackable_type": "Task",
  "time_tracker_id": 410,
  "time_tracker_type": "User",
  "created_at": "2025-10-21T11:07:29.000+09:00",
  "updated_at": "2025-10-21T11:07:29.000+09:00",
  "deleted_at": null,
  "duration": 0.411502632,
  "amount": 0,
  "team_id": 431,
  "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/928/edit",
  "user": {
    "id": 410,
    "nickname": "Brandie Connelly",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2025-10-21T11:07:28.000+09:00",
    "updated_at": "2025-10-21T11:07:29.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-10-21T11:07:28.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=64"
  },
  "task": {
    "state": "open",
    "category_id": 927,
    "updated_at": "2025-10-21T11:07:29.000+09:00",
    "id": 928,
    "key": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678",
    "title": "Rerum non quam ut.",
    "url": "https://kcw.kddi.ne.jp/#!rid123456-123456789012345678",
    "team_id": 431,
    "created_at": "2025-10-21T11:07:29.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 927,
      "key": "https://example.com",
      "title": "key58",
      "url": null,
      "team_id": 431,
      "created_at": "2025-10-21T11:07:29.000+09:00",
      "updated_at": "2025-10-21T11:07:29.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": "927",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "e77522b6b66d893e2e207478ae663f1b",
    "archived": false,
    "ancestry_path": "/927/",
    "selectable": true,
    "team": {
      "id": 431,
      "name": "Texas geese",
      "created_at": "2025-10-21T11:07:28.000+09:00",
      "updated_at": "2025-10-21T11:07:29.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": 554,
      "tasks_readonly": false,
      "rounding": "floor",
      "capacity": null,
      "premium": false,
      "personal": false
    }
  },
  "comment": null,
  "team": {
    "id": 431,
    "name": "Texas geese",
    "created_at": "2025-10-21T11:07:28.000+09:00",
    "updated_at": "2025-10-21T11:07:29.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": 554,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false
  },
  "category": {
    "id": 927,
    "key": "https://example.com",
    "title": "key58",
    "url": null,
    "team_id": 431,
    "created_at": "2025-10-21T11:07:29.000+09:00",
    "updated_at": "2025-10-21T11:07:29.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
  },
  "is_new_task": true
}
POST /api/v1/time_entries
{
  "time_entry": {
    "started_at": "1760926049",
    "stopped_at": "1761008849",
    "time_trackable_id": "931"
  }
}
200
{
  "id": 15,
  "started_at": "2025-10-20T11:07:29.000+09:00",
  "stopped_at": "2025-10-21T10:07:29.000+09:00",
  "time_trackable_id": 931,
  "time_trackable_type": "Task",
  "time_tracker_id": 411,
  "time_tracker_type": "User",
  "created_at": "2025-10-21T11:07:29.000+09:00",
  "updated_at": "2025-10-21T11:07:29.000+09:00",
  "deleted_at": null,
  "duration": 82800.0,
  "amount": 0,
  "team_id": 432,
  "input_type": "realtime",
  "stopped_at_seconds": 1761008849,
  "deleted_at_seconds": 0,
  "external_identifier": null,
  "external_provider": "none",
  "formatted_duration": "23:00",
  "html_url": "http://test.host/app/mytasks/931/edit",
  "user": {
    "id": 411,
    "nickname": "Marion Will",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2025-10-21T11:07:29.000+09:00",
    "updated_at": "2025-10-21T11:07:29.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-10-21T11:07:29.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=64"
  },
  "task": {
    "state": "open",
    "category_id": 930,
    "updated_at": "2025-10-21T11:07:29.000+09:00",
    "id": 931,
    "key": "http://powlowski-konopelski.example/shanna_hane",
    "title": "Excepturi expedita magni quia.",
    "url": "http://powlowski-konopelski.example/shanna_hane",
    "team_id": 432,
    "created_at": "2025-10-21T11:07:29.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 930,
      "key": "key59",
      "title": "key59",
      "url": null,
      "team_id": 432,
      "created_at": "2025-10-21T11:07:29.000+09:00",
      "updated_at": "2025-10-21T11:07:29.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": "930",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "be71f48c4c41398b10d817e51555dbc9",
    "archived": false,
    "ancestry_path": "/930/",
    "selectable": true,
    "team": {
      "id": 432,
      "name": "Minnesota sorcerors",
      "created_at": "2025-10-21T11:07:29.000+09:00",
      "updated_at": "2025-10-21T11:07:29.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": 555,
      "tasks_readonly": false,
      "rounding": "floor",
      "capacity": null,
      "premium": false,
      "personal": false
    }
  },
  "comment": null,
  "team": {
    "id": 432,
    "name": "Minnesota sorcerors",
    "created_at": "2025-10-21T11:07:29.000+09:00",
    "updated_at": "2025-10-21T11:07:29.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": 555,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false
  },
  "category": {
    "id": 930,
    "key": "key59",
    "title": "key59",
    "url": null,
    "team_id": 432,
    "created_at": "2025-10-21T11:07:29.000+09:00",
    "updated_at": "2025-10-21T11:07:29.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
  },
  "is_new_task": null
}
POST /api/v1/time_entries
{
  "task": {
    "key": "http://carroll.example/jaye",
    "team_id": "433",
    "title": "Occaecati qui autem possimus.",
    "url": "http://carroll.example/jaye"
  }
}
422
{
  "messages": [
    "選択中のチームでタスクの作成・編集・削除は許可されていません"
  ]
}
POST /api/v1/time_entries
{
  "task": {
    "key": "http://koch.example/major_thompson",
    "parent_id": "934",
    "team_id": "434",
    "title": "Et sit qui vel.",
    "url": "http://koch.example/major_thompson"
  }
}
422
{
  "messages": [
    "1 error prohibited this Task from being saved. ",
    "Category is already deleted."
  ]
}

Supported Formats

json

Examples

PATCH /api/v1/time_entries/16
{
  "time_entry": {
    "started_at": "1760926050",
    "time_trackable_id": "939"
  }
}
200
{
  "started_at": "2025-10-20T11:07:30.000+09:00",
  "time_trackable_id": 939,
  "team_id": 435,
  "time_tracker_id": 414,
  "time_tracker_type": "User",
  "input_type": "realtime",
  "stopped_at": "2025-10-21T12:07:30.000+09:00",
  "deleted_at": null,
  "stopped_at_seconds": 1761016050,
  "deleted_at_seconds": 0,
  "duration": 90000.0,
  "amount": 0,
  "id": 16,
  "time_trackable_type": "Task",
  "created_at": "2025-10-21T11:07:30.000+09:00",
  "updated_at": "2025-10-21T11:07:31.000+09:00",
  "external_identifier": null,
  "external_provider": "none",
  "formatted_duration": "25:00",
  "html_url": "http://test.host/app/mytasks/939/edit",
  "user": {
    "id": 414,
    "nickname": "Scott Buckridge",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2025-10-21T11:07:30.000+09:00",
    "updated_at": "2025-10-21T11:07:31.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-10-21T11:07:30.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=64"
  },
  "task": {
    "state": "open",
    "category_id": 938,
    "updated_at": "2025-10-21T11:07:31.000+09:00",
    "id": 939,
    "key": "http://cummings.example/lilla_okuneva",
    "title": "Similique ipsum occaecati quaerat.",
    "url": "http://cummings.example/lilla_okuneva",
    "team_id": 435,
    "created_at": "2025-10-21T11:07:31.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 938,
      "key": "key64",
      "title": "key64",
      "url": null,
      "team_id": 435,
      "created_at": "2025-10-21T11:07:31.000+09:00",
      "updated_at": "2025-10-21T11:07:31.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": "938",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "2db41145bf139ae0da7e3f87f1a3b87b",
    "archived": false,
    "ancestry_path": "/938/",
    "selectable": true,
    "team": {
      "id": 435,
      "name": "New Jersey frogs",
      "created_at": "2025-10-21T11:07:30.000+09:00",
      "updated_at": "2025-10-21T11:07:31.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": 558,
      "tasks_readonly": false,
      "rounding": "floor",
      "capacity": null,
      "premium": false,
      "personal": false
    }
  },
  "comment": null,
  "team": {
    "id": 435,
    "name": "New Jersey frogs",
    "created_at": "2025-10-21T11:07:30.000+09:00",
    "updated_at": "2025-10-21T11:07:31.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": 558,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false
  },
  "category": {
    "id": 938,
    "key": "key64",
    "title": "key64",
    "url": null,
    "team_id": 435,
    "created_at": "2025-10-21T11:07:31.000+09:00",
    "updated_at": "2025-10-21T11:07:31.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
  },
  "is_new_task": null
}
PATCH /api/v1/time_entries/17
{}
200
{
  "id": 17,
  "started_at": "2025-10-21T11:07:31.000+09:00",
  "stopped_at": "2025-10-21T12:07:31.000+09:00",
  "time_trackable_id": 942,
  "time_trackable_type": "Task",
  "time_tracker_id": 415,
  "time_tracker_type": "User",
  "created_at": "2025-10-21T11:07:31.000+09:00",
  "updated_at": "2025-10-21T12:07:31.000+09:00",
  "deleted_at": null,
  "duration": 3600.0,
  "amount": 0,
  "team_id": 436,
  "input_type": "realtime",
  "stopped_at_seconds": 1761016051,
  "deleted_at_seconds": 0,
  "external_identifier": null,
  "external_provider": "none",
  "formatted_duration": "01:00",
  "html_url": "http://test.host/app/mytasks/942/edit",
  "user": {
    "id": 415,
    "nickname": "Wes Haley",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2025-10-21T11:07:31.000+09:00",
    "updated_at": "2025-10-21T12:07:31.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-10-21T11:07:31.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=64"
  },
  "task": {
    "id": 942,
    "key": "http://feil.example/gwenda",
    "title": "Ut nulla voluptas consequatur.",
    "url": "http://feil.example/gwenda",
    "team_id": 436,
    "created_at": "2025-10-21T11:07:31.000+09:00",
    "updated_at": "2025-10-21T12:07:31.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 941,
      "key": "key65",
      "title": "key65",
      "url": null,
      "team_id": 436,
      "created_at": "2025-10-21T11:07:31.000+09:00",
      "updated_at": "2025-10-21T12:07:31.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": "941",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "9334f3bb94776d0054ad10c69cd72f0a",
    "archived": false,
    "category_id": 941,
    "ancestry_path": "/941/",
    "selectable": true,
    "team": {
      "id": 436,
      "name": "Louisiana bears",
      "created_at": "2025-10-21T11:07:31.000+09:00",
      "updated_at": "2025-10-21T12:07:31.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": 559,
      "tasks_readonly": false,
      "rounding": "floor",
      "capacity": null,
      "premium": false,
      "personal": false
    }
  },
  "comment": null,
  "team": {
    "id": 436,
    "name": "Louisiana bears",
    "created_at": "2025-10-21T11:07:31.000+09:00",
    "updated_at": "2025-10-21T12:07:31.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": 559,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false
  },
  "category": {
    "id": 941,
    "key": "key65",
    "title": "key65",
    "url": null,
    "team_id": 436,
    "created_at": "2025-10-21T11:07:31.000+09:00",
    "updated_at": "2025-10-21T12:07:31.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
  },
  "is_new_task": null
}

Supported Formats

json

Examples

PATCH /api/v1/time_entries/51/stop
200
{
  "stopped_at": "2025-10-21T11:07:45.000+09:00",
  "team_id": 462,
  "time_trackable_id": 1012,
  "time_trackable_type": "Task",
  "time_tracker_id": 437,
  "time_tracker_type": "User",
  "started_at": "2025-10-21T11:07:45.000+09:00",
  "input_type": "realtime",
  "deleted_at": null,
  "stopped_at_seconds": 1761012465,
  "deleted_at_seconds": 0,
  "duration": 0.0,
  "amount": 0,
  "id": 51,
  "created_at": "2025-10-21T11:07:45.000+09:00",
  "updated_at": "2025-10-21T11:07:45.000+09:00",
  "external_identifier": null,
  "external_provider": "none",
  "formatted_duration": "00:00",
  "html_url": "http://www.example.com/app/mytasks/1012/edit",
  "user": {
    "id": 437,
    "nickname": "Bonny Bailey V",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2025-10-21T11:07:45.000+09:00",
    "updated_at": "2025-10-21T11:07:45.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-10-21T11:07:45.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=64"
  },
  "task": {
    "state": "open",
    "category_id": 1011,
    "updated_at": "2025-10-21T11:07:45.000+09:00",
    "id": 1012,
    "key": "Eosdelenitivoluptatemest",
    "title": "Eos deleniti voluptatem est.",
    "url": "",
    "team_id": 462,
    "created_at": "2025-10-21T11:07:45.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 1011,
      "key": "key88",
      "title": "key88",
      "url": null,
      "team_id": 462,
      "created_at": "2025-10-21T11:07:45.000+09:00",
      "updated_at": "2025-10-21T11:07:45.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": "1011",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "68b46e52cc37979b1651e7984c97bbfa",
    "archived": false,
    "ancestry_path": "/1011/",
    "selectable": true,
    "team": {
      "id": 462,
      "name": "Massachusetts zombies",
      "created_at": "2025-10-21T11:07:45.000+09:00",
      "updated_at": "2025-10-21T11:07:45.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": 585,
      "tasks_readonly": false,
      "rounding": "floor",
      "capacity": null,
      "premium": false,
      "personal": false
    }
  },
  "comment": null,
  "team": {
    "id": 462,
    "name": "Massachusetts zombies",
    "created_at": "2025-10-21T11:07:45.000+09:00",
    "updated_at": "2025-10-21T11:07:45.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": 585,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false
  },
  "category": {
    "id": 1011,
    "key": "key88",
    "title": "key88",
    "url": null,
    "team_id": 462,
    "created_at": "2025-10-21T11:07:45.000+09:00",
    "updated_at": "2025-10-21T11:07:45.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
  },
  "is_new_task": null
}
PATCH /api/v1/time_entries/52/stop
403
{
  "messages": [
    "You are not authorized to access this page."
  ]
}

Supported Formats

json

Examples

DELETE /api/v1/time_entries/20
{}
204

Supported Formats

json

Examples

POST /api/v1/time_entries/18/comments
{
  "comment": {
    "content": "Comment😊"
  }
}
200
{
  "id": 18,
  "started_at": "2025-10-21T11:07:32.000+09:00",
  "stopped_at": "2025-10-21T12:07:32.000+09:00",
  "time_trackable_id": 945,
  "time_trackable_type": "Task",
  "time_tracker_id": 416,
  "time_tracker_type": "User",
  "created_at": "2025-10-21T11:07:32.000+09:00",
  "updated_at": "2025-10-21T11:07:32.000+09:00",
  "deleted_at": null,
  "duration": 3600.0,
  "amount": 0,
  "team_id": 437,
  "input_type": "realtime",
  "stopped_at_seconds": 1761016052,
  "deleted_at_seconds": 0,
  "external_identifier": null,
  "external_provider": "none",
  "formatted_duration": "01:00",
  "html_url": "http://test.host/app/mytasks/945/edit",
  "user": {
    "id": 416,
    "nickname": "Christiane Zboncak",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2025-10-21T11:07:31.000+09:00",
    "updated_at": "2025-10-21T11:07:32.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-10-21T11:07:31.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=64"
  },
  "task": {
    "state": "open",
    "updated_at": "2025-10-21T11:07:32.000+09:00",
    "id": 945,
    "key": "http://runte.example/yesenia_vonrueden",
    "title": "Excepturi ipsum et cum.",
    "url": "http://runte.example/yesenia_vonrueden",
    "team_id": 437,
    "created_at": "2025-10-21T11:07:31.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 944,
      "key": "key66",
      "title": "key66",
      "url": null,
      "team_id": 437,
      "created_at": "2025-10-21T11:07:31.000+09:00",
      "updated_at": "2025-10-21T11:07:32.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": "944",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "9d9d5baa2c733061e5392a393e430fcf",
    "archived": false,
    "category_id": 944,
    "ancestry_path": "/944/",
    "selectable": true,
    "team": {
      "id": 437,
      "name": "Mississippi elves",
      "created_at": "2025-10-21T11:07:31.000+09:00",
      "updated_at": "2025-10-21T11:07:32.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": 560,
      "tasks_readonly": false,
      "rounding": "floor",
      "capacity": null,
      "premium": false,
      "personal": false
    }
  },
  "comment": {
    "id": 1,
    "content": "Comment😊",
    "commentable_id": 18,
    "commentable_type": "ActsAsTimeTrackable::ActiveRecordStores::TimeEntry",
    "user_id": 416,
    "created_at": "2025-10-21T11:07:32.000+09:00",
    "updated_at": "2025-10-21T11:07:32.000+09:00",
    "deleted_at": null
  },
  "team": {
    "id": 437,
    "name": "Mississippi elves",
    "created_at": "2025-10-21T11:07:31.000+09:00",
    "updated_at": "2025-10-21T11:07:32.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": 560,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false
  },
  "category": {
    "id": 944,
    "key": "key66",
    "title": "key66",
    "url": null,
    "team_id": 437,
    "created_at": "2025-10-21T11:07:31.000+09:00",
    "updated_at": "2025-10-21T11:07:32.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
  },
  "is_new_task": null
}
POST /api/v1/time_entries/19/comments
{
  "comment": {
    "content": "Comment_2"
  }
}
200
{
  "id": 19,
  "started_at": "2025-10-21T11:07:32.000+09:00",
  "stopped_at": "2025-10-21T12:07:32.000+09:00",
  "time_trackable_id": 948,
  "time_trackable_type": "Task",
  "time_tracker_id": 417,
  "time_tracker_type": "User",
  "created_at": "2025-10-21T11:07:32.000+09:00",
  "updated_at": "2025-10-21T11:07:32.000+09:00",
  "deleted_at": null,
  "duration": 3600.0,
  "amount": 0,
  "team_id": 438,
  "input_type": "realtime",
  "stopped_at_seconds": 1761016052,
  "deleted_at_seconds": 0,
  "external_identifier": null,
  "external_provider": "none",
  "formatted_duration": "01:00",
  "html_url": "http://test.host/app/mytasks/948/edit",
  "user": {
    "id": 417,
    "nickname": "Elia Bartoletti",
    "image": "https://lh5.googleusercontent.com/-vLvFHrocJuk/AAAAAAAAAAI/AAAAAAAAAEQ/CZsQXc7B2EM/photo.jpg?sz=50",
    "created_at": "2025-10-21T11:07:32.000+09:00",
    "updated_at": "2025-10-21T11:07:32.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-10-21T11:07:32.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=64"
  },
  "task": {
    "state": "open",
    "updated_at": "2025-10-21T11:07:32.000+09:00",
    "id": 948,
    "key": "http://stroman.example/thaddeus.johnson",
    "title": "Reiciendis animi dicta sed.",
    "url": "http://stroman.example/thaddeus.johnson",
    "team_id": 438,
    "created_at": "2025-10-21T11:07:32.000+09:00",
    "deleted_at": null,
    "description": null,
    "category": {
      "id": 947,
      "key": "key67",
      "title": "key67",
      "url": null,
      "team_id": 438,
      "created_at": "2025-10-21T11:07:32.000+09:00",
      "updated_at": "2025-10-21T11:07:32.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": "947",
    "ancestry_depth": 1,
    "closed_at": null,
    "color": 1,
    "position": null,
    "deleted_at_seconds": 0,
    "key_md5": "c0255413a2ce77e75ce64a02d7537cd8",
    "archived": false,
    "category_id": 947,
    "ancestry_path": "/947/",
    "selectable": true,
    "team": {
      "id": 438,
      "name": "Oklahoma goblins",
      "created_at": "2025-10-21T11:07:32.000+09:00",
      "updated_at": "2025-10-21T11:07:32.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": 561,
      "tasks_readonly": false,
      "rounding": "floor",
      "capacity": null,
      "premium": false,
      "personal": false
    }
  },
  "comment": {
    "id": 2,
    "content": "Comment_2",
    "commentable_id": 19,
    "commentable_type": "ActsAsTimeTrackable::ActiveRecordStores::TimeEntry",
    "user_id": 417,
    "created_at": "2025-10-21T11:07:32.000+09:00",
    "updated_at": "2025-10-21T11:07:32.000+09:00",
    "deleted_at": null
  },
  "team": {
    "id": 438,
    "name": "Oklahoma goblins",
    "created_at": "2025-10-21T11:07:32.000+09:00",
    "updated_at": "2025-10-21T11:07:32.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": 561,
    "tasks_readonly": false,
    "rounding": "floor",
    "capacity": null,
    "premium": false,
    "personal": false
  },
  "category": {
    "id": 947,
    "key": "key67",
    "title": "key67",
    "url": null,
    "team_id": 438,
    "created_at": "2025-10-21T11:07:32.000+09:00",
    "updated_at": "2025-10-21T11:07:32.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
  },
  "is_new_task": null
}