---
title: "Link Connector To Agent"
method: POST
path: "/connectors/agent/{agent_id}/link"
tags: ["connectors"]
---

# Link Connector To Agent

`POST /connectors/agent/{agent_id}/link`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/connectors/agent/{agent_id}/link`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Link a space connector to an agent.

## Path parameters

- `agent_id` string, uuid, required

## Request body

- AgentConnectorLink: Request to link a connector to an agent.
  - `integration_id` string, uuid, required
  - `connector_config` object

## Response `200`

Successful Response

- AgentConnectorResponse: A connector linked to an agent.
  - `id` string, uuid, required
  - `integration_id` string, uuid, required
  - `provider_id` string, required
  - `provider_name` string, required
  - `provider_icon_url` string, nullable
  - `connector_config` object
  - `is_active` boolean, required
  - `connected_account` ConnectedAccountInfo
    - `email` string, nullable
    - `name` string, nullable
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/meganova/apis/meganova-api.md) - [All operations](https://skmtc.dev/meganova/apis/meganova-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/meganova-api/revisions/c683584f6060?raw)
