JavaScript
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 }
Configure resources for a connection (supported providers: GitHub for now)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
Resources configured successfully
Was this page helpful?