はじめに
対話型AIプラットフォーム
チャットボットの概要
自然言語処理(NLP)
ボットの概念と用語
クイックスタートガイド
プラットフォームへのアクセス
ボットビルダーの操作
リリースノート
最新バージョン(英語)
以前のバージョン(英語)
廃止機能(英語)
コンセプト
設計
ストーリーボード
ダイアログタスク
ダイアログタスクとは
ダイアログビルダー
ノードタイプ
インテントノード
ダイアログノード
エンティティノード
フォームノード
確認ノード
ロジックノード
ボットアクションノード
サービスノード
Webhookノード
スクリプトノード
グループノード
エージェント転送ノード
ユーザープロンプト
音声通話プロパティ
イベント ハンドラー
ナレッジグラフ
ナレッジグラフの抽出
ナレッジグラフの構築
ボットにナレッジグラフを追加
グラフの作成
ナレッジグラフの構築
既存のソースからFAQを構築
通知タスク
スモールトーク
デジタルスキル
デジタルフォーム
デジタルビュー
デジタルビューとは
パネル
ウィジェット
トレーニング
トレーニングとは
機械学習
機械学習とは
モデル検証
ファンダメンタルミーニング
ナレッジグラフ
示唆
ランキングおよび解決
NLPの詳細設定
NLPのガイドライン
インテリジェンス
インテリジェンスとは
コンテキスト
コンテキストインテント
割り込み
複数インテントの検出
エンティティの変更
デフォルトの会話
センチメント管理
トーン分析
テストとデバッグ
ボットと会話
発話テスト
バッチテスト
会話テスト
デプロイ
チャネル
公開
分析
ボットの分析
NLPメトリクス
会話フロー
Usage Metrics
封じ込め測定
カスタムダッシュボード
カスタムダッシュボードとは
メタタグ
カスタムダッシュボードとウィジェット
LLM and Generative AI
Introduction
LLM Integration
Kore.ai XO GPT Module
Prompts & Requests Library
Co-Pilot Features
Dynamic Conversations Features
Guardrails
ユニバーサルボット
ユニバーサルボットとは
ユニバーサルボットの定義
ユニバーサルボットの作成
ユニバーサルボットのトレーニング
ユニバーサルボットのカスタマイズ
他言語の有効化
ストア
プラントと使用
Overview
Usage Plans
Support Plans
Invoices
管理
ボット認証
複数言語対応ボット
個人を特定できる情報の編集
ボット変数の使用
IVRのシステム連携
一般設定
ボット管理
ハウツー
会話スキルの設計
バンキングボットを作成
バンキングボット – 資金の振り替え
バンキングボット – 残高を更新
ナレッジグラフを構築
スマートアラートの予約方法
Integrations
Actions
Actions Overview
Asana
Configure
Templates
Azure OpenAI
Configure
Templates
BambooHR
Configure
Templates
Bitly
Configure
Templates
Confluence
Configure
Templates
DHL
Configure
Templates
Freshdesk
Configure
Templates
Freshservice
Configure
Templates
Google Maps
Configure
Templates
Here
Configure
Templates
HubSpot
Configure
Templates
JIRA
Configure
Templates
Microsoft Graph
Configure
Templates
Open AI
Configure
Templates
Salesforce
Configure
Templates
ServiceNow
Configure
Templates
Stripe
Configure
Templates
Shopify
Configure
Templates
Twilio
Configure
Templates
Zendesk
Configure
Templates
Agents
Agent Transfer Overview
Custom (BotKit)
Drift
Genesys
Intercom
NiceInContact
NiceInContact(User Hub)
Salesforce
ServiceNow
Configure Tokyo and Lower versions
Configure Utah and Higher versions
Unblu
External NLU Adapters
Overview
Dialogflow Engine
Test and Debug
デジタルスキルの設計
デジタルフォームの設定方法
デジタルビューの設定方法
データテーブルのデータの追加方法
データテーブルのデータの更新方法
Add Data from Digital Forms
ボットのトレーニング
示唆の使用方法
インテントとエンティティのパターンの使用方法
コンテキスト切り替えの管理方法
ボットのデプロイ
エージェント転送の設定方法
ボット関数の使用方法
コンテンツ変数の使用方法
グローバル変数の使用方法
ボットの分析
カスタムダッシュボードの作成方法
カスタムタグを使ってフィルタリング
Data
Overview
Guidelines
Data Table
Table Views
App Definitions
Data as Service
Build a Travel Planning Assistant
Travel Assistant Overview
Create a Travel Virtual Assistant
Design Conversation Skills
Create an ‘Update Booking’ Task
Create a Change Flight Task
Build a Knowledge Graph
Schedule a Smart Alert
Design Digital Skills
Configure Digital Forms
Configure Digital Views
Train the Assistant
Use Traits
Use Patterns
Manage Context Switching
Deploy the Assistant
Use Bot Functions
Use Content Variables
Use Global Variables
Use Web SDK
Build a Banking Assistant
APIs & SDKs
API Reference
API Introduction
Rate Limits
API List
koreUtil Libraries
SDK Reference
SDK Introduction
Web SDK
How the Web SDK Works
SDK Security
SDK Registration
Web Socket Connect and RTM
Tutorials
Widget SDK Tutorial
Web SDK Tutorial
BotKit SDK
BotKit SDK Deployment Guide
Installing the BotKit SDK
Using the BotKit SDK
SDK Events
SDK Functions
Installing Botkit in AWS
Tutorials
BotKit - Blue Prism
BotKit - Flight Search Sample VA
BotKit - Agent Transfer

