The Autohive API Call integration lets your agents and workflows make GET and POST requests to any API endpoint — no dedicated integration required. Use it to connect to internal APIs, third-party services, or any URL that accepts HTTP/HTTPS requests.

Use the integration

You can use the API Call integration with your agents, and workflows.

  1. Follow the Create your first agent guide to create an agent or use an existing agent in your worksapce or from the marketplace.
  2. In Agent settings, scroll down to Add capabilities and enable the API Call capability.
  3. Prompt your agent with the request you’d like to make, including the URL and any required headers or parameters.

Available capabilities

GET Request

Make a GET request to any API endpoint.

ParameterTypeRequiredDescription
urlstringYesThe URL to make the GET request to
paramsobjectNoQuery parameters to append to the URL (key-value string pairs)
headersobjectNoHTTP headers to include in the request (key-value string pairs)

Response fields:

FieldTypeDescription
status_codeintegerHTTP status code of the response
response_dataanyThe response body returned from the API
headersobjectResponse headers returned by the server
successbooleanWhether the request completed successfully
errorstringError message if the request failed

POST Request

Make a POST request to any API endpoint.

ParameterTypeRequiredDescription
urlstringYesThe URL to make the POST request to
headersobjectNoHTTP headers to include in the request (key-value string pairs)
json_bodyobjectNoJSON request body — use this for JSON APIs. Automatically sets Content-Type: application/json
bodyanyNoRaw request body (object, string, or array) — used when json_body is not provided
paramsobjectNoQuery parameters to append to the URL (key-value string pairs)

Response fields:

FieldTypeDescription
status_codeintegerHTTP status code of the response
response_dataanyThe response body returned from the API
headersobjectResponse headers returned by the server
successbooleanWhether the request completed successfully
errorstringError message if the request failed

Key features

Flexible request body handling

The POST action supports both raw and JSON bodies. Use json_body for structured JSON payloads — Autohive automatically sets the correct Content-Type header. Use body for form data, plain text, or any other content type where you control the headers manually.

Query parameter support

Both GET and POST actions accept a params object that is serialized as URL query parameters. This keeps your base URL clean while making it easy to pass dynamic values like filters, pagination tokens, or API keys.


Common use cases

Fetch data from an internal or third-party API

Use a GET request to pull live data into your agent’s context — product inventory, user records, external dashboards, or any REST endpoint your organization exposes.

Submit data to an external service

Use a POST request to send structured data to a webhook, CRM, ticketing system, or any API that accepts JSON payloads.

Prototype integrations before building a dedicated connector

Use API Call to quickly test and validate a new service before investing in a full integration. Point your agent at any API endpoint and iterate on the request shape in real time.

Call internal APIs behind authentication

Pass Authorization headers directly in your request to access authenticated endpoints — Bearer tokens, API keys, or any other header-based credential scheme.