Twilio

フリー
開発者 serg.osipchuk
更新日 9ヶ月前
SMS
0.2/10
人気度
58177ms
レイテンシ
-
正常稼働率

「Twilio 」のドキュメント

SMS、音声、ビデオ、IPメッセージングをプログラム可能にします。

全文を表示する
POSTmakeCall
POSTsendMms
POSTsendSms
POSTwebhookEvent
POSTsendMms

このブロックではmmsを送信できます。

ヘッダーパラメータ
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ
fromSTRING
REQUIREDA Twilio phone number (in E.164 format) or alphanumeric sender ID enabled for the type of message you wish to send. Phone numbers or short codes purchased from Twilio work here. You cannot (for example) spoof messages from your own cell phone number.
accountSidCREDENTIALS
REQUIREDA 34 character string that uniquely identifies this account.
toSTRING
REQUIREDThe destination phone number. Format with a '+' and country code e.g., +16175551212 (E.164 format).
mediaUrlSTRING
REQUIREDThe URL of the media you wish to send out with the message. gif , png and jpeg content is currently supported and will be formatted correctly on the recipient's device.
accountTokenCREDENTIALS
REQUIREDThe authorization token for this account.
パラメータ(Option)
statusCallbackSTRING
OPTIONALA URL that Twilio will POST to each time your message status changes to one of the following: queued, failed, sent, delivered, or undelivered.
maxPriceSTRING
OPTIONALThe total maximum price in US dollars acceptable for the message to be delivered.
applicationSidSTRING
OPTIONALTwilio will POST MessageSid as well as MessageStatus=sent or MessageStatus=failed to the URL in the MessageStatusCallback property of this Application.
messagingServiceSidSTRING
OPTIONALRequired if from not provided. The 34 character unique id of the Messaging Service you want to associate with this Message. Set this parameter to use the Messaging Service Settings and Copilot Features you have configured. When only this parameter is set, Twilio will use your enabled Copilot Features to select the From phone number for delivery.
provideFeedbackSTRING
OPTIONALSet this value to true if you are sending messages that have a trackable user action and you intend to confirm delivery of the message using the Message Feedback API. This parameter is set to false by default.
コードスニペット
SDKをインストール
レスポンス例

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

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