Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  How to update a script using Genesys API/CLI

    Posted 05-19-2025 10:45

    I need to automate the update of a script, I think that using python to call the api would be a good option, but I would like to know if anyone has a better strategy or an example to update the scripts in a more dynamic way.


    #PlatformAPI
    #PlatformCLI
    #Scripts

    ------------------------------
    Jesus Garces
    NA
    ------------------------------


  • 2.  RE: How to update a script using Genesys API/CLI

    Posted 06-04-2025 08:13

    Hi

    I recommend checking out our Terraform provider to see if it suits.

    It's a good option because it takes care of all the request building, and also provides an easy-to-use method of injecting values into the script file. 

    Also, in case you haven't found this already, this article describes how to update a script via code: https://developer.genesys.cloud/routing/scripts/importscripts

    Hope this helps,



    ------------------------------
    Charlie Conneely
    Software Engineer
    ------------------------------