GET
/
ee
/
connectors
/
{connector_type}
/
auth
/
initiate_url
JavaScript
import Morphik from 'morphik';

const client = new Morphik({
  apiKey: 'My API Key',
});

const response = await client.ee.connectors.auth.getInitiateAuthURL('connector_type');

console.log(response);
{
  "auth_type": "<string>",
  "required_fields": [
    {
      "name": "<string>",
      "label": "<string>",
      "description": "<string>",
      "type": "<string>",
      "required": true,
      "options": [
        {
          "value": "<string>",
          "label": "<string>"
        }
      ]
    }
  ],
  "instructions": "<string>"
}

Headers

authorization
string

Path Parameters

connector_type
string
required

Query Parameters

app_redirect_uri
string | null

Response

200
application/json

Successful Response

The response is of type object.