API Node

The API Node invokes an API endpoint and returns back the status code, raw output, and JSON output if applicable. These APIs can be either publicly accessible or privately defined within your backend through the help of Authorization headers and Secrets.

API Node Interface

The API Node provides a simple interface for configuring your API requests:

API Node

When you open the API Node, you’ll see a detailed configuration interface where you can define your request:

API Node Configuration

Key Features

  • HTTP Methods: Support for standard methods (GET, POST, PUT, DELETE, etc.)
  • Request Body: Configure JSON or form data payloads
  • Authorization: Multiple auth types including None, Bearer Token, and API Key
  • Headers: Add custom headers to your requests
  • Dynamic URLs: Create flexible API calls using variables

You can use a Templating Node and the “Dynamic” field of an API Node to quickly and flexibly make API calls in your Workflows. See the example below for more details. Notice how we do string concatenation in the Templating Node using Jinja2’s ~ syntax.

Dynamic URL Example Workflow