ADMINISTRATION
Intro to Bots Admin Console
Administration Dashboard
User Management
Managing Your Users
Managing Your Groups
Role Management
Manage Data Tables and Views
Bot Management
Enrollment
Inviting Users
Sending Bulk Invites to Enroll Users
Importing Users and User Data
Synchronizing Users from Active Directory
Security & Compliance
Using Single Sign-On
Two-Factor Authentication for Platform Access
Security Settings
Cloud Connector
Analytics for Bots Admin
Billing
  1. ホーム
  2. Docs
  3. Virtual Assistants
  4. API Guide
  5. Enable and Manage SSO Configuration APIs

Enable and Manage SSO Configuration APIs

To execute and get results for managing an account’s SSO configurations with the following APIs:

Note: The APIs support SAML, WSFED, and OpenID Connect protocols.

Fetch the SSO Meta API

If SSO is enabled, this API returns the existing SSO configuration along with the URLs. Otherwise, it returns only the URLs. This document covers both the scenarios.

Method GET
Endpoint https://{{host}}/api/public/bot/{{BotID}}/ssoconfig
Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Not Applicable
  • Admin Console: User Management > SSO Configuration

Query Parameters

Parameter Description Required/Optional
host The environment URL. For example, https://bots.kore.ai Required
BotId The Bot ID or Stream ID can be accessed under General Settings on the Bot Builder. Required
SSOProtocol The value for SSO protocol. Required

Sample Request

curl --location --request GET \
'https://{{host}}/api/public/ssoconfig?SSOProtocol=saml' \
--header 'auth: {jwt-token}' \
--header 'bot-language: {language-code}' \
--header 'Content-Type: application/json' \
--data ''

Body Parameters

If SSO is enabled
In this case, the API provides the following meta of the configurations.

Parameter Data Type Description Required/Optional
ACS IDP URL String ACS URL for IDP Initiated SAML Flow. Required
ACS SP CallBack URL String ACS URL for SP Initiated SAML Flow. Required
Method String The method used for the SSO flow. For example, SAML. Required
ssoProvider String The options include:

  • Okta
  • Others
  • OneLogin
  • Bitium
Required
modifiedDate Date The date when the SSO configuration was modified in YYYY-MM-DD format, and Time in HH:MM:SS format. Required
modifiedBy Array of String data type. This parameter supports an array of objects. Each object in the array has the parameters that are listed below:

  • userId: The admin user’s ID.
  • firstName: The admin user’s first name.
  • lastName: The admin user’s last name.
Required
cert String The SSO certificate.

Note:

  • This field is an array.
  • The Maximum number of values supported is two.
Required
entryPoint String The URL of the SSO entry point. Required
Issuer String The URL of the SSO issuer. Required
samlAttributeMapping Array of Objects of String data type. This parameter supports an array of objects. Each object in the array has the mandatory parameters listed below:

  • samlAttributeName: The SAML attribute name of String data type used for SSO.
  • samlAttributeValue: The SAML attribute value of String data type used for SSO.
  • attributeType: The SAML attribute type which is either Role or Group to which an attribute is mapped.
  • koreAttribute: The Role ID or Group ID to which the SAML attribute should be mapped.
