Key Takeaways
- Salesforce REST, SOAP, Bulk, Composite, and Pub/Sub APIs support different enterprise integration requirements.
- Secure authentication, appropriate access permissions, and API consumption monitoring improve integration security and performance.
- Proper API selection, error handling, testing, and continuous monitoring ensure reliable and maintainable integrations.
Connecting Salesforce to another business application may seem like a straightforward development task. But once you start looking at the actual requirements, things become more complicated.
How frequently should customer records be updated? What happens if an ERP system is temporarily unavailable? Can an external application access Salesforce without exposing sensitive customer information? And what happens when several applications begin using the same Salesforce API allocation?
These are the questions enterprise IT teams need to answer before developing an integration.
Salesforce API integration provides a way for applications to communicate without relying on manual data entry or disconnected workflows. Whether you’re connecting an ERP system, a customer portal or an internal business application, the decisions made during integration design will affect its performance, security and maintenance.
This article explains the Salesforce APIs available to enterprise IT teams, how to select the right one and what to consider when implementing integrations.
What Is Salesforce API Integration?
Salesforce API integration allows external applications to retrieve, create, update or exchange information with Salesforce through supported Application Programming Interfaces (APIs).
For example, a company may have a customer portal where users submit service requests. Instead of asking a support representative to manually create a case in Salesforce, the portal can use an API to create the case automatically.
The portal can then retrieve relevant case information when the customer requests an update.
APIs are useful because applications can exchange information without requiring employees to work directly in both systems.
Some common enterprise requirements include:
Connecting Salesforce with ERP and financial applications.
Synchronising customer records across business systems.
Creating service cases from external applications.
Connecting marketing platforms with sales workflows.
Retrieving Salesforce information for enterprise reporting.
Automating processes involving multiple applications.
The API is the communication interface. The integration itself must also account for business rules, security, data validation and failures.
Understanding the Different Salesforce APIs
Salesforce provides several APIs, each designed for different types of operations. Choosing the wrong one can introduce unnecessary development work or performance problems.
Salesforce REST API
REST API is often a practical starting point when connecting Salesforce with modern web applications, mobile applications and enterprise systems.
It uses standard HTTP methods such as GET, POST, PATCH and DELETE to retrieve and modify information.
For example, an external customer application might use REST API to retrieve an account record, create a contact or update a service case.
REST API is particularly useful when an application needs to perform individual transactions or retrieve specific information on demand.
Explore the official Salesforce REST API Developer Guide for technical implementation details.
Salesforce SOAP API
Not every enterprise application uses modern REST interfaces. Some older applications rely on SOAP-based web services and established XML message formats.
Salesforce SOAP API supports these environments through structured service definitions known as WSDLs.
If an organisation already operates a reliable SOAP-based integration, replacing it with REST may not provide enough business value to justify the investment.
The decision should depend on application compatibility, maintenance requirements and future development plans.
Salesforce Bulk API 2.0
Processing thousands of Salesforce records individually can be inefficient.
Suppose an enterprise needs to synchronise 50,000 product records from an ERP system. Sending a separate request for every record would create considerable communication overhead.
Bulk API 2.0 allows large data operations to run in the background. The application submits a job and retrieves the results once processing has progressed or completed.
Salesforce identifies operations involving more than 2,000 records as potential candidates for Bulk API 2.0. This is a useful starting point rather than a compulsory threshold.
Read the official Bulk API 2.0 documentation for supported operations and processing considerations.
Salesforce Composite API
Sometimes a business transaction requires several related Salesforce operations.
Creating a new customer, for example, may involve creating an account, adding a contact and associating the two records.
Instead of sending separate requests, the Composite API resource allows up to 25 related subrequests within a single API call, subject to specific restrictions.
It also allows later operations to reference results from earlier ones.
This can reduce communication overhead and simplify related record operations.
Salesforce Pub/Sub API
Polling Salesforce repeatedly to check whether something has changed is not always the best approach.
Pub/Sub API supports event-based communication, allowing external applications to publish and subscribe to supported Salesforce events.
Two relevant Salesforce capabilities are:
Platform Events: Communicate defined business activities, such as an approved order.
Change Data Capture: Notify subscribed applications about changes to supported Salesforce records.
These capabilities are particularly useful when other applications need to respond to changes without continuously querying Salesforce.
Custom Apex REST API
Standard Salesforce APIs should generally be evaluated before developing custom interfaces.
However, some integrations involve business rules that cannot be handled efficiently through standard record operations.
In these situations, developers can expose custom functionality through Apex REST services.
Custom APIs introduce additional responsibilities, including code maintenance, security reviews and testing against Salesforce platform limits. They should be developed when there is a clear requirement.
Salesforce REST API vs SOAP API vs Bulk API
The following comparison can help IT teams identify a suitable API during initial planning.
| Salesforce API | Suitable requirements | Processing approach |
|---|---|---|
| REST API | Record retrieval and everyday business transactions | Synchronous requests |
| SOAP API | Compatible legacy and enterprise web services | XML-based requests |
| Bulk API 2.0 | Large-volume data imports, updates and exports | Asynchronous jobs |
| Composite API | Multiple related record operations | Combined REST requests |
| Pub/Sub API | Business events and record change notifications | Event-based communication |
| Apex REST API | Custom business functionality | Custom request processing |
An enterprise does not need to standardise on a single Salesforce API for every integration.
For instance, an ERP integration could use REST API for customer lookups, Bulk API 2.0 for periodic product updates and event-based communication for approved orders.
Not sure which Salesforce API fits your application requirements?
Discuss your integration architecture with MicroGenesis to evaluate your systems, data volumes and business processes.
Salesforce API Integration Architecture
Before writing any integration code, establish how Salesforce will communicate with the applications around it.
There are several ways to organize these connections.
Direct API Integration
A direct connection can work well when two applications need to exchange a limited amount of information.
For example, a customer portal may connect to Salesforce through a secure backend service to create and retrieve cases.
This avoids introducing a separate integration platform unnecessarily.
However, embedding numerous independent connections into different business applications can make future changes difficult to manage.
Middleware-Based Integration
When Salesforce needs to communicate with ERP, ITSM, databases and other enterprise applications, middleware may provide a more manageable approach.
It can handle differences in data formats, route information to appropriate systems and provide a central place to monitor transactions.
Middleware platforms such as MuleSoft may be considered, but the choice should depend on the organization’s existing technology investments, integration complexity and operating costs.
Event-Driven Architecture
Consider a customer order approved in Salesforce.
Rather than waiting for an ERP system to complete order processing immediately, Salesforce can publish an event that an integration service processes separately.
This allows the sales workflow to continue while the backend transaction is handled.
The design must still include a way to recover failed transactions and prevent repeated processing.
Organizations connecting CRM with finance and operations can explore these architectural decisions further in our guide to Salesforce ERP integration.
Salesforce API Authentication and Security
Giving an external application access to Salesforce means giving it access to part of your enterprise information environment.
Security should be addressed before integration development begins.
Use Appropriate OAuth 2.0 Authentication
Salesforce supports OAuth 2.0 for authorizing applications to access its APIs.
Instead of embedding personal login credentials in application code, IT teams should configure an appropriate authentication flow and manage access through dedicated application identities.
For unattended system-to-system communication, supported OAuth client credentials or JWT bearer flows may be appropriate.
Applications operating on behalf of individual users may require a different authorization flow.
External Client Apps and Connected Apps
IT teams developing new Salesforce integrations should be aware of changes introduced in Spring ’26.
Salesforce now restricts the creation of new Connected Apps and recommends External Client Apps for new implementations. Existing Connected Apps can continue to operate.
This is particularly important when creating new integration documentation or updating older implementation procedures.
Refer to Salesforce’s official guidance on OAuth 2.0 and External Client Apps.
Restrict Integration Permissions
A reporting application that only retrieves account information should not have permission to delete customer records.
Use dedicated integration identities, appropriate permission sets and restricted access to objects and fields.
Authentication alone does not determine which information an application should be allowed to access.
Protect Credentials and Sensitive Information
Store client secrets, certificates and access tokens securely. Establish procedures for updating credentials and removing access when an integration is retired.
Integration logs should also avoid exposing access tokens, confidential customer information or sensitive financial data.
Understanding Salesforce API Limits
API consumption is easy to underestimate during development.
An integration might work perfectly when tested with a few hundred records but behave differently when several connected applications begin processing production data.
Salesforce applies API request allocations and other processing limits. These vary according to the organization’s edition, licences and capabilities.
Importantly, the standard total API request allocation is shared across the Salesforce organization, rather than assigned independently to every integration user.
Consider three applications that each check Salesforce once every minute.
Together, they generate 4,320 requests per day before performing any additional record operations.
If those applications do not require immediate updates, scheduled processing or event-based communication might reduce unnecessary requests.
IT teams should:
Review current API consumption before introducing new integrations.
Avoid unnecessary queries and repeated record retrieval.
Use Composite or Bulk APIs where appropriate.
Monitor available API capacity using the supported
/limitsendpoint.Establish alerts and recovery procedures for request-limit errors.
Consult Salesforce’s official API request limits and allocations when planning production workloads.
Practical Salesforce API Integration Use Cases
The value of API integration becomes clearer when you look at how employees actually work.
Connecting Salesforce with ERP
A sales representative preparing a quotation may need current product pricing and inventory information from ERP.
An API integration can retrieve the required information without asking the representative to leave Salesforce.
Once the quotation becomes an approved order, another integration can transfer the commercial details to ERP for processing.
Connecting Salesforce with ITSM Platforms
Customer service representatives may use Salesforce Service Cloud, while technical teams manage incidents in Jira Service Management or ServiceNow.
An integration can create technical incidents from qualifying customer cases and return relevant resolution updates to Salesforce.
Both teams retain their existing working environments.
Read our article on Salesforce integration with ITSM platforms for more examples of connected service workflows.
Connecting Custom Business Applications
An enterprise might operate its own dealer management platform, customer onboarding application or supplier portal.
Salesforce APIs can support communication between these applications and CRM, provided the required interfaces and security controls are available.
Connecting applications in this way also helps businesses address the problems associated with data silos in Salesforce and enterprise systems.
Common Salesforce API Integration Challenges
Most integration problems become visible when applications encounter unexpected conditions rather than during successful transactions.
| Challenge | Practical solution |
|---|---|
| Expired access tokens | Establish secure token renewal and authentication recovery |
| Duplicate records | Use external IDs, unique identifiers and controlled record updates |
| API request limits | Review consumption and optimize request frequency |
| Application downtime | Retain pending transactions and implement controlled retries |
| Invalid data | Validate information and report rejected records |
| Partial transaction failures | Inspect individual operation results and reconcile incomplete transactions |
| Application upgrades | Maintain API version information and test compatibility before upgrades |
One particularly important issue is deciding when a failed request should be repeated.
If an API returns a temporary service error, a controlled retry may be appropriate. However, repeating a request containing invalid customer information will not resolve the underlying problem.
The integration needs to distinguish between these situations.
There is also the possibility that a request succeeds but the response never reaches the sending application. Unique transaction references help prevent that request from creating another record when it is repeated.
These issues often overlap with broader Salesforce implementation challenges, particularly when integration requirements have not been considered early in a project.
How to Implement Salesforce API Integration
Step 1: Understand the Business Requirement
Start with the process that needs improvement.
Identify which application initiates the transaction, what information needs to move and how quickly the receiving application needs it.
This helps avoid building interfaces that have little practical business value.
Step 2: Assess Existing Applications
Review Salesforce configuration, external application interfaces, licences, data structures and expected transaction volumes.
Identify which system owns each record or field before enabling two-way data exchange.
Step 3: Select the API and Integration Architecture
Choose the API based on the operation rather than personal technology preferences.
Document authentication, data mapping, processing frequency, transaction recovery and error handling.
If integration is part of a new CRM deployment, our enterprise Salesforce implementation guide explains how these activities fit into the wider project.
Step 4: Develop and Test in a Controlled Environment
Configure and develop integrations in a suitable non-production environment.
Testing should include more than successful API responses. Verify how the integration handles missing records, insufficient permissions, expired tokens, repeated requests and temporary application outages.
Also validate that the resulting Salesforce records are correct from a business perspective.
Step 5: Deploy and Monitor
Before production deployment, establish monitoring, operational responsibilities and procedures for investigating failed transactions.
Our Salesforce implementation checklist provides additional guidance on deployment readiness.
Salesforce API Integration Best Practices
An integration should be designed for the people who will maintain it two or three years after deployment, not just the developers building it today.
Keep the following principles in mind:
Evaluate standard Salesforce APIs before developing custom endpoints.
Avoid using personal administrator accounts for system integrations.
Use external identifiers and appropriate upsert operations to prevent duplicate records.
Apply controlled retries with increasing wait times for temporary failures.
Document API versions, data mappings and application dependencies.
Monitor transaction success rates, response times and API consumption.
Review integration behavior when connected applications are upgraded.
It is also worth involving business users during testing. An API can function correctly while still producing confusing record statuses or unnecessary manual activities.
Our article on Salesforce user adoption mistakes explains why technical implementation decisions need to consider the employee experience.
How Much Does Salesforce API Integration Cost?
The development effort depends largely on what happens beyond the API request itself.
Retrieving a Salesforce account from an existing application is relatively different from designing a complete order processing workflow involving several ERP systems and regional business rules.
When estimating costs, consider application compatibility, authentication requirements, data transformation, middleware licensing, custom development and testing.
Ongoing maintenance should also form part of the budget, especially when several applications depend on the integration.
Our guide to Salesforce implementation cost explains the wider commercial considerations involved.
Planning a Salesforce API integration project?
Connect with MicroGenesis Salesforce consultants to evaluate technical requirements, implementation scope and project investment.
How MicroGenesis Can Help with Salesforce API Integration
Salesforce integration often involves more than CRM configuration. Enterprise IT teams must consider existing application architecture, security requirements, business workflows and ongoing operational support.
MicroGenesis brings together enterprise application engineering, system integration, workflow automation and managed services capabilities.
Depending on your requirements, an integration engagement can address:
Salesforce and enterprise application assessment.
API selection and integration architecture.
Data mapping and custom interface development.
Secure application connectivity.
Integration testing and deployment.
Monitoring and maintenance requirements.
The objective is to select an integration approach that fits your existing technology environment rather than introducing unnecessary tools and development costs.
If you are evaluating external technical support, our guide on choosing a Salesforce implementation partner provides practical selection criteria.
Frequently Asked Questions
Which Salesforce API is best for enterprise integration?
There is no single API suitable for every requirement. REST API is often appropriate for everyday record operations, Bulk API 2.0 for large data volumes, and Pub/Sub API for event-based communication.
Does Salesforce API integration require MuleSoft?
No. Salesforce can integrate with external applications through direct APIs, existing connectors and other integration platforms. MuleSoft may be useful when organizations need to manage complex application environments.
Can Salesforce APIs connect with on-premises applications?
Yes. Compatible on-premises applications can communicate with Salesforce through secure network connectivity, supported interfaces and suitable integration components.
How can businesses reduce Salesforce API consumption?
Use efficient queries, combined requests, appropriate batch processing and event-based communication. Review existing API usage before introducing additional integrations.
Can an existing Salesforce API integration be improved?
Yes. Reviewing authentication, transaction failures, API consumption and application dependencies can reveal opportunities to improve performance and reliability.
Final Thoughts
The difficult part of Salesforce API integration is rarely making the first successful API request. It is building a connection that continues to work when data volumes increase, credentials expire, applications change or transactions fail.
For enterprise IT teams, that means choosing APIs carefully, establishing clear security controls and planning how integrations will be supported after deployment.
Whether you are connecting Salesforce with an existing ERP platform, an ITSM application or a custom business system, a technical assessment can help you understand what is required before committing to an implementation approach.
Discuss Your Salesforce API Integration Requirements with MicroGenesis

