Create Scripts

You can create a script by posting text to the script endpoint.

Every script needs to be located within an organization, a project and a module so you can either explicitly define them or they will be defaulted for you.


As scripts cannot be changed, you'll need to create a new version to update them.

You can get an overview of all your scripts by listing them or you can can retrieve scripts by script ID.

Code example

import audiostack

audiostack.api_key = "<<apiKey>>"

# Create a new script and print the script created
script = audiostack.Content.Script.create(
    scriptText="""<as:section name="intro" soundsegment="intro">My first script</as:section>"""

What’s Next