番号と英数字の送信者を取得する
SMS メッセージを送信する場合は、受信者のデバイスに表示される送信者 ID を定義する必要があります。送信者は、ビジネスまたはサービスを識別する発信元アドレスです。送信者は、次の 2 つの方法で設定できます。
- 番号を購入する: ショートコード、ロングナンバー、または仮想ロングナンバー。数字は双方向のコミュニケーションを可能にします。
- 英数字の送信者を要求する: AcmeAlerts などのブランド名。英数字の送信者は、一方向メッセージングのみをサポートします。
番号を購入する [#buy-numbers]
番号を購入して、数値送信者として使用できます。
NTT CPaaS Web インターフェイスの チャネル を使用して、すべての番号と英数字の送信者を管理します。
-
チャンネルと番号 > チャンネルに移動します。
-
SMS を選択して、SMS ランディング ページを開きます。 SMS ランディング ページで は、送信者関連のアクションにアクセスできます。
次の表は、SMS ランディング ページで使用可能なオプションの概要です。
| SMSランディングページタブ | 説明 |
|---|---|
| 概要 | 番号の購入 を使用して番号を取得するか、送信者の要求 を使用して英数字の送信者 ID を要求するためのメインの概要ページ。また、米国の送信者登録を使用して、メッセージのコンプライアンスを管理します。 |
| マイナンバー | 購入したすべての番号タイプを一覧表示し、番号を購入するオプションも提供します。番号の購入と管理の詳細については、Numbersを参照してください。 |
| 英数字の送信者 | 要求したすべての英数字送信者を一覧表示します。 |
| 私のリクエスト | SMSの現在のリクエストをすべて一覧表示します。通信チャネル要求の使用方法の詳細は、自分の要求を参照してください。 |
- [概要] タブで、[購入番号] を選択します。
- Numbers App の手順に沿って購入を完了します。詳細については、 Numbers over Web interface ドキュメントを参照してください。
番号を購入すると、その番号は [マイナンバー] タブに表示されます。
Numbers アプリを使用して、受信アクションを構成し、番号設定を管理します。
NTT CPaaS API を使用してプログラムで番号を購入できます。この方法により、自動化と既存のシステムとの統合が可能になります。
次の表は、番号の購入とリクエストの管理に使用できる API の概要です。
| 使用する API | 目的 | 高レベルの API フロー | ノート |
|---|---|---|---|
| リソース要求 API | メッセージを送受信するための専用の SMS 対応番号を購入します。 |
| 番号取得を自動化するためのメインパス。 |
| Numbers API、 リソース API | すでに所有している番号を一覧表示、検査、管理します。 |
| すでに番号を所有していて、ライフサイクルまたは構成管理が必要な場合に使用します。 |
詳細と例は、APIによるリソースのリクエストを参照してください。
Configure numbers [#number-configuration-sender]
Once you acquire a number, all messages received by that number are associated with your account. You can set up actions on a number level that are triggered every time a message is received.
- Forward to HTTP: Forward received messages and their details to an external URL. This enables you to get the message into your platform for further processing.
- Forward to Email: Forward important SMS details (sender, receiver, content) to one or multiple email addresses in human-readable table form.
- PULL: Store all received messages in a pull container where they can be retrieved using the API.
- Forward to SMPP: Same as Forward to HTTP, this action is used to forward the received message to an external platform, but uses the SMPP protocol.
- Save message to log: Forwarding is not enabled, and messages are saved to logs which can be viewed in the web interface.
Forwarding is set up in conjunction with your keywords attributed to your numbers in the Numbers app. For more information on forwarding actions, see Keywords and Actions.
Request alphanumeric senders [#request-alphanumeric-senders]
Alphanumeric sender IDs display a custom text name (for example, AcmeAlerts) instead of a phone number. They support one-way messaging only.
To request an alphanumeric sender, go to Channels and Numbers > Channels > SMS and select Request Sender on the Overview tab.
For detailed instructions, format requirements, and the approval process, see Alphanumeric senders. To request through the API, see Request resources through API.
Numbers and senders
Understand sender types and choose the right one for your use case.
Send and track
Learn how messages are structured and delivered.
Send a message
Configure and send your first SMS message.