Zoho CRM User-Based Authentication for Connections and invokeAPI

Zoho CRM User-Based Authentication: Per-User Connections and LOGINUSER API Access (2026)

Written by 1 Cloud Consultants, a Zoho Partner in the UK and Ireland. See our Zoho CRM services.

Zoho has added two enhancements to Zoho CRM that make authentication simpler and let developer tools work with user-specific access. First, Connections can now authenticate each CRM user with their own account. Second, functions, client scripts and widgets can call CRM APIs using the permissions of whoever is logged in, with no extra sign-in. This article explains both, what each supports, and the limits. It is based on a Zoho announcement, not on our own testing in a live account. Our own advice is marked as ours.

In short: set Credential of Login User to Yes on a Connection so each user signs in with their own account, or use user: LOGINUSER in invokeAPI so a function runs with the logged-in user's existing CRM permissions. Zoho says both are live in all data centres.

1. User-based authentication for Connections

Until now, a Connection typically shared the administrator's authentication, so every user saw data as the admin. Connections now support user-based authentication, so each CRM user reaches the data through their own account.

How it works

When you create a Connection, set the option called Credential of Login User.

SettingWhat happens
YesEvery CRM user who uses the Connection must authenticate with the linked service using their own account.
NoOnly the administrative user authenticates, and everyone shares that authentication, as before.

Choose the setting according to whether your integration needs user-specific or shared access to data.

Use cases Zoho gives

  • Relevant Zoho Desk tickets: when CRM users fetch tickets from Zoho Desk, individual authentication means they see the tickets that relate to their own accounts, not the admin's.
  • Records with the correct ownership: when fetching records from Zoho CRM, each user gets the records they own, not the records owned by whoever created the Connection.
Note: choosing scopes in a Connection does not automatically give users the matching permissions in Zoho CRM. Users still need the right CRM permissions for each action. Existing CRM permission controls carry on applying when user-based authentication is on.

2. Run CRM APIs with the logged-in user's permissions

You can now execute Zoho CRM APIs using the permissions of the user who is currently logged in. Unlike user-based authentication for Connections, users do not have to authenticate. The request uses their existing Zoho CRM permissions directly.

In a function, add user: LOGINUSER to invokeAPI. Zoho's example fetches Lead records:

string button.Fetch_Leads()
{
    response = invokeapi
    [
        service :zohocrm
        path :"/crm/v8/Leads?fields=Last_Name,Email"
        type :GET
        user:LOGINUSER
    ];
    info response;
    return response;
}

With this setting, only users who have permission to access the Leads module can retrieve Lead records through the function.

Supported components and requirements

User-based access works in Functions, Client Scripts and Widgets, with the requirements below.

Functions

Supported function types:

  • Button
  • Automation
  • Related List
  • Standalone
  • Validation Rule

Requirements for functions:

  • Deluge functions must use invokeAPI.
  • Java, NodeJS and Python functions must use ZRC.
  • If REST API access is enabled for a function, configure OAuth 2.0 authentication and call the v8 API version.

Client Scripts

Use ZRC with v8 or later APIs.

Widgets

Use either of these, with v8 or later APIs:

Limitations

User-based access is not supported in:

  • Functions with REST API access enabled where authentication is set to an API key.
  • Schedules.
  • Time-based Workflow Rules.

Availability

Zoho says both enhancements are live in all data centres.

What the announcement does not say: it does not list which CRM editions include these features. It does not say which services a Connection can link to beyond the Zoho Desk and Zoho CRM examples. It does not say what a user sees if they decline to authenticate, or what happens to existing Connections when you change the setting. Check the behaviour in a sandbox before relying on it.

Using it well: our advice

This section is our own advice, not Zoho's. It is general guidance.

  1. Prefer LOGINUSER for CRM data. If a function only reads or writes CRM, running as the logged-in user respects your profiles and removes the need for an admin-owned token.
  2. Use per-user Connections for third-party data that differs by user, such as Zoho Desk tickets, and keep a shared Connection for data everyone should see in the same way.
  3. Check profiles and scopes together. A scope does not grant a CRM permission, so test with a standard user, not only an administrator.
  4. Review scheduled functions and time-based workflows. They cannot use user-based access, so decide how those will authenticate.
  5. Move to v8 APIs in any widget, client script or function you want to switch over.
  6. Plan the user experience. Each user must sign in once to a per-user Connection, so tell people what to expect before you switch it on.
Need help? As a Zoho Partner serving the UK and Ireland, we can review your Zoho CRM Connections, functions and widgets, and move them to user-based access safely. Book a discovery call with 1 Cloud Consultants.