Service Cloud Voice Lightning Web Component (LWC) Toolkit API
The Service Cloud Voice Toolkit API allows you to build Lightning web components that
have access to Service Cloud Voice features.
This component is supported in Lightning Experience. It requires API version 52.0 or later.
To use the Service Cloud Voice Toolkit API in your component:
- Add the lightning__ServiceCloudVoiceToolkitApi component
to your component’s HTML template
file.
// yourComponent.html <template> <lightning-service-cloud-voice-toolkit-api> </lightning-service-cloud-voice-toolkit-api> ... </template>
- Include the lightning__ServiceCloudVoiceToolkitApi
target in your component’s configuration
file.
// yourComponent.js-meta.xml <?xml version="1.0" encoding="UTF-8"?> <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata"> <apiVersion>52.0</apiVersion> <isExposed>true</isExposed> <capabilities> <capability>lightning__ServiceCloudVoiceToolkitApi</capability> </capabilities> </LightningComponentBundle>