Required

If SSO is Disabled

In this case, the API provides the following meta required to enable the app at the identity provider application.

Parameter Data Type Description Required/Optional
ACS IDP URL String ACS URL for IDP Initiated SAML Flow. Required
ACS SP CallBack URL String ACS URL for SP Initiated SAML Flow. Required

Sample Response

If SSO is enabled

{
   "ACS_IDP_URL": "https://xxx.kore.ai/api/sso/login/callback?c=e-7dxxxxxcdxxxxxxcxxxxxxxxxc51xxxxxxxxxx21xxxxxxxxxxxxxxxxxxxxxxx4&redirect_url=httpsxxxxxxxxFsit-xo.kore.axxxxbotbuilderxxxx3Fquery%xx1",
   "ACS_SP_CallBack_URL": "https://idpxxxy-dxx.kore.com/authorize/callback",
   "ssoConfig": {
       "method": "saml",
       "allusers": false,
       "ssoProvider": "okta",
       "modifiedDate": "2024-07-23T07:12:26.549Z",
       "modifiedBy": {
           "userId": "u-94xxxxx8-bxxb-5xx6-9xx0-06xxxxxxxxxf",
           "firstName": "pxxxxxn",
           "lastName": "`bxxxxx"
       },
       "config": {
           "cert": [
               "{certificate ID}"
           ],
           "entryPoint": "https://trial-6xxxxx1.okta.com/app/trial-61xxxxx_kxxe_1/exxxxxxxxxxxxxxxx697/sso/saml",
           "issuer": "http://www.okta.com/exxxxxxxxxxxxxxxxxx7"
       },
       "samlAttributeMapping": {
           "fullSynchronization": "enabled",
           "status": "active",
           "attributeMapping": [
               {
                   "samlAttributeName": "role",
                   "samlAttributeValue": "role1",
                   "attributeType": "Role",
                   "koreAttribute": "6xxxxxxxxxxxxxxxxxxxxxeb"
               }
           ]
       }
   }
}

If SSO is disabled

{
   "ACS_IDP_URL": "https://xxx.kore.ai/api/sso/login/callback?c=e-7dxxxxxcdxxxxxxcxxxxxxxxxc51xxxxxxxxxx21xxxxxxxxxxxxxxxxxxxxxxx4&redirect_url=httpsxxxxxxxxFsit-xo.kore.axxxxbotbuilderxxxx3Fquery%xx1",
   "ACS_SP_CallBack_URL": "https://idpxxxy-dxx.kore.com/authorize/callback"
}

Enable SSO API

This API enables the SSO configuration for an account.

Method POST
Endpoint https://{{host}}/api/public/bot/{{BotID}}/ssoconfig
Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Not Applicable
  • Admin Console: User Management > SSO Configuration

Path Parameters

Parameter Description Required/Optional
host The environment URL. For example, https://bots.kore.ai Required
BotId The Bot ID or Stream ID can be accessed under General Settings on the Bot Builder. Required

Sample Request

curl --location --request POST \
'https://{{host}}/api/public/ssoconfig' \
     --header 'auth: {jwt-token}' \
     --header 'bot-language: {language-code}' \
     --header 'Content-Type: application/json' \
--data '{
    "SSO_Authentication": "enable",
    "SSOProtocol": "saml",
    "SAML_IdentityProvider": "onelogin",
    "SingleSignOnURL": "https://prxxxxng1.onelogin.com/trust/saml2/http-post/sso/3xxxxxe0-8xx6-4xx8-9xx1-dxxxxxx7dxxe",
    "IssuerURL": "https://app.onelogin.com/saml/metadata/3xxxxxe0-8xx6-4xx8-9xx1-d1xxxx07dxxe",
    "Certificate": [
        "{certificate ID}"
    ],
    "SAMLAttributeMapping": true,
    "SyncBehaviour": "Synchronize_UpdateExisting",
    "AttributeMapping": [
        {
            "SAMLAttribute_Name": "role",
            "SAMLAttribute_Value": "role1",
            "Attribute_Type": "Role",
            "Kore_Attribute": "667xxxxxxxxxxxxxxxxxxxxb"
        }
    ]
}'

Body Parameters

