Integrations API
Reference for the 7 Integrations operations in the Intuidy API.
Responses are JSON. A successful response is { "success": true, "data": …, "meta": … }, and each operation below documents its data. Errors use the error envelope described in Errors, pagination and limits.
| Operation | Method and path | Authorization |
|---|---|---|
| Your organization's integration policy | GET /integrations/policy | integrations:read |
| Where to connect a bank, and which banks need attention | GET /integrations/banks/connect-link | integrations:read |
| Discover readable integration operations | GET /integrations/query | integrations:read |
| Read from a connected integration | POST /integrations/query | integrations:read |
| List your organization's custom API definitions | GET /integrations/custom-apis | integrations:read |
| Search one custom API's endpoints, or read one endpoint's contract | GET /integrations/custom-apis/{id}/endpoints | integrations:read |
| Rename a connection, make it the default, or change its scope | PATCH /integrations/credentials/{credentialId} | integrations:write |
Your organization's integration policy
GET /integrations/policy
Read-only. strictBinding: true means ambiguous account resolution (several connections, no default) and broken account pins fail loudly instead of silently self-healing to another account — the flag to check after a run fails with "strict binding is on". The flag itself is managed on the Integrations page; there is deliberately no write operation on this API. Requires integrations:read.
Authorization: scope integrations:read.
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
strictBinding | boolean | — |
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/integrations/policy" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Where to connect a bank, and which banks need attention
GET /integrations/banks/connect-link
Connecting a bank (Plaid) is consent given at the bank, so it happens only in the key owner's own browser: connectUrl opens Intuidy's bank manager, where they sign in and choose "Connect a bank" (null when they may not connect integrations or bank connections are not set up — see notReadyReason). banks lists their Plaid connections with a status; one that needs them carries whatToDo and an openUrl that opens the manager on that bank. notes carry the credit cost on Intuidy's Plaid account and the sandbox sign-in in test mode. A connected bank is read through /integrations/query with serviceKey: plaid; its events through the listEvents operation. The same answer as the MCP and assistant tool get_bank_connect_link. Requires integrations:read.
Authorization: scope integrations:read.
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
ready | boolean | — |
notReadyReason | string | — |
canConnect | boolean | — |
connectUrl | string or null | Page for the key owner's browser |
manageUrl | string | — |
attention | integer | Banks that need the person |
banks | array of object | — |
banks[].credentialId | integer | — |
banks[].name | string | — |
banks[].status | string | — |
banks[].needsAttention | boolean | — |
banks[].whatToDo | string | — |
banks[].openUrl | string | — |
notes | array of string | — |
warning | string | — |
howItWorks | string | — |
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/integrations/banks/connect-link" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Discover readable integration operations
GET /integrations/query
The API view of the integration read catalog — the same catalog the chat assistant's query_integration tool and the MCP tool of that name serve. With no serviceKey, lists every readable service (curated and auto-discovered from the node catalog) and its operation names. With a serviceKey, lists that service's operations with their required and optional parameters; paged list operations document maxResults (0 or fetchAll: true = every record) and the resume cursor named in a result's resumeWith. Operation names are forgiving: listInvoices resolves to quickbooksListInvoices. Requires integrations:read.
Authorization: scope integrations:read.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
serviceKey | string | No | Service key, e.g. gmail, quickbooks, hubspot. Omit to list every readable service. |
operation | string | No | An operation name to resolve; when given, the reply also carries its definition. |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
availableServices | object | Present when no serviceKey was given — service key → operation names. |
serviceKey | string | — |
availableOperations | array of object | — |
availableOperations[].operation | string | — |
availableOperations[].description | string | — |
availableOperations[].requiredParams | object | — |
availableOperations[].optionalParams | object | — |
availableOperations[].exampleParams | object | — |
usage | string | — |
Errors 404. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/integrations/query" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Read from a connected integration
POST /integrations/query
Execute one read operation (emails, calendar events, files, invoices, tickets, CRM records, ...) against your organization's connected service and return its rows inline — the same behavior, usage metering and data-governance scans as the chat assistant and the MCP server. params are the operation's parameters from discovery. Paged list operations return metadata.paging (count, hasMore, resumeWith, pagesFetched); pass the resumeWith value back under the cursor name it carries to continue, or set maxResults: 0 to fetch every record in one call (bounded by a page cap and a time budget, both reported when hit). credentialId pins one of several connections for the service; omit it for the default connection and always for services covered by the company's Google Workspace connection. Each page fetched from the service counts as one integration call in your usage. Requires integrations:read.
Authorization: scope integrations:read.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
serviceKey | string | Yes | Service key from discovery, e.g. quickbooks |
operation | string | Yes | Operation name from discovery, e.g. quickbooksListInvoices (listInvoices also resolves) |
params | object | No | Operation parameters (see requiredParams / optionalParams from discovery) |
credentialId | integer | No | Pin a specific connection; omit for the default |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
serviceKey | string | — |
operation | string | — |
rowCount | integer | — |
metadata | object | Resolved account and, for paged lists, paging (count, totalCount, hasMore, nextCursor, resumeWith, pagesFetched, warning) |
data | object | The rows (an array for list operations; an object for single-record reads) |
Errors 400 (INVALID_INPUT), 403 (POLICY_BLOCKED, POLICY_UNEVALUABLE), 404, 502 (INTEGRATION_ERROR). See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/integrations/query" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"serviceKey":"<serviceKey>","operation":"<operation>"}'List your organization's custom API definitions
GET /integrations/custom-apis
The API view of the custom API definitions your organization built in the API Builder — the same customApis list the MCP and chat list_integrations tools describe. Headers and endpoint counts by default; detail=endpoints adds one page of endpoint ids, methods and paths per definition, detail=full one page with parameters, and serviceId one definition's first page with parameters. A definition can hold tens of thousands of endpoints: search them one page at a time at /integrations/custom-apis/{id}/endpoints. Requires integrations:read.
Authorization: scope integrations:read.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
detail | "summary" or "endpoints" or "full" | No | — |
serviceId | integer | No | One definition, with its first page of endpoints and their parameters. |
q | string | No | Words every inlined endpoint must match (endpoints and full levels). |
cursor | string | No | The endpointsPage.nextCursor of a previous reply (with serviceId). |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
customApis | array of object | — |
customApis[].serviceId | integer | — |
customApis[].serviceKey | string | — |
customApis[].name | string | — |
customApis[].baseUrl | string | — |
customApis[].auth | string | — |
customApis[].endpointCount | integer | — |
customApis[].readCount | integer | — |
customApis[].writeCount | integer | — |
customApis[].connected | boolean | — |
usage | string | — |
Errors 401. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/integrations/custom-apis" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Search one custom API's endpoints, or read one endpoint's contract
GET /integrations/custom-apis/{id}/endpoints
One page of a custom API's endpoints by words (matched against the endpoint id, method, path, summary and tags), effect and tag, with a cursor for the next page; or, with endpointId, one endpoint's whole contract (parameters, outputs, paging). Reads the definition Intuidy holds, never the API. The endpoint id is what POST /integrations/query takes with serviceKey customapi, operation queryEndpoint and params: { serviceId, endpointId, params }. The same data the MCP and chat search_custom_api_endpoints tools read. Requires integrations:read.
Authorization: scope integrations:read.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The custom API's serviceId. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | No | — |
effect | "read" or "write" | No | — |
tag | string | No | — |
cursor | string | No | — |
limit | integer (≤ 500) | No | — |
withSpec | "1" | No | Include each endpoint's parameters, outputs and paging on the page. |
endpointId | string | No | One endpoint's whole contract instead of a page. |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
serviceId | integer | — |
endpoints | array of object | — |
endpoints[].id | string | — |
endpoints[].method | string | — |
endpoints[].effect | "read" or "write" | — |
endpoints[].path | string | — |
endpoints[].summary | string | — |
endpoints[].tags | array of string | — |
nextCursor | string or null | — |
matched | integer | — |
total | integer | — |
endpoint | object | Present with endpointId — the whole contract. |
Errors 401, 404 (NOT_FOUND). See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/integrations/custom-apis/<id>/endpoints" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Rename a connection, make it the default, or change its scope
PATCH /integrations/credentials/{credentialId}
Connection administration with the same behavior as the Integrations page. label renames it (null clears it); isDefault makes it the default connection for its service (company connections only — exactly one default survives per service); scope moves it between company (everyone in the company resolves it) and personal (the key owner's alone). The connection id survives a scope change, so workflow bindings and per-node pins keep working. A personal connection can only be edited by its owner — anyone else's reads as not found — and company connections, like any scope change, need the key owner's share_integrations permission. Deliberately narrower than the web app: no credential changes, and no allow-list or sensitivity edits — who may USE a connection is managed in Settings → Integrations only. Requires integrations:write.
Authorization: scope integrations:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
credentialId | integer | Yes | — |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
label | string (max 100 chars) or null | No | Display name; trimmed, null clears it |
isDefault | boolean | No | Company connections only |
scope | "company" or "personal" | No | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
credential | object | — |
credential.id | integer | — |
credential.label | string or null | — |
credential.isDefault | boolean | — |
credential.scope | "company" or "personal" | — |
Errors 400 (PERSONAL_DEFAULT, DEFAULT_IN_USE), 403, 404, 409 (SCOPE_CONFLICT, WORKSPACE_SCOPE, ORG_SHARED_SCOPE). See Errors, pagination and limits.
Example request
curl -X PATCH "https://vantage.intuidy.com/api/v1/integrations/credentials/<credentialId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"<label>"}'