REST API Developer Guide
Summer '25 (API version 64.0)
Spring '25 (API version 63.0)
Winter '25 (API version 62.0)
Summer '24 (API version 61.0)
Spring '24 (API version 60.0)
Winter '24 (API version 59.0)
Summer '23 (API version 58.0)
Spring '23 (API version 57.0)
Winter '23 (API version 56.0)
Summer '22 (API version 55.0)
Spring '22 (API version 54.0)
Winter '22 (API version 53.0)
Summer '21 (API version 52.0)
Spring '21 (API version 51.0)
Winter '21 (API version 50.0)
Summer '20 (API version 49.0)
Spring '20 (API version 48.0)
Winter '20 (API version 47.0)
Summer '19 (API version 46.0)
Spring '19 (API version 45.0)
Winter '19 (API version 44.0)
Summer '18 (API version 43.0)
Spring '18 (API version 42.0)
Winter '18 (API version 41.0)
Summer '17 (API version 40.0)
Spring '17 (API version 39.0)
Winter '17 (API version 38.0)
Summer '16 (API version 37.0)
Spring '16 (API version 36.0)
Winter '16 (API version 35.0)
Summer '15 (API version 34.0)
Spring '15 (API version 33.0)
Winter '15 (API version 32.0)
Spring '14 (API version 30.0)
No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Generating an OpenAPI 3.0 Document for sObjects REST API (Beta)
Versions
Resources by Version
Limits
Describe Global
sObject Describe
sObject Get Deleted
sObject Get Updated
sObject Named Layouts
Get Records Using sObject Rows by External ID
Create Records Using sObject Rows by External ID
Upsert Records Using sObject Rows by External ID
Delete Records Using sObject Rows by External ID
Return Headers Using sObject Rows by External ID
sObject Blob Get
sObject PlatformAction
sObject Rich Text Image Get
sObjects Suggested Articles
sObjects Suggested Articles by ID
Platform Event Schema by Event Name
Platform Event Schema by Schema ID
Get AppMenu Types
Compact Layouts
Consent Write
List View Basic Information
List View Describe
List View Results
List Views for an Object
Query More Results
QueryAll
QueryAll More Results
Query Performance Feedback (Beta)
Recent List Views
Recently Viewed Items
sObject Relevant Items
Get Knowledge Language Settings
Search
Search Scope and Order
Search Result Layouts
Lightning Toggle Metrics
Lightning Usage by App Type
Lightning Usage by Browser
Lightning Usage by Page
Lightning Usage by FlexiPage
Lightning Exit by Page Metrics
Search for Records Suggested by Autocomplete and Instant Results
Search Suggested Article Title Matches
Search Suggested Queries
Themes
Delete Records Using sObject Rows by External ID
Deletes a record based on the value of the specified external ID field.
For security reasons, some Top Level Domains (TLD) can conflict with certain file format extensions. Adjust your implementation to work around such cases.
For example, using an email address, such as example@email.inc, as the External ID returns a “404 not found” error.
There are several workarounds to handle conflicting TLDs.
- Use a different External ID field.
- Create a new External ID field that is the same as the email field and replace the "." with an "_" to handle this case.
- Run a query for emails ending in ".inc" to retrieve the record ID and use that for the upsert request.
- Use SOAP API instead of REST API for upsert requests.
- Accept the email as a query parameter instead of a path parameter by creating a custom Apex REST API. Use Apex to perform the upsert request.
Note