API integration made simple



Our SMS API combines all important communication channels into a single platform, providing you with a high-volume two-way messaging engagement solutions with our CRM, distribution, template and analytics module.





How you can use our SMS API


CRM SYSTEM

Create customized interaction calls to manage (add, import, delete) your contact lists within TEO Contacts module and database. It will let you seamlessly sync your CRM database contact data within your TargetEveryone account based CRM module.





DISTRIBUTION SYSTEM


Create customized calls to distribute a campaign to one or multiple contacts via SMS gateway and Email distribution channel. It will eliminate the dependency to use our web based distribution platform and can be achieved automatically via integrated API calls. Also, you can integrate our distribution channel based functionalities as an independent component within your solution offerings.





TEMPLATE SYSTEM

This system will let you call and integrate prebuild templates saved within your TargetEveryone account to increase your customers engagement with your brand and offers like an 'opt-in form template' that you can implement to your website.





ANALYTICS SYSTEM

The analytics module lets you access the statistical data that your campaign generates. This system based APIs enhances your data-driven insights like - you can cater campaigns performance stats and integrate it with your own sales funnel reports to view effectiveness of your marketing activities.
For developers


Sample Code
function make_xml()
{
	$xml="
FirstName
"; return $xml; } { $input_xml=make_xml(); $url =""; $ch = curl_init($url); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, array('content-type: text/xml; charset=utf-8')); curl_setopt($ch, CURLOPT_POSTFIELDS, $input_xml); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3000); $output = curl_exec($ch); /*** Close the handle */ curl_close($ch); $xml = simplexml_load_string($output); echo $Code =((string) $xml->ResponseDetails[0]['Code']); echo $status = ((string) $xml->ResponseDetails[0]['Status']); echo $Code_Description = ((string) $xml->ResponseDetails[0]['Description']); print_r($input_xml); echo $output; }
String xml:"
FirstName
" public void CallMethod(string url, string xml) { try { byte[] bytes = Encoding.UTF8.GetBytes(xml); HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Method = "POST"; request.ContentLength = bytes.Length; request.ContentType = "text/xml"; using (Stream requestStream = request.GetRequestStream()) { requestStream.Write(bytes, 0, bytes.Length); } HttpWebResponse response = (HttpWebResponse)request.GetResponse(); Stream resStream = response.GetResponseStream(); StreamReader rdStreamRdr = new StreamReader(resStream); if (response.StatusCode != HttpStatusCode.OK) { string message = String.Format("POST failed. Received HTTP {0}", response.StatusCode); throw new ApplicationException(message); } else { string message = rdStreamRdr.ReadToEnd(); } } catch {}
LoginSignup free