--- title: "Scripts" slug: "scripts-1" updated: 2025-02-06T16:25:24Z published: 2025-02-06T16:25:24Z canonical: "docs.visualvault.com/scripts-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.visualvault.com/llms.txt > Use this file to discover all available pages before exploring further. # Scripts #### **POST **/Scripts**** --- > **Calls a VisualVault microservice.** ##### ****Query Parameters**** | Parameter | Type | Description | | --- | --- | --- | | name | String | The name of the script. | | id | String | The script ID. | | postAsJson | Bool | Post the data as JSON? | | transform | Bool | Return the data in raw JSON format? | ##### ****Response Codes**** | Code | Description | | --- | --- | | 400 | Bad Request | | 401 | Unauthorized | #### **T **/Scripts/CompleteWorkflowScript**** --- > **Complete a workflow script.** ##### ****Body Parameters**** | Parameter | Type | Description | | --- | --- | --- | | executionId | Guid | The execution ID. | | workflowVariables | String | List of workflow variables. | ##### ****Response Codes**** | Code | Description | | --- | --- | | 200 | OK | | 400 | Bad Request | | 500 | Internal Server Error | #### **GET **/Scripts/{formTemplateId}/FormScriptFile**** --- > **Returns the scripts of a form in a self-contained file.** ##### ****Route Parameters**** | Parameter | Type | Description | | --- | --- | --- | | formTemplateId* | Guid | The form template ID. | ##### ****Query Parameters**** | Parameter | Type | Description | | --- | --- | --- | | formChId | Guid | ChID of the form. | | isPreview | Bool | Is this a form preview? |