Actions32
- Custom API Call Actions
- Custom Field Actions
- Filament Actions
- File Actions
- Organization Actions
- Print Job Actions
- Printer Actions
- Queue Actions
Custom API Call → Custom API Call
AI-generatedSummary
Perform arbitrary HTTP requests against SimplyPrint API endpoints within the company scope or globally, specifying method, path, query parameters, and JSON body.
Inputs
- Authentication — Choose OAuth2 (recommended) or API Key for authenticating with SimplyPrint.
- HTTP Method (required) — HTTP method to use for the API call: GET, POST, PUT, PATCH, or DELETE.
- Path (required) — Endpoint path relative to the company scope (e.g., 'printers/Get'). Leading slash is optional.
- Query Parameters — JSON object representing query string parameters to include in the request.
- JSON Body — JSON object to send as request body; ignored if method is GET.
- Use Company Scope — Boolean to indicate whether to prefix the path with the bound company ID (default true). Disable to call endpoints without company scope, e.g., /0/account/GetUser.
Output shape
a JSON object parsed from the response body of the custom API call
The output shape depends on the specific endpoint called; errors from SimplyPrint return NodeApiError. GET requests ignore the JSON body parameter. The path is automatically prefixed with /api/{company}/ unless 'Use Company Scope' is disabled.
Examples
Example 1: Example: Perform a GET request to list printers
Set HTTP Method to GET, Path to 'printers/Get', Use Company Scope to true (default). Optionally add query parameters as JSON.