Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string
required
Minimum string length: 1
Example:

"agent_abc123"

Body

application/json
connectionId
string<uuid>
required
metadata
object
{key}
any

Response

Connection attached.

accountLabel
string | null
required
createdAt
string
required
id
string<uuid>
required
owner
OrganizationConnectionOwner · object
required

Public owner for a reusable connection. Organization owners use the authenticated organization; fleet owners add a fleetId.

provider
enum<string>
required
Available options:
google,
github,
slack,
linear,
notion,
custom,
webhook
scopes
string[]
required
type
enum<string>
required
Available options:
oauth,
api_key
updatedAt
string
required
attachedAt
string
required
metadata
object