Parameter Data Type Description Required/Optional
SSO Authentication String This parameter enables the overall configuration. Required
SSO Protocol String This parameter indicates the SSO protocol the admin wants to enable for the account. Required
SAML Identity Provider String This parameter defines the SAML Identity provider the admin is using to enable the SSO. Required
Single SignOn URL String The SSO URL for the account. Required
Issuer URL Date The URL of the SSO issuer. Required
certificate String The SSO certificate.

Note:

  • This field is an array.
  • The Maximum number of values supported is two.
Required
SAML Attribute Mapping Boolean If enabled (true), SAML attribute mapping is done based on the sync behavior. Optional. If the parameter is not defined in the request body, the default value is Disabled (False).
Sync Behaviour String Includes one of the following values:

  • Synchronize_UpdateExisting: Synchronize by updating the existing SSO configuration.
  • AddNew_RetainExisting: Add a new SSO configuration by retaining the existing values.
Required if the SAMLAttributeMapping parameter is enabled.
Attribute Mapping Array of Objects of String data type. This parameter supports an array of objects. Each object in the array has the mandatory parameters listed below:

  • samlAttributeName: The SAML attribute name of String data type used for SSO.
  • samlAttributeValue: The SAML attribute value of String data type used for SSO.
  • attributeType: The SAML attribute type which is either Role or Group to which an attribute is mapped.
  • koreAttribute: The Role ID or Group ID to which the SAML attribute should be mapped.
Required

Sample Response

{
   "config": {
       "cert": [
           "{certificate ID}"
       ],
       "entryPoint": "https://trial-6xxxxx1.okta.com/app/trial-6xxxxx1_kore_1/exxxxxxxxxxxxxxxxx97/sso/saml",
       "issuer": "http://www.okta.com/exxxxxxxxxxxxxxxxx97"
   },
   "method": "saml",
   "providername": "okta",
   "allusers": false,
   "modifiedBy": "u-9xxxxxx8-bxxb-5xx6-9xx0-06xxxxxxxxxf",
   "samlAttributeMapping": {
       "fullSynchronization": "enabled",
       "status": "active",
       "attributeMapping": [
           {
               "samlAttributeName": "role",
               "samlAttributeValue": "role1",
               "attributeType": "Role",
               "koreAttribute": "6xxxxxxxxxxxxxxxxxxxxeeb"
           }
       ]
   },
   "name": "joxx.xx@kore.com_saml",
   "ssoProvider": "okta",
   "ACS_IDP_URL": "https://xxxx.kore.ai/api/sso/login/callback?c=e-7dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx4&redirect_url=httpsxxxxxxx2Fxxxx.kore.ai%xxxbotbuilder%xx%3xquery%3x1",
   "ACS_SP_CallBack_URL": "https://xxxxx-dev.kore.com/authorize/callback",
  }

Disable SSO API

This API disables the SSO configuration for an account.

Method DELETE
Endpoint https://{host}/API/public/ssoconfig
Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Not Applicable
  • Admin Console: User Management > SSO Configuration

Path Parameters

Parameter Description Required/Optional
host The environment URL. For example, https://bots.kore.ai Required

Sample Request

curl --location --request DELETE 'https://{{host}}/api/public/ssoconfig' \
     --header 'auth: {jwt-token}' \
     --header 'bot-language: {language-code}' \
     --header 'Content-Type: application/json' \
--data ''

Body Parameters

No body parameters.

Sample Response

{
   "message": "SSO Configuration disabled"
}

Update SSO API

This API updates the SSO configuration for an account.

Method POST
Endpoint https://{host}/API/public/ssoconfig
Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Not Applicable
  • Admin Console: User Management > SSO Configuration

Path Parameters

Parameter Description Required/Optional
host The environment URL. For example, https://bots.kore.ai Required

Sample Request

curl --location 'https://{{host}}/api/public/ssoconfig' \
--header 'auth: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6ImNzLTVjNDkzYmY3LTYxYWMtNWFlZC1hMTMzLTQ0ZGE3MmU0MmNlYyJ9.4XiqSkquaGSbmmW9SK0TY1wS1E-35gHvi6ZsQYt2Umc' \
--header 'Content-Type: application/json' \
--data '{
   "SSO_Authentication":"enable",
   "SSOProtocol": "saml",
   "SAML_IdentityProvider": "okta",
   "SingleSignOnURL": "https://trial-6124441.okta.com/app/trial-6124441_kore_1/exkgn9lkzgRaNi5dS697/sso/saml",
   "IssuerURL": "http://www.okta.com/exkgn9lkzgRaNi5dS697",
   "Certificate": ["{{certificate ID}}"],
    "SAMLAttributeMapping": true,
   "SyncBehaviour": "Synchronize_UpdateExisting",
   "AttributeMapping": [
       {
           "SAMLAttribute_Name": "role",
           "SAMLAttribute_Value": "role1",
           "Attribute_Type": "Role",
           "Kore_Attribute": "667d254fad30fa11a6f3eeeb"
       }
   ]
}'

