curl --request POST \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/voice-transcription/v1/settings \
--header 'Content-Type: application/json' \
--header 'key: <key>' \
--header 'secret: <secret>' \
--data '{
"settings": {
"revaiAPIKey": "dwijdiwdwi####"
}
}'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"revaiAPIKey": "dwijdiwdwi####"
}
}
}
}
}
Voice transcription : Store new settings for Voice transcription extension
curl --request POST \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/voice-transcription/v1/settings \
--header 'Content-Type: application/json' \
--header 'key: <key>' \
--header 'secret: <secret>' \
--data '{
"settings": {
"revaiAPIKey": "dwijdiwdwi####"
}
}'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"revaiAPIKey": "dwijdiwdwi####"
}
}
}
}
}
AppID in which the extension has to be enabled/disabled
Store Voice transcription Settings
The response is of type object
.