Newer Version Available
Convert Base64 Speech To Text Action
Converts Base64-encoded audio captured from a microphone to text using AI-powered
speech recognition.
This action is available in API version 66.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v66.0/actions/standard/voiceToText
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| voiceContent |
|
Outputs
| OUTput | Details |
|---|---|
| convertedText |
|
Usage
- Sample Input
-
This sample converts Base64-encoded microphone audio to text using the Convert Base64 Speech To Text action.
1{ 2 "inputs": [ 3 { 4 "voiceContent": "UklGRiQAAABXQVZFZm10IBAAAAABAAEA..." 5 } 6 ] 7} - Sample Output
-
This sample shows the transcribed text returned by the Speech To Text microphone capture action for the provided Base64-encoded audio input.
1{ 2 "outputs": [ 3 { 4 "convertedText": "Please create a support case for my login issue." 5 } 6 ] 7}