Logo
埋め込み可能な顧客エンゲージメント
埋め込み可能なAnswers

埋め込み可能なAnswers

早期アクセス

埋め込み可能なAnswersを使用すると、プラットフォームユーザーのエクスペリエンスを簡素化しながら、Answersの全範囲をデプロイできます。iFrame を使用して、ソリューションを Web アプリケーションに統合できます。

Answersの完全な経験

このオプションには、完全なチャットボットビルダーがあります。

前提 条件

  • アカウント管理ロールを持つ Infobip アカウント。

  • APIキー の生成 (opens in a new tab) を次の API スコープに置き換えます。

    • アカウント管理:管理 - OAuth PAR フローを開始できるようにします。
    • 回答:管理 - Answers を管理できるようにします。
    • voice-message:manage - ボイスボットを管理できるようにします。
  • X で Answers を使用する一環として、applicationId と entityId のペアを作成します (opens in a new tab)

Xとの互換性

埋め込み可能な Answers X の有無にかかわらず を使用できます。

プロセスの概要

Answers iFrame コンポーネントを使用するには、request URI を指定する必要があります。この URI は、Answers API にアクセスするために使用されます。この URI は、OAuth プッシュ権限付与要求 (PAR) と呼ばれるより安全な認証フローの一部としてバックエンドによって生成および挿入されます。

次に、Answers iFrame コンポーネント を Web ページに追加する必要があります。

要求 URI の生成

Answersでフロントエンドをレンダリングする前に、バックエンドで次のアクションに従います。

  1. OAuth PAR フローを開始するには、次の URL に POST 要求を送信します。 POST https://api.infobip.com/embeddable/1/auth/par

    Use the following headers:

    'Content-Type': 'application/json'、
    '権限付与': 'アプリ <api-key>'</api-key>

    Use the following payload:

    {
    "scopes": ['answers:manage', 'voice-message:manage']、
    "application_id": "<application_id>",</application_id>
    "エンティティ ID": "<entity_id>"</entity_id>
    }

    The cURL request would be as follows:

    curl --location 'https://api.infobip.com/embeddable/1/auth/par' \
    --ヘッダー '権限付与: アプリ <api-key>' \</api-key>
    --header 'Content-Type: application/json' \
    --data '{
    "スコープ":[
      「回答:管理」、
      「ボイスメッセージ:管理」
    ],
    "application_id": "<application_id>",</application_id>
    "エンティティ ID": "<entity_id>"</entity_id>
    }'
  2. The response contains the object with request_uri parameter. Use this parameter in the iFrame component.

Add the iFrame component to your web page

Include the following iFrame component on your web page:

<iframe src="https://api.infobip.com/embeddable/1/auth/authorize?request_uri={request_uri}"></iframe>

Example

Refer to the Oracle Responsys integration.

Logo

ご不明点は

サポートまでお問い合わせ

ください

© NTTCom Online Marketing Solutions Corporation