Body Parameters

Parameter Data Type Description Required/Optional
SSO Authentication String When the value is set to “update,” this parameter updates the overall configuration. Required
SSO Protocol String This parameter indicates the SSO protocol for the configuration update. Required
SAML Identity Provider String This parameter defines the SAML Identity provider the admin is using to update the SSO. Required
Single SignOn URL String The SSO URL for the account. Required
Issuer URL Date The URL of the SSO issuer. Required
certificate String The SSO certificate.

Note:

  • This field is an array.
  • The Maximum number of values supported is two.
Required
SAML Attribute Mapping Boolean If enabled (true), SAML attribute mapping is done based on the sync behavior. Optional. If the parameter is not defined in the request body, the default value is Disabled (False).
Sync Behaviour String Includes one of the following values:

  • Synchronize_UpdateExisting: Synchronize by updating the existing SSO configuration.
  • AddNew_RetainExisting: Add a new SSO configuration by retaining the existing values.
Required if the SAMLAttributeMapping parameter is enabled.
Attribute Mapping Array of Objects of String data type. This parameter supports an array of objects. Each object in the array has the mandatory parameters listed below:

  • samlAttributeName: The SAML attribute name of String data type used for SSO.
  • samlAttributeValue: The SAML attribute value of String data type used for SSO.
  • attributeType: The SAML attribute type which is either Role or Group to which an attribute is mapped.
  • koreAttribute: The Role ID or Group ID to which the SAML attribute should be mapped.
Required

Sample Response

{
   "method": "saml",
   "name": "joxxx.xx@kore.com_saml",
   "allusers": false,
   "ssoProvider": "okta",
   "modifiedDate": "2024-07-23T11:21:50.287Z",
   "modifiedBy": "u-9xxxxxx8-bxxb-5xx6-9xx0-0xxxxxxxxxxf",
   "config": {
       "cert": [
           "{cert ID}"
       ],
       "entryPoint": "https://trial-6xxxxx1.okta.com/app/trial-6xxxxx1_kore_1/exxxxxxxxxxxxxxxx697/sso/saml",
       "issuer": "http://www.okta.com/exxxxxxxxxxxxxxxxxx7"
   },
   "providername": "okta",
   "ACS_IDP_URL": "https://xxxxx.kore.ai/api/sso/login/callback?c=e-7dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx74&redirect_url=https%xxxxxxxxxx%xxxxxx.kore.ai%2xbotbuilder%2x%3Fquery%3x1",
   "ACS_SP_CallBack_URL": "https://ixxxxxy-dxv.kore.com/authorize/callback",
   "message": "SSO Configuration updated successfully"
}

Enable and Manage SSO Configuration APIs

To execute and get results for managing an account’s SSO configurations with the following APIs:

Note: The APIs support SAML, WSFED, and OpenID Connect protocols.

Fetch the SSO Meta API

If SSO is enabled, this API returns the existing SSO configuration along with the URLs. Otherwise, it returns only the URLs. This document covers both the scenarios.

Method GET
Endpoint https://{{host}}/api/public/bot/{{BotID}}/ssoconfig
Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Not Applicable
  • Admin Console: User Management > SSO Configuration

Query Parameters

Parameter Description Required/Optional
host The environment URL. For example, https://bots.kore.ai Required
BotId The Bot ID or Stream ID can be accessed under General Settings on the Bot Builder. Required
SSOProtocol The value for SSO protocol. Required

Sample Request

curl --location --request GET \
'https://{{host}}/api/public/ssoconfig?SSOProtocol=saml' \
--header 'auth: {jwt-token}' \
--header 'bot-language: {language-code}' \
--header 'Content-Type: application/json' \
--data ''

Body Parameters

If SSO is enabled
In this case, the API provides the following meta of the configurations.

