import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
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: 'My API Key',
});
const response = await client.ee.connectors.getAuthStatus('connector_type');
console.log(response.is_authenticated);
{
"is_authenticated": true,
"message": "<string>",
"auth_url": "<string>"
}
Successful Response
The response is of type object
.
Was this page helpful?