Activate integration
activate_unified_integrationActivate an integration in one environment of this workspace, or change the settings of one already active there. This changes the workspace: once it is active, end users can authorize the integration in that environment through the Authorization component or an authorization URL. Each environment is separate: Production, Sandbox (Synthetic Data) or a custom one such as a development environment (see list_unified_environments). For an OAuth 2 integration, pass your own app's client_id and client_secret, or use Unified.to's OAuth 2 credentials where the integration has them (has_unified_oauth2_credentials in list_unified_integrations): leave the credentials out on a first activation, or set use_unified_oauth_credentials to switch back to them. The dashboard offers Unified.to's credentials only outside Production; register your own app for Production. Settings you leave out keep their current values. Needs a workspace admin's API key. Returns the integration's saved settings with secrets redacted.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"integration_type": "<integration_type>",
"env": "<env>"
},
"name": "activate_unified_integration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | The environment to activate it in: "Production", "Sandbox" (Synthetic Data) or a custom environment name | |
| auth_type | No | Force one authentication method when the integration supports several. Leave out to keep the current or default method. | |
| client_id | No | Your own OAuth 2 app's client ID | |
| categories | No | The categories to enable (e.g. ["crm"]). On a first activation, defaults to every category the integration supports. | |
| permissions | No | The Unified permission scopes to enable (e.g. ["crm_deal_read", "crm_deal_write", "crm_contact_read"]). They are requested when an authorization URL has no `scopes`. On a first activation, defaults to every permission of the enabled categories. | |
| client_secret | No | Your own OAuth 2 app's client secret. It is stored encrypted and never returned. | |
| integration_type | Yes | The integration, by its `type` from `list_unified_integrations` (e.g. "hubspot") | |
| use_unified_oauth_credentials | No | Set true to use Unified.to's OAuth 2 credentials instead of your own; clears any stored client ID and secret |