# Installed integrations Object

> Source: https://truto.one/docs/api-reference/admin/installed-integrations/

Schema for the `Installed integrations` resource in **Admin API**.

## Properties

- **`id`** _(string)_
  The ID of the environment integration.
- **`integration_id`** _(string)_
  The ID of the integration this environment integration references.
- **`environment_id`** _(string)_
  The ID of the environment in which this integration is installed.
- **`show_in_catalog`** _(boolean)_
  Whether this integration is shown in the environment's catalog.
- **`is_enabled`** _(boolean)_
  Whether this integration is enabled in the environment.
- **`created_at`** _(string)_
  The date and time when the environment integration was created.
- **`updated_at`** _(string)_
  The date and time when the environment integration was last updated.
- **`integration`** _(object)_
  - **`id`** _(string)_
    The ID of the integration.
  - **`name`** _(string)_
    The name of the integration.
  - **`category`** _(string)_
    The category of the integration.
  - **`is_beta`** _(boolean)_
    Whether the integration is in beta or not. Beta integrations might not have been tested completely and are not recommended for production environments.
  - **`config`** _(object, required)_
    The configuration object defining the underlying API of the integration.
    - **`base_url`** _(string)_
      Default base URL prepended to every resource method's `path`.
    - **`label`** _(string)_
      Human-readable name shown in the Truto Dashboard and Link UI.
    - **`logo`** _(string)_
      URL to the integration logo (square, recommended 256x256).
    - **`icon`** _(string)_
      URL to a smaller monochrome icon used in catalog listings.
    - **`headers`** _(object)_
      Default HTTP headers merged into every outbound request. Values may be templated with JSONata placeholders.
    - **`query`** _(object)_
      Default query-string params merged into every outbound request.
    - **`query_array_format`** _(string)_
      Allowed: `comma`, `brackets`, `indices`, `repeat`
    - **`actions`** _(object)_
      Named integration actions. Reserved keys (`post_install`, `post_connect_user_form`, `refresh_token`, `validation`, `webhook_lookup_key`) hook into specific platform lifecycle events; custom names are callable from the proxy/sync runtime. `webhook_lookup_key` gives an account's lookup keys for the shared app's webhooks (see `webhook.lookup_key`). After each post-install of an account whose environment set `override.shared_app_webhooks`, Truto runs it from the integration's **base** config with the account's OAuth tokens alone (no override, no environment variables, no account Static Gate) and stores what its last step returns: one key or a list of up to 20. Only `request` steps that make a proxy call (no `run_if` or `throw_error`) and `transform` steps are allowed, and each request must go to a URL the base config fixes: a method of the base config named literally, on a base URL with no placeholder, with a path that starts with a fixed segment, no `header`-format authorization, and no arguments but `query`, `body`, `id` and `headers`. Turning `override.shared_app_webhooks` on is refused for any other action. The read is not sent when the account's tokens hold URL syntax (`..`, `\`, `%`, `?`, `#` or a control character). A read the provider refuses for now (429, 5xx, no answer) is tried twice more; a read that still fails, or that can't be recorded, leaves the account no keys until its post-install runs again. Its presence also makes accounts of the integration run their post-install, as `post_install` and `validation` do. HubSpot asks its token-info API about the account's token and returns `app_id:hub_id`.
    - **`credentials`** _(object)_
      Either a single credential definition (when the integration only supports one auth format) or a map keyed by auth format (when an integration supports multiple, e.g. `api_key` and `oauth2`). For multi-format integrations, the customer picks one in the Connect UI. Each credential's `config.label` and `config.help_text` customize the auth-method card shown in the Connect UI. A `jwt_bearer` or `aws_sts` credential must be keyed by its format (`credentials.jwt_bearer`, `credentials.aws_sts`): sent as the single definition, it is refused with a `400`.
    - **`authorization`** _(object)_
      How Truto applies the resolved credential to outbound HTTP requests. The `format` discriminator selects which `config` shape applies. All string values support Truto placeholders (`{{path}}`) resolved against the runtime context. Common placeholder roots: `{{api_key}}` for fields collected at connect time, `{{oauth.token.access_token}}` for OAuth2 access tokens, `{{environment_variables.MY_KEY}}` for env-vars set at the environment-integration level.
      _One of:_
      - **bearer**
        - **`format`** _(string)_
          Allowed: `bearer`
        - **`config`** _(object, required)_
      - **basic**
        - **`format`** _(string)_
          Allowed: `basic`
        - **`config`** _(object)_
      - **header**
        - **`format`** _(string)_
          Allowed: `header`
        - **`config`** _(object)_
    - **`pagination`** _(object)_
      Pagination strategy for an integration or a single resource method. The `format` discriminator selects which `config` shape applies.
      _One of:_
      - **page**
        - **`format`** _(string)_
          Allowed: `page`
        - **`config`** _(object)_
          Page-number pagination options. All fields optional; defaults shown.
      - **cursor**
        - **`format`** _(string)_
          Allowed: `cursor`
        - **`config`** _(object, required)_
          Cursor pagination options.
      - **link_header**
        - **`format`** _(string)_
          Allowed: `link_header`
        - **`config`** _(object)_
      - **offset**
        - **`format`** _(string)_
          Allowed: `offset`
        - **`config`** _(object)_
      - **range**
        - **`format`** _(string)_
          Allowed: `range`
        - **`config`** _(object)_
      - **dynamic**
        - **`format`** _(string)_
          Allowed: `dynamic`
        - **`config`** _(object, required)_
    - **`rate_limit`** _(object)_
      How Truto detects and reacts to upstream rate-limiting. All fields are JSONata expressions evaluated against the upstream response.
      - **`is_rate_limited`** _(string)_
        JSONata expression returning a truthy value when the response should be treated as rate-limited. When omitted, Truto falls back to `status === 429`. Input: `IntegrationRateLimitExpressionContext`. Output: boolean.
      - **`retry_after_header_expression`** _(string)_
        JSONata expression returning the seconds to wait before retrying. When omitted, Truto reads the standard `Retry-After` header. Input: `IntegrationRateLimitExpressionContext`. Output: number (seconds).
      - **`rate_limit_header_expression`** _(string)_
        JSONata expression returning the current rate-limit window state. Truto forwards this as `RateLimit-Limit` / `RateLimit-Remaining` / `RateLimit-Reset` headers in the proxy response. Input: `IntegrationRateLimitExpressionContext`. Output: `IntegrationRateLimitHeaderValues`.
    - **`resources`** _(object)_
      Resource → method tree (e.g. `resources.users.list`). The inner key is one of the canonical methods (`list`, `get`, `create`, `update`, `delete`) or a custom method name. Each method definition matches `IntegrationResourceMethod`.
    - **`tool_tags`** _(object)_
      Optional tag arrays keyed by resource name (`contacts`) or `resource.method` (`contacts.delete`). Method-level tags are unioned with resource-level tags when building MCP tools and filtering by MCP token `config.tags`.
    - **`webhook`** _(object)_
      How Truto receives and verifies inbound webhooks for this integration. **Not** to be confused with `WebhookSchema` elsewhere in this spec, which describes Truto's _outbound_ webhook delivered to your application. An inbound webhook whose body is larger than 1 MiB is refused with a 413.
      - **`signature_verification`** _(object)_
        Strategy used to verify the webhook signature before accepting it. Runs **after** `payload_transform` and **after** `handle_verification` returns `{ type: 'payload' }`.
      - **`unverified_auth_methods`** _(array<string>)_
        Authentication methods (`api_key`, `oauth2`, `oauth2_client_credentials`, `keka_oauth`, `oauth`, `jwt_bearer`, `aws_sts`) that skip the signature check on the per-account webhook URL (`/integrated-account-webhook/:id`) and are accepted the same way a webhook with no signature verification configured always has been — including the unverified-webhook log marker. Checked against the connection's own `authentication_method`. A connection that stores none (older connections) counts as `oauth2` when it holds an OAuth token, as `api_key` when its context holds an `api_key` field instead (as Jira's and monday's API-key connections do), and is checked when it holds neither. Ignored on the environment-level webhook URL, which has no connection. For integrations where some authentication methods can carry a signature and others cannot (e.g. a provider that signs OAuth connections but not static `api_key` ones), list only the methods that cannot, rather than leaving `signature_verification` unset for every connection.
      - **`handle_verification`** _(string)_
        JSONata expression evaluated on **every** inbound webhook before signature verification. Use to: * Respond to handshake pings (return `{ type: 'verify', verification_response: { status_code, body, headers } }`). * Surface meta-events that should not fan out (return `{ type: 'meta' }`). * Update the integrated account context (return `{ type: 'verify' \| 'payload' \| 'meta', update_context: { ... } }`). * Pass through to fan-out (return `{ type: 'payload' }` or omit entirely — defaults to `payload`). Input: `IntegrationWebhookPayloadContext`. Output: `IntegrationWebhookHandleVerificationResult`.
      - **`payload_transform`** _(string)_
        JSONata expression that transforms the raw inbound payload **before** `handle_verification` and `signature_verification` see it. Use to normalize vendor-specific envelopes (e.g. unwrap a Salesforce `payloads[]` array, decode a base64 body). Input: `IntegrationWebhookPayloadContext`. Output: `IntegrationWebhookPayloadContext` (the same shape — what you return becomes the new payload).
      - **`lookup_key`** _(string)_
        JSONata expression over **one event** of a delivery to the integration's shared app (`POST /integration-webhook/{integration_id}`), returning the event's lookup key: a string (or number) of at most 255 characters; anything else drops the event. Each element of an array body is one event; any other body is one event. With `actions.webhook_lookup_key`, it routes the shared app's webhooks to the accounts that hold the key. Include the app's own id when the provider sends it, so an event reaches only accounts whose token that same app was issued: HubSpot uses `appId and portalId ? $string(appId) & ':' & $string(portalId)`, which gives no key for an event that lacks either. Make the account side give no key in the same case, so the two never match on a half-empty key. Read from the integration's base config only; an environment override of it does nothing.
    - **`error_expression`** _(string)_
      Integration-wide JSONata expression evaluated on every response. Use to detect errors in successful (2xx) responses, normalize error messages, or transform "errors" with `< 400` status into successful responses. Overridden by per-method `IntegrationResourceMethod.error_expression` when set. Input: `IntegrationErrorExpressionContext`. Output: `IntegrationErrorExpressionResult` — return `null`/`undefined` to indicate "no error", or a `{ status, message?, headers?, metadata?, result? }` object.
    - **`browser_file_picker_requires_access_token`** _(boolean)_
      This provider's **browser** file picker cannot run without the connected account's upstream `access_token`, so `GET /integrated-account/me` releases `context.oauth.token.access_token` — and nothing else — to a connect-flow integrated account token. Google Drive and Box need it; their picker SDKs take the token client-side. SharePoint, OneDrive and Dropbox authenticate by other means and must leave this unset. A `refresh_token` is never released, whatever this is set to. Honoured only on the integration's own `config`: it is not part of `EnvironmentIntegrationConfig`, and it is stripped from an integrated account's `integration_override`, so it cannot be switched on for a single environment or account.
    - **`use_static_gate`** _(boolean)_
      Send every outbound request and token exchange for this integration through Truto's default Static Gate (fixed IP addresses), for vendors that allowlist Truto's IPs. An integrated account's own `context.truto_static_gate_id` takes precedence. If no default gate is set up, the request fails instead of going direct. The default gate only forwards to the host of the base integration's `base_url` and of its OAuth token, refresh and revoke URLs, and their subdomains (a placeholder in the host keeps only its static suffix, e.g. `{{x}}.api.gong.io` allows `*.api.gong.io`). A `base_url` or token host set through an override, or any other host, fails the request instead of going direct. OAuth 1.0a token calls cannot be sent through a gate, so an OAuth 1.0a connect on an integration with this flag fails instead of going direct. Only the root team can set, change or clear it, and a config update that omits it keeps the stored value. Honoured only on the integration's own `config`: it is not part of `EnvironmentIntegrationConfig`, and it is stripped from an integrated account's `integration_override`.
    - **`oauth_app_headers`** _(object)_
      Headers built from the connected account's OAuth app and sent on every request, for providers that want the app's own key next to the user's token. Etsy, for example, needs `{ "x-api-key": "{{client.id}}:{{client.secret}}" }`. A value may use `{{client.id}}` and `{{client.secret}}` — the OAuth client the account's token was issued to, read and filled in as the token refresh does — and no other placeholder. Saving an integration fails with a 400 if a value uses any other placeholder, or if a header name is one that debug output echoes back (`x-truto-*`, `content-type`, `accept`, `user-agent` and similar). A header that can't be filled completely is left out: a client field it uses is unset, or is still a placeholder the account's context can't fill. Added after `authorization`, replacing a header of the same name in any letter case. Only accounts connected with `oauth2` get these headers, and a method with `no_auth` doesn't. Honoured only on the integration's own `config`: it is not part of `EnvironmentIntegrationConfig`, and it is stripped from an integrated account's `integration_override`. A header that uses `{{client.secret}}` is sent only to the sites of the requests configured by whoever set that secret: the integration, or an environment's override over it. An environment or account override that keeps that app but sends requests elsewhere (its own `base_url`, a method's URL, an `authorization` expression, a mapping's path) sends them without these headers. Through a Static Gate, the target URL counts. An account's own secret (in its `integration_override`, or filled in from its context) goes wherever its requests go.
  - **`team_id`** _(string)_
    The ID of the team that owns this integration.
  - **`version`** _(integer)_
    Increases by 1 on every update. Send it back in `PATCH /integration/{id}`; a stale value is refused with `400`.
  - **`sharing`** _(string)_
    The sharing policy of the integration.
    Allowed: `allow`, `ask`, `deny`
  - **`created_at`** _(string)_
    The date and time when the integration was created.
  - **`updated_at`** _(string)_
    The date and time when the integration was last updated.
  - **`installed_environment`** _(array<string>)_
    A list of environment IDs where this integration is installed.
  - **`team`** _(object)_
    - **`id`** _(string)_
      The ID of the team.
    - **`name`** _(string)_
      The name of the team.
    - **`domain`** _(string)_
      The domain of the team.
    - **`logo`** _(string)_
      The URL of the team's logo.
    - **`is_verified`** _(boolean)_
      Whether the team is verified or not.
    - **`is_white_label`** _(boolean)_
      Whether the team is white-labeled or not.
    - **`tos_link`** _(string)_
      A link to the team's Terms of Service, if available.
    - **`allow_impersonation`** _(boolean)_
      Whether the team allows impersonation.
    - **`created_at`** _(string)_
      The date and time when the team was created.
    - **`updated_at`** _(string)_
      The date and time when the team was last updated.
  - **`can_install`** _(boolean)_
    Present when your plan limits integrations: `false` means installing it is refused with `400` until you upgrade.
