## Create connection **post** `/v3/connections/{provider}` Initialize connection and get authorization URL ### Path Parameters - `provider: "notion" or "google-drive" or "onedrive" or 4 more` - `"notion"` - `"google-drive"` - `"onedrive"` - `"gmail"` - `"github"` - `"web-crawler"` - `"s3"` ### Body Parameters - `containerTag: optional string` - `containerTags: optional array of string` - `documentLimit: optional number` - `metadata: optional map[string or number or boolean]` - `string` - `number` - `boolean` - `redirectUrl: optional string` ### Returns - `id: string` - `authLink: string` - `expiresIn: string` - `redirectsTo: optional string` ### Example ```http curl https://api.supermemory.ai/v3/connections/$PROVIDER \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $SUPERMEMORY_API_KEY" \ -d '{}' ``` #### Response ```json { "id": "id", "authLink": "authLink", "expiresIn": "expiresIn", "redirectsTo": "redirectsTo" } ```