import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const response = await client.ee.connectors.getAuthStatus('connector_type');
console.log(response.is_authenticated);{
"is_authenticated": true,
"message": "<string>",
"auth_url": "<string>"
}Checks the current authentication status for the given connector type.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const response = await client.ee.connectors.getAuthStatus('connector_type');
console.log(response.is_authenticated);{
"is_authenticated": true,
"message": "<string>",
"auth_url": "<string>"
}Was this page helpful?