/scripts/code

Gets the code of a script.

Query Params
string
required

Name of the script to fetch the code from.

string | null

If set, the specified org will be used to fetch the code.

string | null

If set, the specified branch will be used to fetch the code.

string | null
enum

If set, the specified environment will be used to fetch the code.

Allowed:
Headers
string

ID of the org that is perfoming the operation (not necessary when using a third party key)

Responses

400

No such org, script, branch or environment.

401

Script is not from your org and isn't public or is in staging.

412

Script does not exist in the specified branch.

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json