Supported Salesforce APIs

Lightning web components are supported for use with many Salesforce APIs. You can access these APIs by importing the specified lightning namespaced modules. Not all features or endpoints on a listed Salesforce API are supported.

CRM Analytics API

Work with CRM Analytics datasets and dashboards. Analytics lenses are currently not supported. See the lightning/analyticsWaveApi wire adapters and functions.

Einstein Discovery API

Retrieve Einstein Discovery stories. Einstein predictions and models are currently not supported. See the lightning/analyticsSmartDataDiscoveryApi wire adapters and functions.

Einstein Generative AI Models API

Use Apex classes and REST endpoints that connect your application to LLMs from Salesforce partners, including Azure OpenAI and OpenAI. See the Models API documentation.

EMP API

Subscribe to a streaming channel and listen to event messages. See the lightning/empApi module.

Lightning Console API

Work with workspace tabs and utility bars on a Lightning app. See the Lightning Console API Developer Guide. The navigation item API isn't supported yet.

Metadata API

Deploy or retrieve a Lightning web component bundle from an org. See the LightningComponentBundle metadata type.

Mobile SDK

Run LWC in hybrid apps. See the Mobile SDK Development Guide.

Service Cloud Voice Toolkit API

Access Service Cloud Voice features. See the Service Cloud Voice Implementation Guide.

Service Knowledge API

Work with with Knowledge articles. See the lightning/serviceKnowledgeApi Module.

Tooling API

Work with a Lightning web component bundle using Tooling API. See the LightningComponentBundle and LightningComponentResource objects.

UI API

Work with records, list views, and more. See the Lightning Data Service wire adapters and functions.

Lightning web components aren’t supported for use with these tools. To use a Lightning web component with these tools, wrap the component in an Aura component.

  • Lightning Console Navigation Item API
  • Conversation Toolkit API
  • Omni Toolkit API

See Also