Create a task for a deal using the API


#1

I’m reading the API description for Timeline, Deals, and calendar tasks. I don’t see any parameter on task creation for associating it with a deal or a specific timeline.
Is there a way for this to happen via API?