Genesys Cloud - Developer Community!

 View Only

Sign Up

Force Expiration of Web Survey URL

  • 1.  Force Expiration of Web Survey URL

    Posted 11 hours ago
    Edited by Orestis Dimitropoulos 7 hours ago

    Hello,

    The web Survey URL is sent to customer via email. At the moment, this link expires after 90 days. There is an idea submitted in ideas portal some years now, where it is suggested that the expiration time frame should be configurable - https://genesyscloud.ideas.aha.io/ideas/WEM-I-305. This can be really useful, as most customers would like the survey link to be active for some days not 3 months.

    Going through the developer center and the platform API, i came across this promising API call:

    PUT /api/v2/quality/surveys/scorable

    One of the available inputs is the status.

    status
    (string) Valid values: Pending, Sent, InProgress, Finished, OptOut, Error, Expired.

    But when i try to invoke it using the Expired value, i always get the following error message: "Unauthenticated update status may only be InProgress or Finished"

    Q1) Is there a way to overcome this error?

    Q2) If the only applicable values are InProgress or Finished, what is the point of listing/documenting the rest of the values in the first place?

    Best Regards,

    Orestis.


    #PlatformAPI

    ------------------------------
    Orestis Dimitropoulos
    ------------------------------