Get Started with User Interface API

Starting in November 2026, the API reference is powered by OpenAPI specifications with a unified, single-page layout. The new experience brings many changes that are covered in this blog post: Introducing a New Connect REST API Experience.

Build Salesforce UI for native mobile apps and custom web apps using the same API that Salesforce uses to build Lightning Experience and Salesforce for Android, iOS, and mobile web. Build user interfaces that let users work with records, list views, actions, favorites, and more. Not only do you get data and metadata in a single response, but the response matches metadata changes made to the org by Salesforce admins. You don’t have to worry about layouts, picklists, field-level security, or sharing—all you have to do is build an app that users love.

See the User Interface API Reference for resource operations and their request and response schemas.

The User Interface API base URL is https://{MyDomainName}.my.salesforce.com/services/data/v{version}/ui-api. Replace these values:

  • MyDomainName: A custom subdomain specific to a Salesforce org. For example, companyname creates the URL https://companyname.my.salesforce.com.
  • version: A Salesforce API version in the format XX.X. For example, 68.0.

The Record UI resource shows the power of User Interface API. To display a record, your code makes this simple request:

1GET /ui-api/record-ui/001R0000003GeJ1IAK

Behind the scenes, Salesforce does the heavy lifting.

  • Checks field-level security settings, sharing settings, and perms.
  • Makes SOQL queries to get record data.
  • Gets object metadata and theme information.
  • Gets layout information.

You’re one happy developer, because Salesforce transforms the results into an easy-to-consume JSON response with all the metadata and data necessary to display the record.

Most User Interface API resource actions aren’t exposed as static methods in Apex.

Note

In addition to building UI for Salesforce records, you can also use User Interface API to build UI for Salesforce actions, favorites, and list views.

  • User Interface API Release Notes

    The API release notes include updates to the request bodies, response bodies, and resources.

  • User Interface API Quick Start

    Use the Postman desktop app or web-based UI to easily explore and test the UI API and other Salesforce APIs against your orgs.

  • User Interface API Sample Apps

    We’ve built two sample apps that use User Interface API to create, read, update, and delete records. The apps are open-source and available on GitHub.

  • Authentication, Versioning, Limits, ETag, and More

    Learn the high-level facts about how to use User Interface API. How do you authenticate? How is the API versioned? What are the rate limits? All the information you need, available at a glance.

  • Status Codes and Error Responses

    The response header contains an HTTP status code. If the response isn’t successful, the response body contains an error message, and if appropriate, information about the field or object where the error occurred.

  • 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. In order to mature and improve the quality and performance of the API, versions that are more than three years old sometimes are no longer supported.