+ Start a Discussion

Determine if API is Enabled

Is there a way in APEX to determine if the API is enabled for the org?

The KnightThe Knight

Select p.PermissionsApiEnabled From Profile p


This will determine the API acces for specified profile. The API access is available  for all the orgs(EE, unlimited and developer Editions).