Table of Contents
CRM software solutions and enterprise cloud computing from Salesforce, the leader in customer relationship management (CRM) and PaaS.
API Overview
Salesforce is a cloud-based customer relationship management (CRM) platform that enables businesses to manage their sales, marketing, customer service, and other operations. It offers a comprehensive suite of features including contact management, lead generation, opportunity tracking, forecasting, and reporting. Salesforce's intuitive user interface and customizable dashboards provide users with a real-time view of their business performance. It also integrates with various third-party applications and services, allowing businesses to extend its functionality to meet their specific needs.
The Salesforce API provides developers with programmatic access to the Salesforce platform. It enables them to integrate Salesforce with other systems, create custom applications, and automate business processes. The API documentation provides detailed information on the available endpoints, data models, and supported operations. Salesforce offers REST APIs for accessing data and performing CRUD (create, read, update, delete) operations. It also supports webhooks for receiving real-time notifications of changes to Salesforce records. To ensure the stability and performance of the platform, Salesforce imposes rate limits on API calls. Developers must adhere to these limits to avoid service disruptions.
API Request Limits
Free
100 requests per day
Premium
1000 requests per day
Business
5000 requests per day
Enterprise
Custom limits
APIs
Method: GET
Description: Retrieves a single account..
Endpoint: /services/data/v52.0/sobjects/Account/{id}
Parameters: authorization
Method: POST
Description: Creates a new account..
Endpoint: /services/data/v52.0/sobjects/Account/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated accounts..
Endpoint: /services/data/v52.0/sobjects/Account/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing account..
Endpoint: /services/data/v52.0/sobjects/Account/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing account..
Endpoint: /services/data/v52.0/sobjects/Account/{id}
Parameters: authorization
Method: GET
Description: Retrieves the activity history events associated with a specific sObject..
Endpoint: /services/data/v52.0/sobjects/{objectType}/{id}/activityhistories
Parameters: authorization
Method: POST
Description: Creates an activity history event for a specific sObject..
Endpoint: /services/data/v52.0/sobjects/{objectType}/{id}/activityhistories
Parameters: authorization
Method: GET
Description: Retrieves a single campaign..
Endpoint: /services/data/v52.0/sobjects/Campaign/{id}
Parameters: authorization
Method: POST
Description: Creates a new campaign..
Endpoint: /services/data/v52.0/sobjects/Campaign/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated campaigns..
Endpoint: /services/data/v52.0/sobjects/Campaign/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing campaign..
Endpoint: /services/data/v52.0/sobjects/Campaign/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing campaign..
Endpoint: /services/data/v52.0/sobjects/Campaign/{id}
Parameters: authorization
Method: GET
Description: Retrieves a single campaign member..
Endpoint: /services/data/v52.0/sobjects/CampaignMember/{id}
Parameters: authorization
Method: POST
Description: Creates a new campaign member..
Endpoint: /services/data/v52.0/sobjects/CampaignMember/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated campaign members..
Endpoint: /services/data/v52.0/sobjects/CampaignMember/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing campaign member..
Endpoint: /services/data/v52.0/sobjects/CampaignMember/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing campaign member..
Endpoint: /services/data/v52.0/sobjects/CampaignMember/{id}
Parameters: authorization
Method: GET
Description: Retrieves a single case..
Endpoint: /services/data/v52.0/sobjects/Case/{id}
Parameters: authorization
Method: POST
Description: Creates a new case..
Endpoint: /services/data/v52.0/sobjects/Case/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated cases..
Endpoint: /services/data/v52.0/sobjects/Case/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing case..
Endpoint: /services/data/v52.0/sobjects/Case/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing case..
Endpoint: /services/data/v52.0/sobjects/Case/{id}
Parameters: authorization
Method: GET
Description: Retrieves a single case comment..
Endpoint: /services/data/v52.0/sobjects/CaseComment/{id}
Parameters: authorization
Method: POST
Description: Creates a new case comment..
Endpoint: /services/data/v52.0/sobjects/CaseComment/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated case comments..
Endpoint: /services/data/v52.0/sobjects/CaseComment/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing case comment..
Endpoint: /services/data/v52.0/sobjects/CaseComment/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing case comment..
Endpoint: /services/data/v52.0/sobjects/CaseComment/{id}
Parameters: authorization
Method: GET
Description: Retrieves a single contact..
Endpoint: /services/data/v52.0/sobjects/Contact/{id}
Parameters: authorization
Method: POST
Description: Creates a new contact..
Endpoint: /services/data/v52.0/sobjects/Contact/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated contacts..
Endpoint: /services/data/v52.0/sobjects/Contact/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing contact..
Endpoint: /services/data/v52.0/sobjects/Contact/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing contact..
Endpoint: /services/data/v52.0/sobjects/Contact/{id}
Parameters: authorization
Method: GET
Description: Retrieves a single contact request..
Endpoint: /services/data/v52.0/sobjects/ContactRequest/{id}
Parameters: authorization
Method: POST
Description: Creates a new contact request..
Endpoint: /services/data/v52.0/sobjects/ContactRequest/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated contact requests..
Endpoint: /services/data/v52.0/sobjects/ContactRequest/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing contact request..
Endpoint: /services/data/v52.0/sobjects/ContactRequest/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing contact request..
Endpoint: /services/data/v52.0/sobjects/ContactRequest/{id}
Parameters: authorization
Method: GET
Description: Retrieves a single content document..
Endpoint: /services/data/v52.0/sobjects/ContentDocument/{id}
Parameters: authorization
Method: POST
Description: Creates a new content document..
Endpoint: /services/data/v52.0/sobjects/ContentDocument/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated content documents..
Endpoint: /services/data/v52.0/sobjects/ContentDocument/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing content document..
Endpoint: /services/data/v52.0/sobjects/ContentDocument/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing content document..
Endpoint: /services/data/v52.0/sobjects/ContentDocument/{id}
Parameters: authorization
Method: GET
Description: Retrieves a single content version..
Endpoint: /services/data/v52.0/sobjects/ContentVersion/{id}
Parameters: authorization
Method: POST
Description: Creates a new content version..
Endpoint: /services/data/v52.0/sobjects/ContentVersion/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated content versions..
Endpoint: /services/data/v52.0/sobjects/ContentVersion/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing content version..
Endpoint: /services/data/v52.0/sobjects/ContentVersion/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing content version..
Endpoint: /services/data/v52.0/sobjects/ContentVersion/{id}
Parameters: authorization
Method: GET
Description: Retrieves a single contract..
Endpoint: /services/data/v52.0/sobjects/Contract/{id}
Parameters: authorization
Method: POST
Description: Creates a new contract..
Endpoint: /services/data/v52.0/sobjects/Contract/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated contracts..
Endpoint: /services/data/v52.0/sobjects/Contract/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing contract..
Endpoint: /services/data/v52.0/sobjects/Contract/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing contract..
Endpoint: /services/data/v52.0/sobjects/Contract/{id}
Parameters: authorization
Method: GET
Description: Retrieves a single dashboard..
Endpoint: /services/data/v52.0/sobjects/Dashboard/{id}
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated dashboards..
Endpoint: /services/data/v52.0/sobjects/Dashboard/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing dashboard..
Endpoint: /services/data/v52.0/sobjects/Dashboard/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing dashboard..
Endpoint: /services/data/v52.0/sobjects/Dashboard/{id}
Parameters: authorization
Method: GET
Description: Retrieves a single document..
Endpoint: /services/data/v52.0/sobjects/Document/{id}
Parameters: authorization
Method: POST
Description: Creates a new document..
Endpoint: /services/data/v52.0/sobjects/Document/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated documents..
Endpoint: /services/data/v52.0/sobjects/Document/recent
Parameters: authorization
Method: PATCH
Description: Updates an existing document..
Endpoint: /services/data/v52.0/sobjects/Document/{id}
Parameters: authorization
Method: DELETE
Description: Deletes an existing document..
Endpoint: /services/data/v52.0/sobjects/Document/{id}
Parameters: authorization
Method: GET
Description: Retrieves a single email message..
Endpoint: /services/data/v52.0/sobjects/EmailMessage/{id}
Parameters: authorization
Method: POST
Description: Creates a new email message..
Endpoint: /services/data/v52.0/sobjects/EmailMessage/
Parameters: authorization
Method: GET
Description: Retrieves a list of recently created or updated email messages..
Endpoint: /services/data/v52.0/sobjects/EmailMessage/recent
Parameters: authorization
Method:
Description: .
Endpoint:
Parameters:
FAQ
How can I authenticate to the Salesforce API?
You can authenticate to the Salesforce API using OAuth 2.0, which requires you to obtain an access token from Salesforce.
What are the rate limits for Salesforce API requests?
Salesforce API requests are subject to rate limits to prevent excessive usage. The specific rate limits depend on the type of API request and your organization's settings.
Can I use a sandbox account for API development?
Yes, you can use a sandbox account for API development. Sandbox accounts provide a safe and isolated environment to test and develop your API integrations without affecting production data.
How do I create a developer account on Salesforce?
To create a developer account on Salesforce, you can visit the Salesforce Developer Registration page and follow the instructions provided.
What is the difference between REST API and SOAP API in Salesforce?
The REST API is a modern, lightweight web service interface that uses HTTP requests and JSON data formats, while the SOAP API is an older, XML-based web service interface.