Newer Version Available

This content describes an older version of this product. View Latest

Get Started with User Interface API

User Interface API enables you to create native mobile apps and custom web apps with your own branding and look and feel. A single REST request returns enough metadata, layout information, and data to display, edit, or create a record.
Available in: Developer Edition

User Interface API is available as a Developer Preview in all DE orgs. To use the API in another type of org, contact Salesforce.

Note

The User Interface API base URL is https://{your_instance}.salesforce.com/services/data/v{api_version}/ui-api.

The first resource in the list, the Record UI resource, is the top dog 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 are one happy developer, because Salesforce transforms the results into an easy-to-consume JSON response with all the metadata and data you need to display a record.