dydu documentation
FrenchEnglish
  • A Single Software, various applications
  • First use guide
    • Getting started
    • Create your bot
    • Create your first knowledge
    • Create and publish your chatbot
    • Frequent use cases
    • Best practices
    • Glossary
  • Contents
    • Knowledge
      • Knowledge management
      • Tags management
      • Knowledge types
        • Answer to a question
        • Complementary answer
        • Predefined answer
        • Event-triggered knowledge
        • Slot filling
      • Answers elements
      • Accessibility for bot answers
      • Decision tree
      • Comments
      • Test the bot
      • Qualities alerts
    • Knowledge map
    • Matching groups
    • Global sentences
    • Language / Spaces
    • Context conditions
    • External Contents
    • Gallery
    • Web services
      • Web Services
      • Configuration examples (REST)
      • Configure OIDC on Keycloak for a Web Service
      • Frequently asked questions
    • Advanced
      • Server scripts
      • Predefined answer templates
      • Variables
      • Web services triggers
      • Top knowledge
    • Tools
    • Import/Export of knowledge
  • Learning
    • Dialogs
    • Suggestions
    • Misundestood sentences
  • Analytics
    • Exploitation
      • Important
      • Dialogs
      • Visitors
      • Themes
      • Knowledge
      • Qualification
      • Users feedbacks
      • Clicked links
      • Rewords
      • Performance
      • Other
    • Livechat
      • Dialogs
      • Knowledge
      • Operators
      • Satisfaction
      • Waiting queues
    • Knowledge base
      • Formulations
      • Users
      • Matches
    • Export
    • Configuration
  • Custom analytics
    • Reports
    • Alerts
    • Configuration
      • Reports
      • Exports
      • Predefined sources
      • Alerts
      • Preferences
      • Annex: List of indicators
  • Livechat
    • Enable livechat
    • Knowledge base setup
    • DYDU Livechat
      • Overview of interfaces
        • Operator Interface
        • Manager interface
      • Dydu livechat setup
        • General
        • Competencies
        • Waiting queues
          • General
            • Setting up the waiting queue
          • Competency
            • Setting up the waiting queue by competency
            • Setting up a knowledge base with the waiting queue by competency
        • Operator capactiy
        • Account parameters
    • Genesys Livechat connector
  • Integration
    • FAQ
      • Static FAQ
      • Dynamic FAQ
    • MetaBot
    • Customisation
    • Javascript actions
    • Custom event-triggered rules
    • Channels
      • Dydubox
      • Dydubox advanced
        • Css editor
          • Teaser
            • CSS Teaser Modification
          • Header
            • CSS Header Modification
          • Body
            • CSS Body Modification
        • Custom JS Editor
        • Label management
        • Possible integrations
      • Connector
        • Teams
        • META
          • Messenger
          • Instagram
          • WhatsApp
          • Compatibility of DYDU bot features with META
          • Meta application control
    • LLM - Generative AI (Artificial Intelligence)
    • Integration of a chatbox into a webview
  • Preferences
    • SAML 2
    • OpenID Connect (OIDC)
    • Users and rights
    • Bot
      • General
      • Dialogs
      • Survey
      • URLs
      • Search field
  • Other
    • How does your bot work?
    • Data protection
      • Cookie management policy
    • Console logs
    • Special keywords
    • Technical aspects
      • Hosting
      • Infrastructure
    • Security
      • General information
      • Server usage
      • Open source tools
      • User session expiration
  • Developers
    • API reference
      • Authentication
      • Dialog API
      • Dialogs Export
      • Search field
      • Import Export Bot
      • Import/Export Knowledge Base
      • Server Status API
      • Access to APIS
      • User Management in the BMS
    • Chatbox V5
      • Setup and integration
Powered by GitBook

Tous droits réservés @ 2023 dydu.

On this page
  • Servlet
  • Bot preferences

Was this helpful?

  1. Developers
  2. API reference

Access to APIS

PreviousServer Status APINextUser Management in the BMS

Last updated 9 months ago

Was this helpful?

To access APIS, go to Preferences > Api > API access.

The identifier is botUUID.

Note that you will also need an Authorization that you can obtain by following the procedure on this page.

Click the link displayed if you want to access the servlet.

You can then view the different API accesses and make the desired changes for each item you can access.

