API Request

The API Request tool enables users to send HTTP requests to any endpoint, making it easy to integrate with external APIs, webhooks, or custom backends. Whether you’re connecting to a public service like Make.com or integrating with internal APIs, this tool offers the flexibility to send requests using various methods and headers, and even chain outputs with other tools for advanced workflows.

Key Features

  • Perform API requests using GET, PUT, POST, DELETE, or HEAD methods.
  • Configure custom URLs to connect to any external services.
  • Secure your requests with a Bearer Token for Authorization.
  • Add additional, custom headers to meet API-specific requirements.
  • Accept dynamic input through custom body parameters or outputs from previous tool steps.
  • Optionally require human approval before executing the request for safer operations.
  • Seamlessly integrate with other tools like the Model Selector for processing responses.

How to Use the API Request Tool

  1. Setting Up Your Request:

    • Choose a label that will be displayed during the step (e.g. “API Request 1”).
    • Provide the URL where you want the HTTP request to be sent. This can be an endpoint from any service, such as a Make.com webhook or another API.
  2. Configuring Security:

    • Enter a Bearer Token to automatically set the Authorization header. This is essential when connecting to protected APIs.
    • If necessary, add any additional headers that the API may require. These could be custom client headers or any other additional headers needed for the request.
  3. Choosing the HTTP Method:

    • Select the HTTP method appropriate for your request from the following options: GET, PUT, POST, DELETE, or HEAD.
    • Configure a custom body for methods like POST or PUT if your API requires specific structured data, or use outputs from prior steps for seamless integration.
  4. Integrating within Advanced Workflows:

    • Connect the API Request tool with other components like the Model Selector. For instance, fetch data via an API request and then analyze the output using an AI model.
    • The tool is highly configurable, making it ideal for chaining steps together to build complex workflows and advanced AI-driven processes.
  5. Human Approval Option:

    • Enable the “Require human approval before you send the request” setting if you need an extra layer of security or validation before executing a critical API call.

The API Request tool is your gateway to integrating diverse systems, automating tasks, and building powerful AI agents and coworkers that can communicate, process, and analyze data from a wide array of sources.