Calagopus icon

Calagopus

Interact with the Calagopus API

Actions343

Custom Request → Request

AI-generated

Summary

Sends an authenticated request to a custom Calagopus API path using the selected HTTP method. Use it to call API endpoints that are not covered by the node’s predefined operations.

Inputs

  • HTTP Method — Method for the request: GET (default), POST, PUT, PATCH, or DELETE.
  • Path (required) — API path, with or without a leading slash. A missing slash is added automatically.
  • Query Parameters JSON — JSON object of query parameters; defaults to {}. The value must parse as an object.
  • Body Mode — Choose JSON (default), Raw Text, or None. For JSON, the body defaults to {} and must be a JSON object; raw text is sent as text/plain. None omits the body.
  • Additional Options — Optionally return full response details (status, headers, and body), ignore HTTP status errors, or set a timeout in milliseconds. A timeout of 0 uses n8n defaults.

Output shape

A single item per input item, containing the response body as JSON.

Array responses are wrapped as {"data": [...]}; primitive responses as {"data": value}; and null or undefined responses as {"success": true}. With Return Full Response enabled, the response details are included in the returned JSON. If Continue On Fail is enabled, a failed item returns {"error": "..."}; otherwise the node raises an item-level error.

Examples

Example 1: Make a GET request to a permissions endpoint

Select GET and enter /api/client/permissions as the path. Leave Query Parameters JSON as {} unless the endpoint needs parameters.

Example 2: Send a JSON request to an endpoint

Choose POST, PUT, or PATCH; set Body Mode to JSON and enter the request object in Body JSON.

Example 3: Send plain text or omit the body

Set Body Mode to Raw Text and enter the text, or choose None to send no request body.

Links

Discussion