- **`override`** _(object)_
  An optional config override applied for the integration at environment level. Deep-merged on top of the base `integration.config` at request time.
  - **`base_url`** _(string)_
  - **`label`** _(string)_
    The integration's display name in this environment. Overrides the integration's `config.label`.
  - **`logo`** _(string)_
  - **`icon`** _(string)_
  - **`headers`** _(object)_
  - **`query`** _(object)_
  - **`query_array_format`** _(string)_
    Allowed: `comma`, `brackets`, `indices`, `repeat`
  - **`actions`** _(object)_
  - **`credentials`** _(object)_
    A single credential override, or a map keyed by auth format. A `jwt_bearer` or `aws_sts` credential must be keyed by its format (`credentials.jwt_bearer`, `credentials.aws_sts`); sent as the single override, it is refused with a `400`.
  - **`authorization`** _(object)_
    How Truto applies the resolved credential to outbound HTTP requests. The `format` discriminator selects which `config` shape applies. All string values support Truto placeholders (`{{path}}`) resolved against the runtime context. Common placeholder roots: `{{api_key}}` for fields collected at connect time, `{{oauth.token.access_token}}` for OAuth2 access tokens, `{{environment_variables.MY_KEY}}` for env-vars set at the environment-integration level.
    _One of:_
    - **bearer**
      - **`format`** _(string)_
        Allowed: `bearer`
      - **`config`** _(object, required)_
    - **basic**
      - **`format`** _(string)_
        Allowed: `basic`
      - **`config`** _(object)_
    - **header**
      - **`format`** _(string)_
        Allowed: `header`
      - **`config`** _(object)_
  - **`pagination`** _(object)_
    Pagination strategy for an integration or a single resource method. The `format` discriminator selects which `config` shape applies.
    _One of:_
    - **page**
      - **`format`** _(string)_
        Allowed: `page`
      - **`config`** _(object)_
        Page-number pagination options. All fields optional; defaults shown.
    - **cursor**
      - **`format`** _(string)_
        Allowed: `cursor`
      - **`config`** _(object, required)_
        Cursor pagination options.
    - **link_header**
      - **`format`** _(string)_
        Allowed: `link_header`
      - **`config`** _(object)_
    - **offset**
      - **`format`** _(string)_
        Allowed: `offset`
      - **`config`** _(object)_
    - **range**
      - **`format`** _(string)_
        Allowed: `range`
      - **`config`** _(object)_
    - **dynamic**
      - **`format`** _(string)_
        Allowed: `dynamic`
      - **`config`** _(object, required)_
  - **`rate_limit`** _(object)_
    How Truto detects and reacts to upstream rate-limiting. All fields are JSONata expressions evaluated against the upstream response.
    - **`is_rate_limited`** _(string)_
      JSONata expression returning a truthy value when the response should be treated as rate-limited. When omitted, Truto falls back to `status === 429`. Input: `IntegrationRateLimitExpressionContext`. Output: boolean.
    - **`retry_after_header_expression`** _(string)_
      JSONata expression returning the seconds to wait before retrying. When omitted, Truto reads the standard `Retry-After` header. Input: `IntegrationRateLimitExpressionContext`. Output: number (seconds).
    - **`rate_limit_header_expression`** _(string)_
      JSONata expression returning the current rate-limit window state. Truto forwards this as `RateLimit-Limit` / `RateLimit-Remaining` / `RateLimit-Reset` headers in the proxy response. Input: `IntegrationRateLimitExpressionContext`. Output: `IntegrationRateLimitHeaderValues`.
  - **`resources`** _(object)_
  - **`tool_tags`** _(object)_
  - **`webhook`** _(object)_
    How Truto receives and verifies inbound webhooks for this integration. **Not** to be confused with `WebhookSchema` elsewhere in this spec, which describes Truto's _outbound_ webhook delivered to your application. An inbound webhook whose body is larger than 1 MiB is refused with a 413.
    - **`signature_verification`** _(object)_
      Strategy used to verify the webhook signature before accepting it. Runs **after** `payload_transform` and **after** `handle_verification` returns `{ type: 'payload' }`.
      _One of:_
      - **hmac**
        - **`format`** _(string)_
          Allowed: `hmac`
        - **`config`** _(object, required)_
          HMAC signature verification. Truto computes `hmac(algorithm, secret, signed_string)` and compares it (constant-time) with `compare_with`.
      - **basic**
        - **`format`** _(string)_
          Allowed: `basic`
        - **`config`** _(object, required)_
          HTTP Basic signature verification. Truto base64-encodes `username:password` and compares it with the second word of `compare_with` (i.e. `Authorization: Basic <token>`).
      - **bearer**
        - **`format`** _(string)_
          Allowed: `bearer`
        - **`config`** _(object, required)_
          Bearer-token signature verification. Truto compares `secret` (constant-time) with the second word of `compare_with` (i.e. `Authorization: Bearer <token>`).
      - **jwt**
        - **`format`** _(string)_
          Allowed: `jwt`
        - **`config`** _(object, required)_
          JWT signature verification, in one of two modes. **Shared secret** (set `secret`): Truto verifies that `compare_with` is a valid HS256 JWT signed with `secret`. When every connection shares the secret, such as an OAuth app's client secret, a valid token only proves the provider sent it for that app; set `claims` to tie it to the connection. **Issuer key set** (set `jwks_uri`): Truto verifies that `compare_with` is a JWT signed with an asymmetric key published at `jwks_uri`, then checks `issuer`, `audience` and the caller's identity. Use this for tokens such as the OIDC token on a Google Pub/Sub push subscription (`jwks_uri: https://www.googleapis.com/oauth2/v3/certs`, `issuer: https://accounts.google.com`). The `issuer`, `audience` and one of `email` or `subject` are all required, because the issuer signs a token for any caller who asks and a valid signature alone does not identify the sender. A block that omits them, uses a non-HTTPS `jwks_uri`, or sets a non-asymmetric `algorithm` is rejected with a 400 when it is saved (on the integration or on an environment-integration override), instead of failing every inbound webhook afterwards.
    - **`unverified_auth_methods`** _(array<string>)_
      Authentication methods (`api_key`, `oauth2`, `oauth2_client_credentials`, `keka_oauth`, `oauth`, `jwt_bearer`, `aws_sts`) that skip the signature check on the per-account webhook URL (`/integrated-account-webhook/:id`) and are accepted the same way a webhook with no signature verification configured always has been — including the unverified-webhook log marker. Checked against the connection's own `authentication_method`. A connection that stores none (older connections) counts as `oauth2` when it holds an OAuth token, as `api_key` when its context holds an `api_key` field instead (as Jira's and monday's API-key connections do), and is checked when it holds neither. Ignored on the environment-level webhook URL, which has no connection. For integrations where some authentication methods can carry a signature and others cannot (e.g. a provider that signs OAuth connections but not static `api_key` ones), list only the methods that cannot, rather than leaving `signature_verification` unset for every connection.
    - **`handle_verification`** _(string)_
      JSONata expression evaluated on **every** inbound webhook before signature verification. Use to: * Respond to handshake pings (return `{ type: 'verify', verification_response: { status_code, body, headers } }`). * Surface meta-events that should not fan out (return `{ type: 'meta' }`). * Update the integrated account context (return `{ type: 'verify' \| 'payload' \| 'meta', update_context: { ... } }`). * Pass through to fan-out (return `{ type: 'payload' }` or omit entirely — defaults to `payload`). Input: `IntegrationWebhookPayloadContext`. Output: `IntegrationWebhookHandleVerificationResult`.
    - **`payload_transform`** _(string)_
      JSONata expression that transforms the raw inbound payload **before** `handle_verification` and `signature_verification` see it. Use to normalize vendor-specific envelopes (e.g. unwrap a Salesforce `payloads[]` array, decode a base64 body). Input: `IntegrationWebhookPayloadContext`. Output: `IntegrationWebhookPayloadContext` (the same shape — what you return becomes the new payload).
    - **`lookup_key`** _(string)_
      JSONata expression over **one event** of a delivery to the integration's shared app (`POST /integration-webhook/{integration_id}`), returning the event's lookup key: a string (or number) of at most 255 characters; anything else drops the event. Each element of an array body is one event; any other body is one event. With `actions.webhook_lookup_key`, it routes the shared app's webhooks to the accounts that hold the key. Include the app's own id when the provider sends it, so an event reaches only accounts whose token that same app was issued: HubSpot uses `appId and portalId ? $string(appId) & ':' & $string(portalId)`, which gives no key for an event that lacks either. Make the account side give no key in the same case, so the two never match on a half-empty key. Read from the integration's base config only; an environment override of it does nothing.
  - **`error_expression`** _(string)_
  - **`description`** _(string)_
    Environment-specific description shown in the catalog. At most 2000 characters.
  - **`tags`** _(array<string>)_
    Environment-specific tags shown in the catalog.
  - **`is_beta`** _(boolean)_
    Environment-specific beta flag shown in the catalog and Connect UI. Deep-merged onto `integration.is_beta` at request time.
  - **`environment_variables`** _(object)_
    Free-form key/value pairs available to JSONata as `{{env.<key>}}` for this integration in this environment. Values can be of any type (string, number, boolean, object, array). A variable whose name ends in `_secret` is encrypted at rest and returned as `********`, here and in the `integration.config.environment_variables` an environment integration or integrated account is returned with.
  - **`shared_app_webhooks`** _(boolean)_
    Receive the webhooks the provider sends to the integration's shared app (Truto's own OAuth app, which accounts connect through when this install brings no app of its own). The provider sends them to `POST /integration-webhook/{integration_id}` for every account installed on the app; Truto passes each account of this environment the events whose lookup key it holds. Truto records an account's keys from the provider itself after each post-install (`actions.webhook_lookup_key`; for HubSpot, the app and portal ids), so accounts connected before you turn this on get theirs the next time their post-install runs (`POST /integrated-account/run-post-install-actions`). Only active accounts receive events, and an account receives none from the start of each post-install until it ends, or after its OAuth tokens are replaced (`PATCH /integrated-account/{id}/credentials`) until its next post-install. Off unless `true`. `400` when this install brings its own OAuth app (`credentials` sets a client id), or when the integration is not one of Truto's, has no shared app, no signature verification or no lookup settings, or its `actions.webhook_lookup_key` has a step Truto doesn't run or a request whose URL the base config doesn't fix.
