Send SMS through MSG91

有料
開発者 akeshMSG91
更新日 23日前
コミュニケーション
-/10
人気度
-
レイテンシ
-
正常稼働率

「Send SMS through MSG91 」のドキュメント

This command can be used to send text messages to either individual numbers or entire contact groups.

全文を表示する
POSTQuery parameters
POSTQuery parameters

Required to fill these endpoints in order to send SMS

権限:

In MSG91 panel in API section you will get authkey

ヘッダーパラメータ
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ
senderSTRING
REQUIREDReceiver will see this as sender's ID.
mobilesSTRING
REQUIREDEnter mobile number with country code, Don't include '+'
countrySTRING
REQUIRED0 for international,1 for USA, 91 for India.
messageSTRING
REQUIREDMessage content to send
routeNUMBER
REQUIRED If your operator supports multiple routes then give one route name. Eg: route=1 for promotional, route=4 for transactional SMS.
authkeyQUERY
REQUIREDYour Authentication key
パラメータ(Option)
afterminutesSTRING
OPTIONALTime in minutes after which you want to send sms.
schtimeSTRING
OPTIONALWhen you want to schedule the SMS to be sent. Time format could be of your choice you can use Y-m-d h:i:s (2020-01-01 10:10:00) Or Y/m/d h:i:s (2020/01/01 10:10:00) Or you can send unix timestamp (1577873400)
campaignSTRING
OPTIONALCampaign name you wish to create.
responseSTRING
OPTIONAL By default you will get response in string format but you want to receive in other format (json,xml) then set this parameter. for example: &response=json or &response=xml
flashBOOLEAN
OPTIONALFor sending flash message pass 1 else 0
unicodeBOOLEAN
OPTIONALFor message other than english pass 1
コードスニペット
SDKをインストール
レスポンス例

SDKをインストール((Node.js)Unirest)

OAuth2認証
クライアントID
クライアントシークレット
OAuth2認証