Skip to main content
A connection is an authenticated link to an external app. Before you can interact with an app (read data, create records), a connection must be established that authorizes access. See Connections API Reference for the full API. Membrane handles the full authentication lifecycle: OAuth flows, token refresh, API key storage, reconnection on failure, and credential encryption at rest.

Connecting

Create a connection to an external app. You can connect by intent — just describe what you want to connect to and Membrane finds the right app automatically.

Managing Connections

Listing

List all connections for the current tenant. Each connection includes a disconnected flag. If true, the connection needs re-authentication.

Reconnecting

When a connection is disconnected (expired token, revoked access), Membrane attempts to fix it automatically with token refresh and exponential backoff. To reconnect manually:

Deleting

Archive a connection to disconnect and remove it.

Lifecycle Events

Subscribe to webhook notifications for connection lifecycle events:
  • connection.created — connection established with credentials
  • connection.deleted — connection archived
  • connection.disconnected — connection lost access
  • connection.reconnected — connection restored