Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
client.connections — manage integration connections
await airstore.connections.create('ws_abc123', { integrationType: 'github', accessToken: 'ghp_xxxxxxxxxxxx', })
// OAuth-based const connection = await airstore.connections.create('ws_abc123', { integrationType: 'gmail', accessToken: 'ya29.xxx', refreshToken: '1//xxx', scope: 'https://www.googleapis.com/auth/gmail.readonly', }) // API key-based const phConnection = await airstore.connections.create('ws_abc123', { integrationType: 'posthog', apiKey: 'phx_xxxxxxxxxxxx', })
workspaceId
string
integrationType
IntegrationType
gmail
gdrive
github
notion
linear
slack
posthog
accessToken
refreshToken
apiKey
scope
extra
Record<string, string>
Promise<Connection>
external_id
workspace_id
integration_type
string | undefined
expires_at
created_at
updated_at
const connections = await airstore.connections.list('ws_abc123')
Promise<Connection[]>
await airstore.connections.del('ws_abc123', 'conn_xyz789')
connectionId
Promise<void>
Was this page helpful?