ZAP API UI

Component: script

View:scriptCustomVar

Gets the value (string representation) of a custom variable. Returns an API error (DOES_NOT_EXIST) if no script with the given name exists or if no value was previously set.
Output Format
apikey*
Form Method
scriptName*The name of the script.
varKey*The key of the variable.