Imports System.Net Partial Class SendSMSHttpVB Inherits System.Web.UI.Page Protected Sub BtnSend_Click(sender As Object, e As System.EventArgs) Handles BtnSend.Click Dim myReq As HttpWebRequest = CType(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"), System.Net.HttpWebRequest) Dim myResp As HttpWebResponse = CType(myReq.GetResponse(), HttpWebResponse) Dim respStreamReader As System.IO.StreamReader = New System.IO.StreamReader(myResp.GetResponseStream())
Dim responseString As String = respStreamReader.ReadToEnd() respStreamReader.Close() myResp.Close() End Sub End Class
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 VB.NET APIs
Make sure you have created an account at our interface to get send SMS API of Vb.Net language in developer tool.
You will get best OTP route via integration our send SMS API to send OTP SMS to your all users.
We offer you different types of API that includes XML and JSON for sending SMS messages in bulk to audience.
Integrate our ready to use script of VB.net in your system for sending SMS regarding registrations & verification.
Utilize our VB.net sample code language with all details that helps you to integrate our SMS gateway.
Create a request to call bulk SMS API with a single click of an action to integrate our SMS marketing services.
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