Integration with Bot

This contains information on how to integrate bot engine with CXPerium.

Getting started with CXPerium API

API Key Generation
  • Under the Settings on the navigation bar, find the API Integration menu.

  • Generate new API Token.

Developer Settings
  • Under the Assistant on the navigation bar, find Developer Settings menu. Copy the Address field that starts with hook.cxperium.com.

  • After getting the API, open the project that you have clonned from https://github.com/qsoft-git/CXPerium.Bot.Sample.git.

  • In the appsettings.json file, fill the required attributes that you have acquired from CXPerium. (API Key, Hook Url)

appsettings.json Settings

  • AdminUsers: This field is required to use features reversed for admins. Comma seperated numbers. Ex: "90536_______,90533_______"

  • BotUrl: This field is required to publish any file from your project url. Ex: https://bot.cxperium.com

  • HookUrl: This field is required to use features such as live support, surveys, etc. Accessible from Settings/WhatsApp Number menu from https://app.cxperium.com.

  • ApiKey: This field is required to integrate CXPerium with bot engine. Accessible from Settings/Integration menu from https://app.cxperium.com.

  • ApiUrl: This field is required to integrate CXPerium with bot engine. Must be https://api.cxperium.com

  • IsActive: This field is required and must be set to true.

Last updated