Parameter Data Type Description Required/Optional
ACS IDP URL String ACS URL for IDP Initiated SAML Flow. Required
ACS SP CallBack URL String ACS URL for SP Initiated SAML Flow. Required
Method String The method used for the SSO flow. For example, SAML. Required
ssoProvider String The options include:

  • Okta
  • Others
  • OneLogin
  • Bitium
Required
modifiedDate Date The date when the SSO configuration was modified in YYYY-MM-DD format, and Time in HH:MM:SS format. Required
modifiedBy Array of String data type. This parameter supports an array of objects. Each object in the array has the parameters that are listed below:

  • userId: The admin user’s ID.
  • firstName: The admin user’s first name.
  • lastName: The admin user’s last name.
Required
cert String The SSO certificate.

Note:

  • This field is an array.
  • The Maximum number of values supported is two.
Required
entryPoint String The URL of the SSO entry point. Required
Issuer String The URL of the SSO issuer. Required
samlAttributeMapping Array of Objects of String data type. This parameter supports an array of objects. Each object in the array has the mandatory parameters listed below:

  • samlAttributeName: The SAML attribute name of String data type used for SSO.
  • samlAttributeValue: The SAML attribute value of String data type used for SSO.
  • attributeType: The SAML attribute type which is either Role or Group to which an attribute is mapped.
  • koreAttribute: The Role ID or Group ID to which the SAML attribute should be mapped.
Required

If SSO is Disabled

In this case, the API provides the following meta required to enable the app at the identity provider application.

Parameter Data Type Description Required/Optional
ACS IDP URL String ACS URL for IDP Initiated SAML Flow. Required
ACS SP CallBack URL String ACS URL for SP Initiated SAML Flow. Required

Sample Response

If SSO is enabled

{
   "ACS_IDP_URL": "https://xxx.kore.ai/api/sso/login/callback?c=e-7dxxxxxcdxxxxxxcxxxxxxxxxc51xxxxxxxxxx21xxxxxxxxxxxxxxxxxxxxxxx4&redirect_url=httpsxxxxxxxxFsit-xo.kore.axxxxbotbuilderxxxx3Fquery%xx1",
   "ACS_SP_CallBack_URL": "https://idpxxxy-dxx.kore.com/authorize/callback",
   "ssoConfig": {
       "method": "saml",
       "allusers": false,
       "ssoProvider": "okta",
       "modifiedDate": "2024-07-23T07:12:26.549Z",
       "modifiedBy": {
           "userId": "u-94xxxxx8-bxxb-5xx6-9xx0-06xxxxxxxxxf",
           "firstName": "pxxxxxn",
           "lastName": "`bxxxxx"
       },
       "config": {
           "cert": [
               "{certificate ID}"
           ],
           "entryPoint": "https://trial-6xxxxx1.okta.com/app/trial-61xxxxx_kxxe_1/exxxxxxxxxxxxxxxx697/sso/saml",
           "issuer": "http://www.okta.com/exxxxxxxxxxxxxxxxxx7"
       },
       "samlAttributeMapping": {
           "fullSynchronization": "enabled",
           "status": "active",
           "attributeMapping": [
               {
                   "samlAttributeName": "role",
                   "samlAttributeValue": "role1",
                   "attributeType": "Role",
                   "koreAttribute": "6xxxxxxxxxxxxxxxxxxxxxeb"
               }
           ]
       }
   }
}

If SSO is disabled

{
   "ACS_IDP_URL": "https://xxx.kore.ai/api/sso/login/callback?c=e-7dxxxxxcdxxxxxxcxxxxxxxxxc51xxxxxxxxxx21xxxxxxxxxxxxxxxxxxxxxxx4&redirect_url=httpsxxxxxxxxFsit-xo.kore.axxxxbotbuilderxxxx3Fquery%xx1",
   "ACS_SP_CallBack_URL": "https://idpxxxy-dxx.kore.com/authorize/callback"
}

Enable SSO API

This API enables the SSO configuration for an account.

Method POST
Endpoint https://{{host}}/api/public/bot/{{BotID}}/ssoconfig
Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Not Applicable
  • Admin Console: User Management > SSO Configuration

Path Parameters

Parameter Description Required/Optional
host The environment URL. For example, https://bots.kore.ai Required
BotId The Bot ID or Stream ID can be accessed under General Settings on the Bot Builder. Required

Sample Request

curl --location --request POST \
'https://{{host}}/api/public/ssoconfig' \
     --header 'auth: {jwt-token}' \
     --header 'bot-language: {language-code}' \
     --header 'Content-Type: application/json' \
