Newer Version Available

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

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
Type
string
Description
Required. Base64-encoded audio content captured from a microphone.

Outputs

OUTput Details
convertedText
Description
The transcribed text generated from the provided audio input.

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}