FirstSpirit REST API icon

FirstSpirit REST API

Interact with FirstSpirit REST API

Script → Execute Script

AI-generated

Summary

Execute a named script within a specified project on the FirstSpirit platform by sending a POST request with custom JSON content to the script's execute endpoint.

Inputs

  • Project ID (required) — The ID of the project in which the script resides.
  • Script Name (required) — The exact name of the script to be executed.
  • Content (required) — Raw JSON representing the request body payload to pass to the script execution endpoint.

Output shape

A single JSON object representing the response from the script execution endpoint.

The operation returns the response JSON from the API call to execute the script. The response format depends on the script executed. Content-Type header is set to 'text/plain' but response is parsed as JSON if possible.

Discussion