Servlet

  • Account: allows you to get all the bots that a user has access to.

  • Account preferences: allows you to get information about user account preferences. You can also add or remove them.

  • Authentication: allows you to generate a valid token for 24 hours.

  • BO users: allows you to add a user.

  • Bot preferences: allows you to get information about your bot's preferences. You can also add or remove them. See next section for more information from concrete use cases.

  • Callback: allows you to manage various Twilio operations.

  • Chat: allows you to manage various dialogs-related operations.

  • Competencies: allows you to manage various operations related to competencies (adding a competency for a user account, deleting competency, etc.).

  • Dialogs: allows you to perform massive dialogs exports.

  • External matchers: allows you to manage various operations related to external matchers (check the status of the Luis mirror, export the database in Luis format, etc.).

  • Knowledge base: allows you to import or export a knowledge base.

  • Log Explicit: allows you to manage various log-related operations.

  • Matching groups: allows you to get all the matching groups of your bot.

  • Operators availability: allows you to know the availability of operators.

  • Saml2 service provider for chatboxes: allows you to manage various SAML related operations.

  • Server status: allows you to get information about server status and debug information.

  • Surveys: allows to manage various operations on the surveys (creation of survey, retrieval of surveys, etc.).

  • Transfer Bot Data: allows you to manage the import of data from your bot. You can import or export a gallery images.

  • Who am I: allows you to retrieve the information received by the servlet.

Bot preferences

This part allows you to activate certain parameters within the dydu platform.

Enable SAML Service

In order to enable the SAML service on your platform, it may be necessary to add this preference to your bot preferences (if this has not been done yet). To do so, please follow the following procedure:

  1. Go to Preferences > Api > API access and click the link provided.

  2. Click Bot preferences.

  3. Click PUT /preferences/bot/[botUUID]/{name}/{value}.

  4. Fill in the fields:

    • **botUUID:**Your bot ID;

    • name: chatbox.auth.saml.menu.enabled;

    • value: true;

    • Authorization: generated token.

  5. Click Execute.

    The SAML service is now available.

Enable monitored dialogs

In order to enable monitored dialogs on your platform, it may be necessary to add this preference to your bot preferences (if this has not been done yet). To do so, please follow the procedure:

  1. Go to Preferences > Api > API access and click the link provided.

  2. Click Bot preferences.

  3. Click PUT /preferences/bot/[botUUID]/{name}/{value}.

  4. Fill in the fields:

    • botUUID: your bot ID;

    • name: livechat.createmonitoreddialogs;

    • value: true;

    • Authorization: generated token.

  5. Click Execute.

    Monitored dialogs are now available.

Customize the service name in the GDPR mail body

In order to customize the service name in the GDPR mail body, you must change the bot.servicename parameter in the preferences of your bot. To do so, please follow the procedure:

  1. Go to Preferences > APIS > API access and click the link provided.

  2. Click Bot preferences.

  3. Click PUT /preferences/bot/[botUUID]/{name}/{value}.

  4. Fill in the fields:

    • botUUID: your bot ID;

    • name: bot.servicename;

    • value: your service name;

    • Authorization: generated token.

  5. Click Execute.

    The GDPR mail with the name of the service is now customized.

Enable matching group No associated with Social Bot

For a very large number of cases, this configuration is not necessary (pre-existing configuration).

In order to be able to optimally manage the confirmation when the user wants to leave Slot, you need your bot can handle the No matching group of the social bot. Otherwise, your bot may trigger the dropping of the knowledge Slot when the user did not want it. In order to complete this configuration, please follow these steps:

  1. Go to Contents > Matching groups.

  2. Click on the Social group to scroll through the groups and then click on the group No.

  1. Click Dependencies.

  2. Go to Preferences > Api > API access and click the link provided.

  3. Click Bot preferences.

  4. Click PUT /preferences/bot/[botUUID]/{name}/{value}.

  5. Fill in the fields:

    • botUUID: your bot ID;

    • name: bot.no.group.uuid;

    • value: enter the value retrieved when step 4;

    • Authorization: generated token.

  6. Click Execute.

Your bot is now able to handle the No matching group associated with your server's social bot.

Retrieve the UUID from the URL that matches the sequence of numbers and letters after the group = element. Thus, if the URL is: , the information retrieved is: 07881a62-cc44-45c3-9aea-fc53727931f0

https://app1.earth.doyoudreamup.com/website/knowledges/groupgraph?group=07881a62-cc44-45c3-9aea-fc53727931f0