Get connector policies

Changed on

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Returns the connector policies of the app's workspace, one entry per connector. It tells you whether builders may connect each connector to the workspace's apps, and whether the apps' users may connect their own accounts.

A connector with builder_connection_enabled set to false can't be connected with Start connector connection. Workspace admins set these policies in the workspace settings. Any editor of the app can read them, including one who isn't a member of the workspace.

The list isn't paginated.

This is limited to 60 requests a minute per caller. Some workspaces have a different limit.

<Note>This endpoint accepts a personal API key belonging to a user with editor access to the app, including a read-only key. Workspace API keys are not accepted.</Note>

get/api/apps/{app_id}/external-auth/connector-governance

Request

  • Base URL: https://app.base44.com
  • URL: https://app.base44.com/api/apps/{app_id}/external-auth/connector-governance
  • Auth: HTTP bearer

Path parameters

app_idstring required

ID of the app.

Response

The workspace's connector policies.

has_any_governance_policiesboolean required

Whether the workspace has restricted any connector (true) or left them all at the defaults (false).

Example response

{
  "items": [
    {
      "builder_connection_enabled": true,
      "connector_mode": "all",
      "display_name": "Google Calendar",
      "has_per_user_credentials": false,
      "integration_type": "googlecalendar",
      "per_user_connection_enabled": false
    }
  ]
}

Changes