Skip to main content
POST
/
v3
/
connections
/
{connectionId}
/
configure
Configure connection
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({resources: [{}]})
};

fetch('https://api.supermemory.ai/v3/connections/{connectionId}/configure', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "message": "<string>",
  "webhooksRegistered": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

connectionId
string
required

Body

application/json
resources
object[]
required

Response

Resources configured successfully

success
boolean
required
message
string
required
webhooksRegistered
number