--data '{
    "SSO_Authentication": "enable",
    "SSOProtocol": "saml",
    "SAML_IdentityProvider": "onelogin",
    "SingleSignOnURL": "https://prxxxxng1.onelogin.com/trust/saml2/http-post/sso/3xxxxxe0-8xx6-4xx8-9xx1-dxxxxxx7dxxe",
    "IssuerURL": "https://app.onelogin.com/saml/metadata/3xxxxxe0-8xx6-4xx8-9xx1-d1xxxx07dxxe",
    "Certificate": [
        "{certificate ID}"
    ],
    "SAMLAttributeMapping": true,
    "SyncBehaviour": "Synchronize_UpdateExisting",
    "AttributeMapping": [
        {
            "SAMLAttribute_Name": "role",
            "SAMLAttribute_Value": "role1",
            "Attribute_Type": "Role",
            "Kore_Attribute": "667xxxxxxxxxxxxxxxxxxxxb"
        }
    ]
}'

Body Parameters

Parameter Data Type Description Required/Optional
SSO Authentication String This parameter enables the overall configuration. Required
SSO Protocol String This parameter indicates the SSO protocol the admin wants to enable for the account. Required
SAML Identity Provider String This parameter defines the SAML Identity provider the admin is using to enable the SSO. Required
Single SignOn URL String The SSO URL for the account. Required
Issuer URL Date The URL of the SSO issuer. Required
certificate String The SSO certificate.

Note:

  • This field is an array.
  • The Maximum number of values supported is two.
Required
SAML Attribute Mapping Boolean If enabled (true), SAML attribute mapping is done based on the sync behavior. Optional. If the parameter is not defined in the request body, the default value is Disabled (False).
Sync Behaviour String Includes one of the following values:

  • Synchronize_UpdateExisting: Synchronize by updating the existing SSO configuration.
  • AddNew_RetainExisting: Add a new SSO configuration by retaining the existing values.
Required if the SAMLAttributeMapping parameter is enabled.
Attribute Mapping Array of Objects of String data type. This parameter supports an array of objects. Each object in the array has the mandatory parameters listed below:

  • samlAttributeName: The SAML attribute name of String data type used for SSO.
  • samlAttributeValue: The SAML attribute value of String data type used for SSO.
  • attributeType: The SAML attribute type which is either Role or Group to which an attribute is mapped.
  • koreAttribute: The Role ID or Group ID to which the SAML attribute should be mapped.
Required

Sample Response

{
   "config": {
       "cert": [
           "{certificate ID}"
       ],
       "entryPoint": "https://trial-6xxxxx1.okta.com/app/trial-6xxxxx1_kore_1/exxxxxxxxxxxxxxxxx97/sso/saml",
       "issuer": "http://www.okta.com/exxxxxxxxxxxxxxxxx97"
   },
   "method": "saml",
   "providername": "okta",
   "allusers": false,
   "modifiedBy": "u-9xxxxxx8-bxxb-5xx6-9xx0-06xxxxxxxxxf",
   "samlAttributeMapping": {
       "fullSynchronization": "enabled",
       "status": "active",
       "attributeMapping": [
           {
               "samlAttributeName": "role",
               "samlAttributeValue": "role1",
               "attributeType": "Role",
               "koreAttribute": "6xxxxxxxxxxxxxxxxxxxxeeb"
           }
       ]
   },
   "name": "joxx.xx@kore.com_saml",
   "ssoProvider": "okta",
   "ACS_IDP_URL": "https://xxxx.kore.ai/api/sso/login/callback?c=e-7dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx4&redirect_url=httpsxxxxxxx2Fxxxx.kore.ai%xxxbotbuilder%xx%3xquery%3x1",
   "ACS_SP_CallBack_URL": "https://xxxxx-dev.kore.com/authorize/callback",
  }

Disable SSO API

This API disables the SSO configuration for an account.

Method DELETE
Endpoint https://{host}/API/public/ssoconfig
Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Not Applicable
  • Admin Console: User Management > SSO Configuration

Path Parameters

Parameter Description Required/Optional
host The environment URL. For example, https://bots.kore.ai Required

Sample Request

curl --location --request DELETE 'https://{{host}}/api/public/ssoconfig' \
     --header 'auth: {jwt-token}' \
     --header 'bot-language: {language-code}' \
     --header 'Content-Type: application/json' \
