connectors

Update connector

Changed on

Updates a connector.

Fields left out of the body keep their values; bridge: null and domain: null remove the Bridge or custom domain. config is merged into the stored settings: keys left out keep their values and null resets a setting to its default. Secret fields sent as ********, empty or null keep their stored values. Settings of triggers, results and calls are changed on the agent links. Connectors defined in code only accept enabled; other fields must be null or repeat the current values. Retired connectors can't be resumed.

Required permission: connectors.update.

patch/v1/projects/{project_id}/connectors/{connector_id}

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

connector_id, string uuid required

Connector ID from GET /connectors.

Request body

ConnectorUpdate required

Partial update of a connector, in the shape of connectors/*.yaml. Connectors declared in code accept only enabled.

name, string nullable

New display name. It cannot match a connector declared in code in the same environment.

mode, string nullable

Deprecated: connectors have no mode any more. Accepted until April 30, 2027: sync and inbound set config.sync on HTTP and MCP connectors; other values change nothing.

connection, string nullable

Name or ID of the Connection with the connector's credentials.

bridge, string nullable

Name or ID of the Bridge for a private network, or null to connect directly. Kafka, Postgres, email, SQS and S3 connectors use the Bridge of their Connection; for them this field is deprecated and accepted until April 30, 2027 only when it matches the Connection's Bridge.

domain, string nullable

Hostname or ID of an active custom domain for the connector's URL, or null for the default host.

config, object nullable

Connector-level settings, merged into the current configuration: keys left out keep their values and null resets a setting to its default. Settings of triggers, results and calls are changed on the agent links. Secret fields that are omitted, empty, null or still masked keep their stored values. Until April 30, 2027, the deprecated fields mode, connection_id, bridge_id, the flat rate_limit_* fields, phone_number_sid or phone_number_id, and Connection credentials are accepted here too.

enabled, boolean nullable

Enable or disable the connector. Enabling counts toward the plan's connector limit.

domain_id, string uuid nullable

Deprecated, use domain. Accepted until April 30, 2027.

Response

Successful Response

ConnectorDetailResponse required

Connector in an environment, with its configuration and the agents that use its tools.

id, string uuid required
project_id, string uuid required

Project the connector belongs to.

environment_id, string uuid required

Environment the connector runs in.

domain_id, string uuid nullable

Deprecated, use domain. Returned until April 30, 2027.

name, string required
key, string required

Reference of the connector in its environment, such as connector:<key>.<tool> in an agent's tools. For connectors defined in code, the name of their connectors/<key>.yaml file. It never changes.

type, 'http' | 'cron' | 'kafka' | 'sqs' | 'postgres' | 'websocket' | 'mcp' | 'email' | 's3' | 'stripe' | 'telegram' | 'slack' | 'twilio' | 'twilio_messaging' | 'telnyx' | 'telnyx_messaging' | 'sip' | 'github' | 'outlook' | 'rabbitmq' | 'mqtt' | 'azure_service_bus' | 'jira' | 'teams' | 'linear' | 'notion' | 'shopify' | 'gitlab' | 'pipedrive' | 'gmail' | 'google_sheets' | 'google_pubsub' | 'whatsapp' | 'connic' required

Connector type. Determines the fields in config.

mode, string nullable

Deprecated: connectors have no mode any more; agent links say what a connector does for each agent. Always null; returned until April 30, 2027.

connection, string nullable

ID of the Connection that holds the connector's credentials, or null for types without one.

bridge, string nullable

ID of the Bridge that connects the connector to a private network, or null for a direct connection. For Kafka, Postgres, email, SQS and S3 connectors, the Bridge of their Connection.

domain, string nullable

ID of the custom domain the connector's URL uses, or null for the default connector host.

config, object required

Connector-level settings for the connector type, with the fields documented on that connector's docs page; the settings of triggers, results and calls are on the agent links. Credential fields are masked as ********; secrets connic generates for the connector, such as webhook secrets, are returned in full. Until April 30, 2027, config also returns the deprecated fields connection_id, bridge_id, the flat rate_limit_* fields, phone_number_sid or phone_number_id, and the fields of the Connection.

enabled, boolean required

False while the connector is paused. A paused connector starts no runs, delivers no results and gives agents no tools.

created_at, string date-time required
updated_at, string date-time required
managed_key, string nullable

Key of the connectors/<key>.yaml file that defines this connector in code, or null. Change these connectors in your codebase; the API can only pause or resume them.

retired_at, string date-time nullable

When the active deployment stopped declaring this connector in code, or null. Retired connectors stay paused until a deployment declares them again, and can be deleted.

tool_agents, string[] required

Agents of the environment's active deployment with connector:<key>.<tool> in their tools or discoverable tools. Empty for retired connectors.

Changes

    • warning

      added the new connic enum value to the type response property for the response status

    • info

      request property mode deprecated

    • info

      response property mode deprecated

    2 more changes in this revision