For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo
Resources
Log inGet a demo
Get startedConnectorsAPI reference
Get startedConnectorsAPI reference
  • Agent Handler
      • GETList Tool Packs
      • POSTCreate Tool Pack
      • GETGet Tool Pack
      • DELDelete Tool Pack
      • PATCHUpdate Tool Pack
      • GETList connectors in a Tool Pack
      • PUTUpdate connectors in a Tool Pack
      • PATCHUpdate connectors in a Tool Pack (partial)
      • DELRemove a connector from a Tool Pack

Get started

  • Overview
  • Introduction
  • Unified API
  • Linked Account
  • Merge Link
  • Use cases

Implementation

  • Sandboxes
  • SDKs
  • API access
  • Syncing data
  • Writing data
  • Data minimization
  • Supplemental data
  • Errors
  • Integration metadata

API reference

  • ATS
  • HRIS
  • Accounting
  • Ticketing
  • CRM
  • File Storage
  • Knowledge Base
  • Chat

Resources

  • Help Center
  • Merge.dev
  • Changelog
© Merge 2026Terms of usePrivacy policy
UnifiedAgent HandlerGateway
UnifiedAgent HandlerGateway
Resources
Log inGet a demo
Agent HandlerTool Packs

Update connectors in a Tool Pack (partial)

PATCH
https://ah-api.merge.dev/api/v1/tool-packs/:tool_pack_id/connectors/
PATCH
/api/v1/tool-packs/:tool_pack_id/connectors/
$curl -X PATCH https://ah-api.merge.dev/api/v1/tool-packs/tool_pack_id/connectors/ \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '[
> {
> "slug": "github"
> }
>]'
200Add connector with all tools
1[
2 {
3 "slug": "github",
4 "name": "GitHub",
5 "source_url": "https://github.com",
6 "logo_url": "https://github.com/favicon.ico",
7 "categories": [
8 "Developer Tools"
9 ],
10 "auth_scope": "INDIVIDUAL",
11 "tools": [
12 {
13 "name": "create_issue",
14 "description": "Create a new issue",
15 "input_schema": {
16 "type": "object",
17 "properties": {
18 "title": {
19 "type": "string"
20 }
21 },
22 "required": [
23 "title"
24 ]
25 },
26 "credit_type": "default"
27 },
28 {
29 "name": "list_issues",
30 "description": "List issues",
31 "input_schema": {
32 "type": "object",
33 "properties": {}
34 },
35 "credit_type": "default"
36 }
37 ],
38 "connector_id": "3c90c3c0-6d46-4b50-8888-8dd25736052f"
39 }
40]
Partially update a tool pack's connectors. Connectors not listed in the request body are left untouched. `tool_names` behavior per item: - Omitted (new connector): all tools are enabled. - Omitted (existing connector): the connector's tools are left unchanged. - `[]` (empty list): the connector is removed from the tool pack. - Otherwise: exactly these tools are enabled. Returns the updated list of connectors on the tool pack.
Was this page helpful?
Previous

Update connectors in a Tool Pack

Next

Remove a connector from a Tool Pack

Partially update a tool pack’s connectors. Connectors not listed in the request body are left untouched.

tool_names behavior per item:

  • Omitted (new connector): all tools are enabled.
  • Omitted (existing connector): the connector’s tools are left unchanged.
  • [] (empty list): the connector is removed from the tool pack.
  • Otherwise: exactly these tools are enabled.

Returns the updated list of connectors on the tool pack.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

tool_pack_idstringRequiredformat: "uuid"

Request

This endpoint expects a list of objects.
slugstringOptional

Connector slug — primary identifier.

connector_idstringOptionalformat: "uuid"

DEPRECATED — prefer slug. Retained for backward compatibility.

auth_scopeenumOptional

Authentication scope. INDIVIDUAL: each user authenticates separately. SHARED: users in the same registered_company share one credential. Defaults to INDIVIDUAL when creating a new connector.

  • INDIVIDUAL - INDIVIDUAL
  • SHARED - SHARED
  • ORGANIZATION - ORGANIZATION
Allowed values:
tool_nameslist of stringsOptional

Tool names to enable on this connector.

  • Omitted (new connector): all tools are enabled.
  • Omitted (existing connector, PATCH): the connector’s tools are left unchanged.
  • [] (empty list): the connector is removed from the tool pack.
  • Otherwise: exactly these tools are enabled.

Response

slugstring
namestring
source_urlstring or null
logo_urlstring
categorieslist of any
auth_scopeenum

How credentials are shared for this connector.

  • INDIVIDUAL: each registered user authenticates with their own credential
  • SHARED: users in the same registered_company share one credential
  • ORGANIZATION: one credential is used for the whole organization
  • INDIVIDUAL - INDIVIDUAL
  • SHARED - SHARED
  • ORGANIZATION - ORGANIZATION
Allowed values:
toolslist of objectsRead-only
connector_idstringformat: "uuid"

DEPRECATED — alias for the connector UUID. Prefer slug as the primary identifier. Retained for backward compatibility.