function enrollContact($workflow_id, $email) { $endpoint = "https://api.hubapi.com/automation/v2/workflows/{$workflow_id}/enrollments/contacts/{$email}"; return $this->client->request('post', $endpoint); }