diff --git a/lib/Api/Emails.php b/lib/Api/Emails.php index c68e178a..2ffd8be3 100644 --- a/lib/Api/Emails.php +++ b/lib/Api/Emails.php @@ -89,4 +89,17 @@ public function sendToLead($id, $leadId) { return $this->sendToContact($id, $leadId); } + + /** + * Send custom content to a specific contact. + * + * @param int $contactId + * @param array $data + * + * @return array|mixed + */ + public function sendCustomToContact($contactId, $data = []): array + { + return $this->makeRequest($this->endpoint.'/contact/'.$contactId.'/send/custom', $data, 'POST'); + } }