/api/scripts/run
Download PDFREST API endpoint: /api/scripts/run
/api/scripts/run
POST
Summary: Run one script and return its output
Runs an installed trigger script on the Script Server with a supplied event and waits for it. A non-zero returncode is a failing script, not a failing request.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| timeout | integer | No | Seconds to wait for the script (1-30) |
Request Body
json{
"example": "request body"
}