# Freshservice - Get task by ID action
The action allows you to retrieve the details of a task based on the task ID.
# Input
| Input field | Description |
|---|---|
| Ticket ID | Provide the ID of the ticket to which the task is assigned. |
| Task ID | Provide the ID of the task to retrieve. |
# Output
| Output field | Description |
|---|---|
| Task ID | Select the ticket ID under which you wish to create a task from the drop-down menu. |
| Agent ID | Provide the title of the task. |
| Status | Select the status of task from the drop-down menu. |
| Due date | Provide the due date of the task. |
| Notify before | Time in seconds before which notification is sent prior to due date. Select the time from the drop-down menu. |
| Title | The title of the task. |
| Description | The description of the task. |
| Created at | The timestamp when the task was created. |
| Updated at | The timestamp when the task was last updated. |
| Closed at | The timestamp when the task was closed. |
| Group ID | The unique ID fo the group the task is assigned to. |
| Deleted | Indicates whether the task has been deleted. |
| Workspace ID | The unique identifier of the workspace where the task belongs. |
| Custom fields | Additional attributes defined for the task. |
| Stack rank | The priority ranking of the task within a list of tasks. |
| Planned start date | Provide planned start date in timestamp format. |
| Planned end date | Provide planned end date in timestamp format. |
| Planned effort | Provide planned efforts in this field. |
Last updated: 5/21/2025, 5:22:32 AM