TFN登録API技術詳細

フリーダイヤル番号(TFN)とは、10桁の電話番号のことで、発信者は無料でダイヤルでき、受信者は料金を負担します。SMSおよびMMSの場合、メッセージ料金とデータ料金が適用される場合があります。 800, 888, 877, 866, 855, 844あるいは 833.

Vonageは約140カ国でTFN音声サービスを提供している。ただし、「テキストおよび画像メッセージング」機能を備えたTFNボイスを提供しているのは、米国とカナダだけである。米国とカナダでは、送信者制限のない商用SMSおよびMMSメッセージングのために、ワイヤレスキャリア(事業者)によるTFNの登録が義務付けられています。

認証

TFN登録APIはBasic認証をサポートする。Basic認証では、エンコードされた APIキーとシークレットで認証する。 アカウント レベルだ。

TFN登録の仕組み

TFN登録は、Vonageダッシュボードから、またはAPIを使用してプログラム的に完了することができます。以下はTFN登録リクエストの流れを視覚的に表したものです:

TFN Registration ServiceCustomer DashboardCustomerTFN Registration ServiceCustomer DashboardCustomerCreate Registrationalt[Using the Dashboard][Using the API]Update Registrationalt[Using the Dashboard][Using the API]Get Registration DetailsGet Associated EventsGet TFN Registrations for AccountSubmit FormPOST /v1/registrationsPOST /v1/registrations200 OK (registrationID)Submit FormPATCH /v1/registrations/{id}PATCH /v1/registrations/{id}200 OK (registrationID)GET /v1/registrations/{id}200 OK (details)GET /v1/registrations/{id}/events200 OK (Event List)GET /v1/numbers200 OK (Account Registrations)

次はどうする?