Home/HighLevel/Features/AI Employee/Import cURL into the HighLevel Agent Studio API Call tool

AI

Import cURL into the HighLevel Agent Studio API Call tool

In short

Import cURL converts a raw cURL command into a ready to use API Call configuration inside HighLevel Agent Studio. The tool fills the HTTP method, endpoint, headers and body automatically, letting you review, edit, test and publish the API request as part of an AI agent workflow.

AreaAI Employee · Agent Studio
Used forSaaS startup, Digital marketing agency, Ecommerce store
Setup steps15 steps in 1 task
Last updatedNovember 17, 2026

01Who this is for

  • Developers who need to move tested cURL commands into a visual workflow without re typing each field.
  • Marketing teams building AI agents that call external services, because the feature reduces manual entry and speeds up setup.
  • Agencies managing multiple client agents, since the auto populate and two way sync help keep configurations consistent.

02Import cURL, explained

Import cURL lives inside the API Call tool configuration panel of Agent Studio. When you click the Import cURL button, a modal appears where you paste a full cURL command. The platform parses the command and fills the corresponding fields, method, URL, headers and body, automatically.

After the import, the populated fields remain editable. You can add HighLevel variables, change authentication values or adjust headers before saving. The modal also supports a two way sync: reopening it shows the current configuration as a regenerated cURL command, making it easy to compare with external docs or make quick edits.

The feature is available for any API Call added to an AI Agent node or a Sequential node. It works with common cURL patterns such as redirects, basic authentication, multiline bodies and backslash continuations.

03How businesses use import cURL

  • SaaS startup. The startup pastes a cURL snippet from its API documentation into the Import cURL modal. HighLevel fills the request details, the team adds a variable for the customer ID, tests the call, and publishes the agent to retrieve usage metrics during chat sessions.
  • Digital marketing agency. The agency imports a cURL command that posts lead data to a third party CRM. After the auto populate, they adjust the authorization header, map form fields to variables, test the request, and embed the API Call in a lead capture agent.
  • Ecommerce store. The store copies a cURL command for creating orders in an external fulfillment system. Import cURL creates the endpoint and JSON body, the store adds product variables, runs a test to verify the order payload, and publishes the agent to trigger fulfillment from chat.

04How to set up and use import cURL in HighLevel

Set up Import cURL in the Agent Studio API Call tool

  1. Navigate to AI Agents in HighLevel.
  2. Click the Agent Studio tab.
  3. Click Create Agent or open an existing agent.
  4. Add or select a start trigger such as Chat message, Form submitted, Lead tag, or Workflow.
  5. Add an AI Agent node or Sequential node to the canvas.
  6. Add the API Call tool or processing node.
  7. Open the API Call configuration panel.
  8. Click Import cURL.
  9. Paste the cURL command into the CURL Command field.
  10. Click Import.
  11. Review the HTTP method, API endpoint URL, headers, request body, body type, variable name and instructions fields.
  12. Make any needed edits to the populated fields.
  13. Click Save.
  14. Use Test to verify the API Call before publishing the agent.
  15. Click Publish when the agent is ready.

05What it looks like in HighLevel

06Settings that matter

  • HTTP method. Specifies the request verb such as GET, POST, PUT, or DELETE.
  • API endpoint URL. Defines the target address where the external request is sent.
  • Headers. Contains key value pairs like content type or authorization needed for the request.
  • Request body. Holds the payload sent with the request when the method supports a body.
  • Body type. Indicates the format of the request body, such as JSON, HTML, XML, Text or Form Data.
  • Variable name. Determines where the API response is stored for later use in the agent flow.
  • Instructions. Describes the purpose of the API Call and when the AI agent should invoke it.

07Things to know before you rely on it

  • Import cURL supports multiline request bodies and backslash line continuations.
  • The tool can detect common cURL patterns like --location redirects and -u basic authentication.
  • Import cURL does not replace the Agent Studio Public APIs; it only configures API Calls inside an agent.

08If something goes wrong

  • Imported request does not work. Review the endpoint URL, HTTP method, headers, authentication values, request body, body type and any variables used, then test the agent again.

09How it connects to the rest of HighLevel

Michael's take

Michael Reimer
Michael ReimerFounder of CRM Pros, HighLevel Commander and Certified Admin

People often think they can just drop a cURL command in and the agent will work without a second glance. The reality is that the import pulls in headers, auth tokens and body content that may need to be masked, updated or linked to agent variables before the request runs safely.

I would paste the command, open the Import cURL modal, and then walk through each field. Method, URL, headers, body type. Making sure any tokens are replaced with secure variables. A quick test in the Chat Emulator confirms the call behaves as expected before you hit Publish.

Get More InformationOpens on HighLevelPublished November 2, 2026 · Updated November 17, 2026

Common questions

Common questions about import cURL.

What does Import cURL do?

It converts a pasted cURL command into API Call configuration fields such as method, endpoint URL, headers and request body.

Can I edit the API Call after importing a cURL command?

Yes. After import you can review and update any populated field before saving or testing the API Call.

Does Import cURL support multiline commands?

Yes. It handles multiline request bodies and backslash line continuations.

What body types can Import cURL detect?

It can detect JSON, HTML, XML, Text and Form Data payloads.

Can I use variables after importing a cURL command?

Yes. You can add supported Agent Studio variables to the populated fields for dynamic values.

Should I test the API Call before publishing?

Yes. Testing ensures the request works with authentication, headers and variables before the agent goes live.

Next step

Pick the features that matter. Then get the plan that unlocks them.

Explore the features you want, start with the five at the top, and upgrade through my link when you are ready. The bonuses and the team come with it.

The features directory explains every HighLevel feature in plain English. Browse it to see what the platform can do.

Back to the FeaturesSee the full details
⌃

Site preview

Explore the next page

This destination is reserved in the page inventory and is not built yet.