POST
/
v3
/
connections
/
{provider}
/
connection
curl --request POST \
  --url https://api.supermemory.ai/v3/connections/{provider}/connection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "containerTags": [
    "user_123",
    "project_123"
  ]
}'
{
  "id": "<string>",
  "provider": "<string>",
  "createdAt": 123,
  "expiresAt": 123,
  "metadata": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

provider
enum<string>
required
Available options:
notion,
google-drive,
onedrive

Body

application/json

Response

200
application/json

Connection details

The response is of type object.