Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Request for Information: Direct Web Survey URL Generation API

    Posted 7 days ago

    Hi Developer Team,

    In the January 19 Genesys Cloud release notes, it was mentioned that a new feature is available to generate Direct Web Survey URLs using a public API.

    I am currently unable to locate this API in the Genesys Cloud API Explorer. Could you please confirm whether this API has been officially released and is publicly accessible?

    If available, I would appreciate it if you could share:

    • The API endpoint name

    • Relevant documentation or release notes

    • A sample request or usage example

    Thank you for your time and support. I look forward to your guidance.


    #DataActions
    #PlatformAPI
    #Uncategorized

    ------------------------------
    Thanks,
    Balaji B
    ------------------------------


  • 2.  RE: Request for Information: Direct Web Survey URL Generation API
    Best Answer

    Posted 6 days ago

    Hi Balaji,

    It's POST /api/v2/quality/surveys

    If you go to the API Explorer you will find the API with the documentation. The body is like that below and then you will get a survey URL in the response.

    {
      "conversationId": "XXXX",
      "surveyFormContextId": "XXXX",
      "agentId": "XXXX",
      "queueId": "XXXX"
    }



    ------------------------------
    Richard Chandler
    Connect
    ------------------------------



  • 3.  RE: Request for Information: Direct Web Survey URL Generation API

    Posted 6 days ago
    Hi Richard,

    Thank you for the information.

    I was able to find the POST /api/v2/quality/surveys API in the API Explorer, and I've tested it successfully. 
    The API is working as expected and returns the survey URL in the response.

    Thanks again for your guidance and support.

    ---
    Thanks,
    Balaji Balakrishnan






  • 4.  RE: Request for Information: Direct Web Survey URL Generation API

    Posted 6 days ago
    Edited by Nick Argeson 6 days ago

    I am trying to use this as well. I was under the assumption that you would not need the conversation id to send the survey. 

    Are there any suggestions on how to use this for web messaging? 



    ------------------------------
    Nick Argeson
    Telephony Admin
    ------------------------------



  • 5.  RE: Request for Information: Direct Web Survey URL Generation API

    Posted 6 days ago

    Hi Nick

    You need to use the GET /api/v2/quality/forms/surveys to get the contextid for a survey or GET /api/v2/quality/forms/surveys/{formId}

    It appears two ideas were merged and likely needs a new idea specifically without a conversation. However this is possible using a workflow or other automation but is a lot more than 1 API to get to the URL.



    ------------------------------
    Richard Chandler
    Connect
    ------------------------------