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);
Checks the current authentication status for the given connector type.
GET
/
ee
/
connectors
/
{connector_type}
/
auth_status
JavaScript
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);