I'm using Infusionsoft's PHP API to add contacts - https://developer.infusionsoft.com/
In addition I'm using this framework for Infusionsoft by Novak: https://github.com/novaksolutions/infusionsoft-php-sdk
$contact = new Infusionsoft_Contact();
$contact->FirstName = $first_name;
$contact->LastName = $last_name;
$contact_name = $first_name . " " . $last_name;
$contact->Email = $email;
$contact->save();
After the contact is added, I'd like to create a task and assign it to the newly created contact and an employee also.
$task_description = "Call this person asap";
$contact_id = $contact->id;
$employee_id = 2496;
I can't find the method in the documentation for doing this. What do I need to do?