POST request to /v3/connections/{provider}
Parameters
provider: The provider to connect to. Currently supported providers arenotion,google-drive,one-driveredirectUrl: The URL to redirect to after the connection is created (your app URL)containerTags: Optional. For partitioning users, organizations, etc. in your app.- Example:
["user_123", "project_alpha"]
- Example:
metadata: Optional. Any metadata you want to associate with the connection.- This metadata is added to every document synced from this connection.
documentLimit: Optional. The maximum number of documents to sync from this connection.- Default: 10,000
- This can be used to limit costs and sync a set number of documents for a specific user.
Response
supermemory sends a response with the following schema:authLink to redirect the user to the provider’s login page.
Next up, managing connections.