v1

latestOpenAPI 3.0.0ISC2026-07-26782347.5 KB
scripts

Gets the code of a script.

get/scripts/code

Query parameters

scriptstring required

Name of the script to fetch the code from.

orgstring nullable

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

branchstring nullable

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

environment'staging' | 'release' nullable

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

Headers

X-Phantombuster-Orgstring

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

Response

OK

codestring required