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
------------------------------
Original Message:
Sent: 05-19-2025 10:44
From: Jesus Garces
Subject: How to update a script using Genesys API/CLI
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
------------------------------