Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More

Apex Class access for Open CTI

Publish Date: Jun 8, 2026
Description

Starting in Winter '19 (Salesforce release), Computer Telephony Integration (CTI) users see a warning message when the CTI softphone invokes the Open CTI RunApex() method on an Apex class for which the user does not have profile permission. The warning reads:


"You don't have access to the Apex Class [Class Name]. Contact your admin and have them give you access."


CTI users can dismiss the warning by clicking the X and continue working normally in existing orgs. However, for newly created orgs, RunApex() fails entirely unless the user has permission for each Apex class used in the Open CTI implementation.


Starting in Spring '19, this behavior was enforced across all organizations — users can no longer dismiss the warning in any org.

Resolution

 

Steps to Resolve Open CTI Apex Class Permission Warnings

 

  1. Review your Open CTI implementation. Identify each Apex class that your CTI implementation invokes via RunApex().
  2. Review the profile(s) assigned to your CTI users. For each Apex class identified in Step 1, grant those profiles access to the class via Setup | Apex Classes | [Class Name] | Security.

 

Note: Apex class access can be granted via Profile or via Permission Set, depending on your org's configuration and whether a managed package is involved.

 

Additional Resources

Open CTI Developer Guide

Knowledge Article Number

000383968

 
Loading
Salesforce Help | Article