Supported products
Supported products
Requires one of the following products or higher.
Scope requirements
Scope requirements
Create a project subtask
To create a subtask, make aPOST request to /crm/v3/objects/tasks. In the request body, specify the subtask details in the properties object and associate it with the parent task in the associations array.
| Field | Description |
|---|---|
properties | The subtask’s details. Subtasks use the same properties as other tasks, so you can set values for the default task properties when creating the subtask. You must include at least hs_timestamp (the subtask’s due date), but hs_task_subject (title) or hs_task_body (notes) are recommended to describe the subtask. |
associations | Indicates the task with which the subtask will be associated. For the to field, include the id of the main task. To indicate that you’re associating a subtask to a task in the types object, the associationCategory is HUBSPOT_DEFINED and the associationTypeId is 1313. |
12345, your request would look similar to: