API End-of-Life Policy

Salesforce is committed to supporting each API version for a minimum of three years from the date of first release. To mature and improve the quality and performance of the API, Salesforce sometimes ends support for versions that are more than three years old.

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

Salesforce API VersionsVersion Support StatusVersion Retirement Info
Versions 31.0 through 67.0Supported.
Versions 21.0 through 30.0As of Summer ’25, these versions are 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:GONE error code.

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