Install a connector
Installs a connector of a type on the site, with the rules of the dashboard's connector store: the connection is tested before anything is saved, the tools the server lists are kept, switched on or off by the type's default-tool rule, and a site holds one connector per native type (`custom` excepted). A failed test saves nothing and answers `422` with its `cause`; send the same request with `anyway: true` to install it untested. A `custom` connector installed with `authMode: "oauth"` is created without a test and not connected: a member signs in with the vendor from `connection.connectUrl`. Secrets may be left out and set later from the connector's `dashboardUrl`: `unsetSecrets` lists them. Records a `connector.added` audit entry, and a `site.updated` entry when `updateSitePlatform` changes the site's platform.
ApiKeyAuthAuthorizationBearer <token>A WorkOS org-scoped API key, created from the dashboard's organization settings page. Identifies the tenant every read and write is scoped to. Missing, malformed, unknown, revoked, expired, or non-organization-owned keys all return 401 (no distinction, so the response can't be used to probe which keys or org ids exist).
siteId*stringThe site id (prefixed site_). A site id that isn't yours is a 404, same as any other cross-tenant id.
application/json- body
The connector to install, by type. Secrets may be left out and set later from the dashboard.
type*stringshopDomain*stringThe store domain (example.myshopify.com or the store's own domain); the MCP address is derived from it.
anyway?booleanInstall without testing the connection, after a failed test. The connector is created with no tools and a check that never answered.
falseupdateSitePlatform?booleanWhen the connector serves another site platform than the site declares, change the site's platform to it. Off by default: the site is left as it is and platform reports the difference.
falseThe installed connector, the secrets left to set and the platform difference.
application/json- response
data*curl -X POST 'https://example.com/api/v1/sites/string/connectors' \ -H 'Content-Type: application/json' \ -d '{ "type": "commercetools", "url": "https://mcp.example-store.com/mcp", "headers": [ { "name": "X-Project-Key", "value": "example-store", "secret": false } ]}'{ "data": { "connector": { "id": "conn_01kvnwmagvf27rc9cze5rm9e1r", "siteId": "site_01kvnwmagvf27rc9cze5rm9e1s", "type": "commercetools", "name": "commercetools", "url": "https://mcp.example-store.com/mcp", "authMode": "token", "connection": null, "tokenSet": false, "headers": [ { "name": "X-Project-Key", "secret": false, "set": true, "value": "example-store" } ], "settings": null, "tools": [ { "name": "search_products", "description": "Search the product catalog.", "enabled": true }, { "name": "create_cart", "description": null, "enabled": false } ], "disabledTools": [ "create_cart" ], "lastCheckedAt": "2026-11-19T10:00:00.000Z", "lastAnsweredAt": "2026-11-19T10:00:00.000Z", "dashboardUrl": "https://iadvize.ai/dashboard/sites/site_01kvnwmagvf27rc9cze5rm9e1s/connectors/conn_01kvnwmagvf27rc9cze5rm9e1r", "createdAt": "2026-11-19T10:00:00.000Z", "updatedAt": "2026-11-19T10:00:00.000Z" }, "unsetSecrets": [ { "kind": "token", "name": null } ], "platform": { "connector": "commercetools", "site": "custom", "aligned": false } }}List a site's connectors
Returns the site's connectors, as its Connectors page lists them, each with its tools, its switched-off tools and its health. Secrets appear as flags and are never returned.
Get a connector
Returns one connector with its tools, its switched-off tools and its health. Secrets appear as flags and are never returned.