Top

Chatbot using web API's

Comments

4 comments

  • Vincent BAILLEAU

    Hi Parthi,

    No, it's not possible to converse with Rainbow user without a login. Nevertheless, you may use a temporary guest user to accomplish you task. For security reason this user have to be created and login (with API, without XMPP) at server side level (backend).

    Once you're temporary user is connected, transmit the guest JWT token to you front end in order to call the signinOnRainbowOfficialWithToken method ( https://hub.openrainbow.com/#/documentation/doc/sdk/web/api/connection#module_Connection.signinOnRainbowOfficialWithToken ).

    You are now able to communicate with Rainbow visible users on Rainbow.

    Regards

    Vincent

    1
    Comment actions Permalink
  • Parthi Sai

    Thank you for the support. Well received your point.

    Regards,

    Parthi Sai

    0
    Comment actions Permalink
  • kara desu

    "you may use a temporary guest user to accomplish you task. For security reason this user have to be created and login (with API, without XMPP) at server side level (backend)."

    Are you talking about the "/api/rainbow/admin/v1.0/users" api? it doesn't return any token, just the created user (with guest role) data.

    Thanks.

    0
    Comment actions Permalink
  • Vincent BAILLEAU

    Hi kara desu,

    please simply use the email and it's associated password return during guest user creation in order to login and retrieve the user token, please have a look on hub documentation for more details.

    Thank you

    Regards

    0
    Comment actions Permalink

Please sign in to leave a comment.

Still can't find what you need?

  • Contact Us

    Do you have any question about Rainbow? Leave us a message to get more information.

    Contact
  • Ask the Community

    Do you need help? Ask your questions to the Community and get answers from other Rainbow users.

    Post message