Get a Free WhatsApp Business Account – Includes Onboarding, API Access & Sandbox. Apply Now!
Welcome to Authkey! Get familiar with our product and explore its features.
Authkey APIs are fast, AI-Driven and supports message deliveries through multiple channels in the same request. You can choose multiple channel deliveries in parallel or fallback as per your requirement. You also have options to create templates with dynamic contents and also club multiple templates into events to be triggered via a single API request.
Transactional SMS can be triggered either by directly passing the sms message in the API request or you can also create a template with dynamic values and use the template identifier in the API request.
Read MoreVoice call can be placed from Authkey by passing the voice message in text in the API request. The platform will auto-convert the text into audio and place the call. You can also create voice template and use it in the API.
Read MoreCreate Email templates on Authkey and use the created template id in the API request to send email. Authkey uses AWS SES to send emails, so you need to have an account in AWS to use this feature.
Read MoreWhatsapp API is a communication connection to enable a marketing lineup to customers or prospects. Whatsapp business web was launched in Aug '18 for marketers to scale their engagements.
Read MoreStreamline your WhatsApp communication with the fastest, most effective API platform
Our REST API allows you to quickly build, scale, and integrate. You can create rapid prototypes in our WhatsApp, utilize its full features, and drive engagement with a single API.
<?php
$sender ='XXXX';
$mobile ='XXXXX';
$authkey='Your auth key';
$sms = urlencode("test");
$country_code=91;
$template_id='xxxxxxx';
$pe_id='xxxxxxx';
$url = 'https://api.authkey.io/request?authkey='.$authkey.'&mobile='.$mob.'&sender='.$sender.'&sms='.$sms.'&pe_id='.$pe_id.'&template_id='.$template_id; // API URL
$response=SendSMS($url); // call function that return response with code
echo $response;
function SendSMS($hostUrl){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $hostUrl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POST, 0);
$result = curl_exec($ch);
return $result;
}
?>