google playGoogle Play +91 9981122255 sales@msgclub.net Support Pricing

Select Language

		
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Net; public partial class SendSMSHttP : System.Web.UI.Page {     protected void Page_Load(object sender, EventArgs e)     {     }     protected void BtnSend_Click(object sender, EventArgs e)     {         try         {            HttpWebRequest myReq = (System.Net.HttpWebRequest)WebRequest.Create("https://msg.msgclub.net/rest/services/sendSMS/sendGroupSms?AUTH_KEY=YourAuthKey&message="+ txtmsg.Text + "&senderId=DEMOOS&routeId=1&mobileNos="+ txtMobile.Text +"&smsContentType=English");            HttpWebResponse myResp = (HttpWebResponse)myReq.GetResponse();             System.IO.StreamReader respStreamReader = new System.IO.StreamReader(myResp.GetResponseStream());             string responseString = respStreamReader.ReadToEnd();             respStreamReader.Close();             myResp.Close();         }         catch (Exception ex)         {         }      } }

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.



Parameter Name with Description

Parameter Name Data Type Description
AUTH_KEY * Alphanumeric Login Authentication Key(This key is unique for every user)
message * Text Enter your message
senderId * Text Enter senderId it should be less then 6 character
routeId * Integer Which route you want use for sending sms enter routeId for particular route.use given Id for route. Transactional Route=1, Promotinal=2, Promotional SenderId=3
mobileNos * Integer Mobile number can be entered with country code or without country code Multiple mobile no. should be separated by comma
groupId * Integer To send sms to particular group enter group name created in MsgClub phone book.
smsContentType* Text "English" for text sms and "Unicode" for Unicode sms

Parameters with (*) are mandatory.

Get quick and easy use of API and test

You will get account with some demo credit to test API that help you write applications and interact with MsgClub C# APIs

I want to write my own C# code

company

HTTP API

enterprise solutions

XML API

resellers

JSON API

Industries we support

Frequently asked questions

How to integrate SMS API in C#?

All you need to create an account at our interface to get send SMS API of C# language in developer tool.

How to send OTP SMS using C#?

Select our best OTP route via integration our send SMS API to send OTP messages with high delivery.

How to send bulk SMS using API in C#?

We have two different types of API; XML and JSON for sending SMS messages in bulk to people.

Do you provide C# Script for SMS sending?

Use our ready to use script in your system for sending bulk SMS regarding registrations & verification

How to implement SMS gateway in C#?

We have ready code in C# programming language with all details that help you to integrate our SMS gateway.

How to send online SMS from my website in C#?

Just call or hit our bulk SMS API in a click of a action to integrate our all SMS marketing services.

APIs we provide

PHP SMS Gateway API SMS Gateway API for C# SMS Gateway API JAVA SMS Gateway API for VB.net SMS Gateway API for VB 6.0 SMS Gateway API  for ASP SMS Gateway API for ASP.net

APIs other than Send SMS

SCHEDULE SMS

Send Schedule SMS

Delete Scheduled SMS

Reschedule SMS

GROUP / PHONEBOOK

Add Group

Delete Group

List Group

GROUP CONTACTS

Add Contact

Edit Contact

List Contact

SMS DRAFT

Add Draft

Delete Draft

List Draft

CLIENT (USER / RESELLER)

Add Client

Edit Client

Delete Client

Client List

Disable / Enable

Forgot Password

Transaction Log

Client Balance

Fund Transfer