How to find the ID of a task

To find the ID of a task, find the task in one of the task views and click on the "Options" button. Then click on "Open As Page":
Then the task will open in its own page.
Look at the URL in your browsers address bar and you'll see the task ID after the text: /tasks/ - In the example below the task ID is: 37363