Send SMS Gateway API – C#
This command can be used to send text messages to either individual numbers or entire contact groups.
Sample Request
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace ConsoleApplication8
- {
- class Program
- {
- static void Main(string[] args)
-
- string serverURL1 = "Provider.net";//eg provider name
- string url1 = "Sample provider service"; //eg url path get and post URL = "Sample" 'eg-- www.abc.com
- //string url1 = "Sample provider service"; //eg url path for xml
- string authkey1 = "sample auth key" // "Sample Auth key" 'eg -- 16 digits alphanumeric;
- string message1 = "Sample message"; //eg "message hello ";
- string senderId1 = "Sample sender id";//eg -- Testin'
- string routeId1 = "sample route id";// eg 1;
- string mobileNos1 = "Samplemobile no1, Samplemobile no2";//eg '99999999xx,99999998xx
- string smsContentType1 = "english";//or Unicode
- string groupId1 = "Sample Group";// eg 1
- string scheduledate1 = " "; //optional if(scheduledate eg “26/08/2015 17:00”);
- string signature1 =" "; //optional if(signature available eg “1”);
- string groupName =" ";//optional if(groupName available eg “1”);
- ClassLibrary2.HitApi hitAPI = new ClassLibrary2.HitApi();
- Console.WriteLine("POSTAPI Return Value ::" + hitAPI.hitPostApi(serverURL1 + url, authkey1, message1, senderId1, routeId1, mobileNos1,
- smsContentType1, scheduleddate1,signature1, signature1));
- Console.ReadLine();
- }
- }
- }
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace ConsoleApplication8
- {
- class Program
- {
- static void Main(string[] args)
- string serverURL1 = "Provider.net";//eg provider name
- string url1 = "Sample provider service"; //eg url path get and post URL = "Sample" 'eg-- www.abc.com
- //string url1 = "Sample provider service"; //eg url path for xml
- string authkey1 = "sample auth key" // "Sample Auth key" 'eg -- 16 digits alphanumeric;
- string message1 = "Sample message"; //eg "message hello ";
- string senderId1 = "Sample sender id";//eg -- Testin'
- string routeId1 = "sample route id";// eg 1;
- string mobileNos1 = "Samplemobile no1, Samplemobile no2";//eg '99999999xx,99999998xx
- string smsContentType1 = "english";//or Unicode
- string groupId1 = "Sample Group";// eg 1
- string scheduledate1 = " "; //optional if(scheduledate eg “26/08/2015 17:00”);
- string signature1 =" "; //optional if(signature available eg “1”);
- string groupName =" ";//optional if(groupName available eg “1”);
- ClassLibrary2.HitApi hitAPI = new ClassLibrary2.HitApi();
- Console.WriteLine("GetAPI Return Value ::"+hitAPI.hitGetApi(serverURL1, url, authkey1, message1, senderId1, routeId1, mobileNos1,
- smsContentType1, groupId1, scheduleddate1, signature1, groupName));
- Console.ReadLine();
- }
- }
- }
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace ConsoleApplication8
- {
- class Program
- {
- static void Main(string[] args)
- string serverURL1 = "Provider.net";//eg provider name
- string url = "Sample provider service"; //eg url path get and post URL = "Sample" 'eg-- www.abc.com
- //string url1 = "Sample provider service"; //eg url path for xml
- string authkey1 = "sample auth key" // "Sample Auth key" 'eg -- 16 digits alphanumeric;
- string message1 = "Sample message"; //eg "message hello ";
- string senderId1 = "Sample sender id";//eg -- Testin'
- string routeId1 = "sample route id";// eg 1;
- string mobileNos1 = "Samplemobile no1, Samplemobile no2";//eg '99999999xx,99999998xx
- string smsContentType1 = "english";//or Unicode
- string groupId1 = "Sample Group";// eg 1
- string scheduledate1 = ""M; //optional if(scheduledate eg “26/08/2015 17:00”);
- string signature1 =""; //optional if(signature available eg “1”);
- string groupName ="";//optional if(groupName available eg “1”);
- ClassLibrary2.HitApi hitAPI = new ClassLibrary2.HitApi();
- Console.WriteLine("XML API Return Value ::" + hitAPI.hitXmlApi(serverURL1, url1, authkey1, message1, senderId1, routeId1, mobileNos1,
- smsContentType1, groupId1, scheduleddate1, signature1, groupName));
- Console.ReadLine();
- }
- }
- }
Caution: Some users opt to place their request inside a code loop, while testing we highly recommend setting the test parameter to true , as occasionally an infinite loop can occur and users can consume all their credits very quickly.
We provide you Bulk SMS API with sample code in C# so that, it saves your time because you can directly integrate our ready to use Bulk SMS API in your software (developed in C# language), application, website or custom application and start sending SMS in minutes. Our SMS APIs with sample code in C# is a simple way to send text message in single click with C# desktop application.
Whether your Software serve the purpose of Customer relationship management (CRM), Billing, accounting, Reports /content management, HR management, Marketing,Order management, Product life cycle (PLC) management, warehouse management or any other. The developed API and ready made scripts in C# by technical team of SMS Cluster, it is easy to integrate in any software developed in C#.
You can also integrate our BULK SMS API into these CRM (Customer relationship software) softwares to send SMS inorder to greet, inform, promote via CRM softwares like splendid , Post books CRM, dynamics CRM, microsoft dynamic CRM, Salesforce CRM etc
Send SMS from your accounting softwares using C# API for sending dues information, billing information, Invoice, renewal of service, total business,to send Tax related, Inventory Management, HR & Payroll information etc and from any of your accounting software like postbooks.
Use Our SMS API in C# to integrate into HR software like Gotwell HRMS,
How to integrate bulk sms gateway api in C# ?
- Sign up with SMS Cluster and go to developer tool for C# Api and follow the simple steps to integrate bulk SMS API in your website. You will get POST and GET both type of send sms C# API which are ready to use and source code for sms gateway. Our Send sms C# script is used by many software companies and startups as sms verification api in India.Our sms api documentation is one of best for sms api for C# developers.
We are sms api providers for sms notification system, signup messages, alert message and verification code using C# code. Our developer guide also help our clients sms gateway api integration in C# websites or softwares.
We also have ready wordpress sms api and drupal sms api.
How to send verification code to mobile using C# ?
- To send the verification code to mobile through SMS using C# is possible only with the API Integration
How can I send bulk sms from my website by integrating sms gateway api in C# .
- API is the best way to send SMS directly from your website. As it allows you to integrate SMS services into your own System/application/Website for better functionality.
A request to the Bulk SMS API is done by calling a URL with some required parameters (User Name, Password, Sender ID, Mobile Number, Message).When a request is made, the API along with all the parameters send to SMS Gateway server and it process the request and generate response for the particular request immediately. SMS Cluster provides the Bulk SMS Gateway with HTTP API (HTTP) to be integrated in different programming language like C# ,php,Java, ASP.net.