--data ''

Body Parameters

No body parameters.

Sample Response

{
   "message": "SSO Configuration disabled"
}

Update SSO API

This API updates the SSO configuration for an account.

Method POST
Endpoint https://{host}/API/public/ssoconfig
Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Not Applicable
  • Admin Console: User Management > SSO Configuration

Path Parameters

Parameter Description Required/Optional
host The environment URL. For example, https://bots.kore.ai Required

Sample Request

curl --location 'https://{{host}}/api/public/ssoconfig' \
--header 'auth: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6ImNzLTVjNDkzYmY3LTYxYWMtNWFlZC1hMTMzLTQ0ZGE3MmU0MmNlYyJ9.4XiqSkquaGSbmmW9SK0TY1wS1E-35gHvi6ZsQYt2Umc' \
--header 'Content-Type: application/json' \
--data '{
   "SSO_Authentication":"enable",
   "SSOProtocol": "saml",
   "SAML_IdentityProvider": "okta",
   "SingleSignOnURL": "https://trial-6124441.okta.com/app/trial-6124441_kore_1/exkgn9lkzgRaNi5dS697/sso/saml",
   "IssuerURL": "http://www.okta.com/exkgn9lkzgRaNi5dS697",
   "Certificate": ["{{certificate ID}}"],
    "SAMLAttributeMapping": true,
   "SyncBehaviour": "Synchronize_UpdateExisting",
   "AttributeMapping": [
       {
           "SAMLAttribute_Name": "role",
           "SAMLAttribute_Value": "role1",
           "Attribute_Type": "Role",
           "Kore_Attribute": "667d254fad30fa11a6f3eeeb"
       }
   ]
}'

Body Parameters

Parameter Data Type Description Required/Optional
SSO Authentication String When the value is set to “update,” this parameter updates the overall configuration. Required
SSO Protocol String This parameter indicates the SSO protocol for the configuration update. Required
SAML Identity Provider String This parameter defines the SAML Identity provider the admin is using to update the SSO. Required
Single SignOn URL String The SSO URL for the account. Required
Issuer URL Date The URL of the SSO issuer. Required
certificate String The SSO certificate.

Note:

  • This field is an array.
  • The Maximum number of values supported is two.
Required
SAML Attribute Mapping Boolean If enabled (true), SAML attribute mapping is done based on the sync behavior. Optional. If the parameter is not defined in the request body, the default value is Disabled (False).
Sync Behaviour String Includes one of the following values:

  • Synchronize_UpdateExisting: Synchronize by updating the existing SSO configuration.
  • AddNew_RetainExisting: Add a new SSO configuration by retaining the existing values.
Required if the SAMLAttributeMapping parameter is enabled.
Attribute Mapping Array of Objects of String data type. This parameter supports an array of objects. Each object in the array has the mandatory parameters listed below:

  • samlAttributeName: The SAML attribute name of String data type used for SSO.
  • samlAttributeValue: The SAML attribute value of String data type used for SSO.
  • attributeType: The SAML attribute type which is either Role or Group to which an attribute is mapped.
  • koreAttribute: The Role ID or Group ID to which the SAML attribute should be mapped.
Required

Sample Response

{
   "method": "saml",
   "name": "joxxx.xx@kore.com_saml",
   "allusers": false,
   "ssoProvider": "okta",
   "modifiedDate": "2024-07-23T11:21:50.287Z",
   "modifiedBy": "u-9xxxxxx8-bxxb-5xx6-9xx0-0xxxxxxxxxxf",
   "config": {
       "cert": [
           "{cert ID}"
       ],
       "entryPoint": "https://trial-6xxxxx1.okta.com/app/trial-6xxxxx1_kore_1/exxxxxxxxxxxxxxxx697/sso/saml",
       "issuer": "http://www.okta.com/exxxxxxxxxxxxxxxxxx7"
   },
   "providername": "okta",
   "ACS_IDP_URL": "https://xxxxx.kore.ai/api/sso/login/callback?c=e-7dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx74&redirect_url=https%xxxxxxxxxx%xxxxxx.kore.ai%2xbotbuilder%2x%3Fquery%3x1",
   "ACS_SP_CallBack_URL": "https://ixxxxxy-dxv.kore.com/authorize/callback",
   "message": "SSO Configuration updated successfully"
}
メニュー