Types of CRM API access
CRM platforms expose multiple API surfaces that serve different purposes and carry different risk profiles:
- REST and SOAP APIs: General-purpose APIs used by integrations, third-party tools, and custom applications. Typically authenticated with username/password + security token or OAuth tokens.
- Bulk API: Designed for large-scale data operations (imports, exports, updates). Bulk API access that is not expected for a given credential is a strong indicator of potential data extraction.
- Streaming API: Provides real-time event streams. Streaming subscriptions that are not expected for a given integration can indicate unauthorized activity monitoring.
- Connected app OAuth: Third-party applications that have been granted access via OAuth. Each connected app has its own token and scope, but activity is attributed to the authorizing user in audit logs.
Service account security
Integration users and service accounts represent a significant share of CRM API traffic in most enterprise environments. They are also among the most common sources of security risk:
- Service accounts often hold high privilege levels established at integration build time and never reviewed
- Shared service account credentials make it impossible to attribute activity to a specific system or person
- Compromised service account credentials can be used for persistent, high-volume data access without triggering human-behavior-based anomaly detection
- Service accounts are rarely offboarded when the integration they support is decommissioned
Best practice is to create dedicated, minimum-privilege service accounts for each integration — and to monitor each account independently for behavioral anomalies.
Detecting API abuse
API abuse patterns that warrant investigation include:
- Sudden increase in call volume from a service account or integration user above its established baseline
- API calls to object types the credential has not previously accessed
- Bulk API queries returning very large result sets from credentials that typically use the standard REST API
- API calls at times inconsistent with the integration's expected schedule
- API calls from IP ranges not previously associated with the integration
- SOQL queries designed to extract maximum data per call (e.g.,
SELECT * FROM Account LIMIT 200patterns repeated many times)
AI agent and MCP API access
AI agents connected to CRM systems via API or MCP represent a newer and less well-understood API security challenge. These systems:
- May operate with the permissions of the user who connected them, rather than a dedicated service account
- Can access any object and field the authorizing user can access
- May not be explicitly documented or registered in the organization's integration inventory
- Can take write actions (creating records, sending emails) that may not have been intended
Behavioral monitoring that identifies probable AI agent activity — based on access patterns, timing, and call structure — helps security teams understand the scope of AI-related API access in their CRM environment.
Frequently Asked Questions
How do I identify all API consumers in my CRM environment?
Can API rate limiting serve as a security control?
What is the difference between API monitoring and web application firewall (WAF) protection?
How should service account credentials be managed?
Does CRMSentry monitor Salesforce API v2 (REST) and Bulk API separately?
Related reading
Secure your CRM
CRMSentry provides continuous security monitoring, behavioral threat detection, and compliance posture management for Salesforce, Dynamics 365, and HubSpot.
Get a CRM Security Assessment