API End-of-Life Policy

See which REST API versions are supported, unsupported, or unavailable.

Salesforce is committed to supporting each API version for a minimum of 3 years from the date of first release. To improve the quality and performance of the API, versions that are over 3 years old sometimes are no longer supported.

Salesforce notifies customers who use an API version scheduled for deprecation at least 1 year before support for the version ends.

Salesforce API VersionsVersion Support StatusVersion Retirement Info
Versions 31.0 through 63.0Supported.
Versions 21.0 through 30.0As of Summer ’22, these versions are deprecated and no longer supported by Salesforce. Starting Summer ’25, these versions will be retired and unavailable.Salesforce Platform API Versions 21.0 through 30.0 Retirement
Versions 7.0 through 20.0As of Summer ’22, these versions are retired and unavailable.Salesforce Platform API Versions 7.0 through 20.0 Retirement

If you request any resource or use an operation from a retired API version, REST API returns the 410 error code.

To identify requests made from old or unsupported API versions, use the API Total Usage event type.