API Builder

Define a custom REST API as an integration in API Builder so workflows, dashboards, and agents can call its endpoints.

Updated in Intuidy 2026.11.189 min read

API Builder, the visual designer for custom integrations, defines a REST API for a system that has no built-in Intuidy integration. After you save the definition and add a credential, workflows, dashboards, and agents can call its endpoints.

Before you start

Choose how to start

Go to Integrations → Custom and select Create New Integration to open API Builder. There are four ways to make a definition.

WayWhat you provideWhat happens
Import an OpenAPI documentAn OpenAPI 3.x or Swagger 2.0 document: its URL, the URL of a documentation page, pasted text up to 5 MB, or a file of any sizeIntuidy reads the document and creates a draft.
Discover from the webA documentation URL or the API's nameIntuidy finds and reads the documentation, extracts endpoints, and scores the draft.
Use an AI agentAn agent connected to Intuidy, and the message API Builder providesThe agent reads the documentation and submits a draft for you to review.
Enter it manuallyThe base URL, the authentication method, and the endpointsYou fill in the form yourself. Knowledge of REST APIs helps, and each field explains what it needs.

The first three produce a draft under Open drafts. Nothing becomes an integration until you load the draft, review it, confirm its hosts, and save it.

Start from a draft

Import an OpenAPI document

  1. Under Where the document is, choose Spec URL, Documentation page URL, Paste the document (up to 5 MB), or Upload a file (any size).
  2. Enter the URL, paste the document, or choose the file.
  3. Select Find & import.

Discover from the web

  1. Under Discover from documentation on the web, enter the Documentation URL, or enter the API's name in API name (web search).
  2. Select Discover from the web.

Intuidy identifies the documentation site, reads its pages, extracts endpoints, and scores the result. The draft shows Accuracy, Completeness, Pages read, and Reachability. When confidence is low, API Builder recommends continuing with an AI agent.

Have an AI agent draft it

  1. In Settings → AIPI Keys, create or choose an AIPI key with the scopes API Builder lists.
  2. Connect the agent to the Intuidy MCP server, the server AI assistants use to work with Intuidy, with the key as its bearer token. See MCP server.
  3. In API Builder, select Copy message and give the message to the agent.
  4. Wait for the agent's draft to appear under Open drafts. The list refreshes every 10 seconds.

Load a draft

  1. Under Open drafts, find the draft.
  2. Select Load.

The draft fills the form. Review it in the three parts described below. To remove a draft you don't need, select Discard draft.

Define the API

The form has three parts: Connection, Endpoints, and Review & save. A loaded draft arrives with these filled in; a manual definition starts empty.

Set the connection

  1. Enter a Display name, such as Northwind Supply CRM.
  2. Enter the Base URL of the API.
  3. Choose the authentication method.
  4. Select Next: Endpoints.

Description (optional), Default pagination (optional), and Headers on every call (optional) are also set here.

Authentication methodWhat you define
No authenticationNothing.
API key (header or query parameter)Whether the key is sent in a header or a query parameter, the header or parameter name (for example X-API-Key or api_key), and an optional prefix placed before the key, such as Bearer or Token .
Bearer tokenNothing here. You add the token on Integrations after saving.
Basic auth (username / password)Nothing here. You add the username and password on Integrations after saving.
OAuth 2.0 — client credentialsThe Token URL, optional scopes and audience, the scope separator, and how the client credentials are sent: as form fields in the token request (most providers) or in an HTTP Basic authorization header. You enter the client id and secret on Integrations after saving.
OAuth 2.0 — authorization code (connect later)The Authorization URL and Token URL. After saving, you register the OAuth app on Integrations, and each person then connects their own account.
Several secret headersThe header names, comma separated, for example X-Client-Id, X-Client-Secret.

The default pagination says how list endpoints page. An endpoint can override it.

PaginationWhat you define
NoneNothing.
Page numberThe page parameter.
OffsetThe offset parameter.
Cursor in the responseThe cursor parameter and the path to the next cursor in the response, such as meta.next_cursor.
Next-page link in the responseThe path to the next link in the response, such as links.next.

You can also set a page-size parameter and a page size.

Add endpoints

  1. Select Add an endpoint.
  2. Enter the path. A path is required.
  3. Enter a name, such as Get all users, and one sentence on what the endpoint returns or does.
  4. Choose whether the endpoint reads or writes.
  5. Select Add parameter for each parameter the endpoint takes.
  6. Add the endpoint to the list, and repeat for each endpoint you need.
  7. Select Next: Review.

These options shape what an endpoint returns:

OptionWhat it does
Paste a sample responsePaste example JSON and select Analyze JSON to pick the root and fields from it. The sample is saved with the endpoint as documentation and is never sent to the API.
Root path (the list of rows)The path to the rows in the response, such as data.items. Leave it blank when the response itself is the row or list.
Output columnsThe columns each row returns. Select Add column or Add all fields, then give each column a name (letters, digits, and underscores) and its path in the row, such as attributes.name. With no columns chosen, each row is returned as it comes.
This endpoint pages differently from the defaultSets pagination for this endpoint only.

In a long list, use Find endpoints to search by path, name, or tag.

Review and save

  1. Wait for API Builder to check the definition, and fix anything listed under Fix these before saving.
  2. Under Hosts that will receive the credential, select each host to confirm it is the system you intend.
  3. Select Save integration.

Intuidy refuses calls to any host you didn't confirm, even after the integration is saved. A host that uses plain http or a bare IP address is marked. For plain http you also confirm that the credential and the data travel unencrypted.

If the API needs no credential, you can check the definition before saving: under Test a read endpoint, choose an endpoint and select Run test call.

Add the credential

The saved integration appears under Integrations → Custom. Its endpoints become usable when it has a credential.

  1. Go to Integrations → Custom.
  2. Select Connect on the integration.
  3. Enter the credential the API needs, such as the key, the token, or the client id and secret.

For an authorization code integration, register the OAuth app before anyone connects. Under OAuth app, copy the redirect URI and register it with the provider. Then enter the Client id and the client secret, which stays blank for a public client, and select Save app. Each person then connects their own account from Integrations.

To check that it works, select Edit Definition on the integration, go to Review & save, choose an endpoint under Test a read endpoint, and select Run test call. The call returns rows from the API.

To change the definition later, select Edit Definition, make your changes, and select Save changes.

Troubleshooting

For problems after the integration is connected, see Troubleshoot connections.

↳ Connect an integration ↳ Share a connection ↳ MCP server