#SalesforceWinter27 [Tip 9] - Use latest Instead of a Version Number in Your REST API Calls

Every REST API call you write carries a version number in the URI — /services/data/v64.0/ — and every few releases somebody has to go back and bump it.

In Winter '27, you can replace the version segment with the word “latest”. Your request is then routed to the most recent REST API version your org supports.

Product Area: Integration

So this:

https://<MyDomainName>.my.salesforce.com/services/data/v64.0/sobjects/Account

becomes this:

https://<MyDomainName>.my.salesforce.com/services/data/latest/sobjects/Account

That's the whole change. No setup, no permission, nothing to enable.

How It is Useful

When you are exploring in Workbench or Postman, or writing a quick throwaway script, latest saves you from looking up the current version number every time.

But…

One word of caution, and this is my own view rather than something the release note says: think carefully before putting latest into a production integration. A pinned version number is a promise that the response shape will not change under you.

With latest, your org moves to a new API version at every release, and your integration moves with it whether you have tested it or not. Use latest where you want convenience, and a pinned version where you want predictability.

References & Useful URLs

  • For Related Winter '27 Release Note Article – Click Here




Found this useful? Hit like, and drop a comment — I read every one, and your feedback decides which tips make the list.