- **`link_ui_config`** _(object)_
  Connections-widget-only configuration for this integration. Never merged into `integration.config`.
  - **`visible_when`** _(object)_
    Restricts which tenants may see and connect this integration. Omitted or `null` means every tenant sees it, which is the default for every integration.
    - **`all_of`** _(array<object>)_
      Every condition must hold.
      - **`path`** _(string)_
        A dotted path into `tenant.metadata`, at most four segments deep.
      - **`op`** _(string)_
        Allowed: `in`, `not_in`, `exists`, `not_exists`
      - **`values`** _(array<string>)_
        Required for `in` and `not_in`; rejected for `exists` and `not_exists`. Values are compared as strings — a numeric or boolean metadata value matches its string form.
    - **`any_of`** _(array<object>)_
      At least one condition must hold.
      - **`path`** _(string)_
        A dotted path into `tenant.metadata`, at most four segments deep.
      - **`op`** _(string)_
        Allowed: `in`, `not_in`, `exists`, `not_exists`
      - **`values`** _(array<string>)_
        Required for `in` and `not_in`; rejected for `exists` and `not_exists`. Values are compared as strings — a numeric or boolean metadata value matches its string form.
  - **`group`** _(string)_
    Overrides `integration.category` as this card's grouping key in the widget.
  - **`connect_label`** _(string)_
    Overrides the widget's Connect button label for this integration.
  - **`configure_label`** _(string)_
    Overrides the widget's Configure button label for this integration.

## Methods

- [GET /environment-integration](/docs/api-reference/admin/installed-integrations/list) — List environment integrations
- [POST /environment-integration](/docs/api-reference/admin/installed-integrations/create) — Create environment integration
- [GET /environment-integration/{id}](/docs/api-reference/admin/installed-integrations/get) — Get environment integration
- [PATCH /environment-integration/{id}](/docs/api-reference/admin/installed-integrations/update) — Update environment integration
- [DELETE /environment-integration/{id}](/docs/api-reference/admin/installed-integrations/delete) — Delete environment integration
- [GET /environment-integration/{id}/versions](/docs/api-reference/admin/installed-integrations/list-versions) — List environment integration versions
- [GET /environment-integration/{id}/versions/{version}](/docs/api-reference/admin/installed-integrations/get-version) — Get environment integration version
- [POST /environment-integration/{id}/versions/{version}/restore](/docs/api-reference/admin/installed-integrations/restore-version) — Restore environment integration version
