Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Need to Initate conference using a cusom button in agent script

    Posted 10-03-2024 04:30
    No replies, thread closed.

    Hi All,

    I'm trying to implement direct conference button in genesys cloud.

    I created a data action to add participant using the below api

    /api/v2/conversations/calls/${input.conversationId}/participants

    but this api throws an error " not a user"

    How can we call these user based Oauth apis?

    Regards,

    Jarvish Kisanth Singh


    #API/Integrations

    ------------------------------
    Jarvish Kisanth Singh
    Voya Services Company
    ------------------------------


  • 2.  RE: Need to Initate conference using a cusom button in agent script

    Posted 10-03-2024 09:03
    No replies, thread closed.

    Hi Jarvish,

    Hopefully someone here can help with your query, but this it might also be worth asking on the Genesys Cloud Developer Forum



    ------------------------------
    Sam Jillard
    Online Community Manager/Moderator
    Genesys - Employees
    ------------------------------



  • 3.  RE: Need to Initate conference using a cusom button in agent script
    Best Answer

    Posted 10-04-2024 09:35
    No replies, thread closed.

    Hi Jarvish. 

    Most of the call control requests under the Conversation API require a user context.  Data Action do not operate under a user context because they authenticate with an OAuth client credentials grant.  To my knowledge, Scripter does not yet offer a built-in Conference action, but that would be a good candidate for you to open an Idea on the Genesys Cloud Ideas Portal

    If you have some basic HTML/Javascript skills or access to a developer that does then you could create an Interaction Widget that would sit with the other widgets on the right side of the interaction handling UI and from there you can code up that request.  Interaction Widgets do run under a user context so they can make call control requests.

    DM me if you need any samples to get started.



    ------------------------------
    Jim Crespino
    Senior Director, Developer Evangelism
    Genesys
    https://developer.genesys.com
    ------------------------------



  • 4.  RE: Need to Initate conference using a cusom button in agent script

    Posted 10-04-2024 09:56
    No replies, thread closed.

    Hi Jim,

    Thanks for the update,

    Yes, I need samples of code. since I'm confused how can we pass the JWT token of a user.

    let me know your comments!

    Regards,

    Jarvish Kiasnth Singh



    ------------------------------
    Jarvish Kisanth Singh
    Voya Services Company
    ------------------------------