Skip to content

Instantly share code, notes, and snippets.

@coder-zs-cse
coder-zs-cse / gist:22bbd77c898eaf5b423ecc396c812405
Created May 14, 2025 06:57
Php Script for Instant Send API
<?php
/**
* Send a message using Kenyt.AI Instant Message API.
*
* @param string $authToken CRM Auth Token (from Kenyt Dashboard)
* @param string $organizationId Organization ID
* @param string $templateName Name of the template
* @param string $name (Optional) Name of the recipient
* @param string $email Email of the recipient (Required if it is a email template)
* @param string $phone Phone number of the recipient (Required if it is a Whatsapp template)