Getting script details

Each Script object has its own URL:, where :id is the unique identifier of the script.
To get Script object details, you should HTTP GET on the specific scripts endpoint, and a JSON object representing the script will be returned.


Path parameterDescription
idUnique identifier of the script you want to get details for
GETting script details
$ curl \
-s \
-H 'Accept: application/json'
-H 'Authorization: Bearer YOUR_TOKEN_HERE'

HTTP/1.1 200 OK
JSON Response (script details)
  "id": "3aehje9d536s46d59ba5bcf49b582ear",
  "name": "Alert",
  "value": "<script>alert('test');</script>",
  "uri": ""