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 | 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.
You will get account with some demo credit to test API that help you write applications and interact with MsgClub ASP APIs
We allow simple way to integrate our send SMS API. Just login to our interface and go to developer tool for its APIs integration.
Send your OTP SMS to customers without any delay. Use our OTP/Banking to send codes on mobiles.
We have two types of API; JSON and XML that allows you to send text messages in high quantity.
Yes, we do provide multiple ready-to-use sample script for sending SMS, also use our send SMS API for registration.
Integrate our SMS gateway with the help of available ready code in ASP that contains all necessary details.
Create a request on our gateway to hit our bulk SMS API with just a single button to start your SMS marketing.
Send Schedule SMS
Delete Scheduled SMS
Reschedule SMS
Add Group
Delete Group
List Group
Add Contact
Edit Contact
List Contact
Add Draft
Delete Draft
List Draft
Add Client
Edit Client
Delete Client
Client List
Disable / Enable
Forgot Password
Transaction Log
Client Balance
Fund Transfer