freshworks · Schema
Task
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Unique ID of the task. |
| title | string | Title of the task. |
| description | string | Description of the task. |
| due_date | string | Due date and time. |
| owner_id | integer | ID of the task owner. |
| status | integer | Status of the task. 0=Open, 1=Completed. |
| task_type_id | integer | ID of the task type. |
| outcome_id | integer | ID of the task outcome. |
| targetable_type | string | Type of the associated record (Contact, Deal, Lead). |
| targetable_id | integer | ID of the associated record. |
| created_at | string | Timestamp when created. |
| updated_at | string | Timestamp when last updated. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Task",
"title": "Task",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Unique ID of the task."
},
"title": {
"type": "string",
"description": "Title of the task."
},
"description": {
"type": "string",
"description": "Description of the task."
},
"due_date": {
"type": "string",
"format": "date-time",
"description": "Due date and time."
},
"owner_id": {
"type": "integer",
"description": "ID of the task owner."
},
"status": {
"type": "integer",
"description": "Status of the task. 0=Open, 1=Completed."
},
"task_type_id": {
"type": "integer",
"description": "ID of the task type."
},
"outcome_id": {
"type": "integer",
"description": "ID of the task outcome."
},
"targetable_type": {
"type": "string",
"description": "Type of the associated record (Contact, Deal, Lead)."
},
"targetable_id": {
"type": "integer",
"description": "ID of the associated record."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "Timestamp when created."
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "Timestamp when last updated."
}
}
}