通話文字起こしAPI

通話文字起こしAPI

お知らせ:当社は、お客様により充実したサポート情報を迅速に提供するため、本ページのコンテンツは機械翻訳を用いて日本語に翻訳しています。正確かつ最新のサポート情報をご覧いただくには、本内容の英語版を参照してください。

language_code*

文字列


指定可能な値。 

  • nl-NL=オランダ語(NL)
  • en-AU=日本語(AU)
  • en-CA=日本語(CA)
  • en-IN=日本語(IN)
  • en-GB=日本語(UK)
  • en-US=日本語(US)
  • fr-CA=フランス語(CA)
  • fr-FR=フランス語(FR)
  • de-DE=ドイツ語(DE)
  • hi-IN=ヒンディー語(IN)
  • it-IT=イタリア語(IT)
  • ja-JP=日本語(JP)
  • ko-KR=韓国語(KR)
  • pt-BR=ポルトガル語(BR)
  • pt-PT=ポルトガル語(PT)
  • es-US=スペイン語(US)
  • es-ES=スペイン語(ES)


例:'en-US'

transcriptionType

数値


指定可能な値。

  • 1:ボイスメール(初期値)

  • 2:通話録音

:2

isEmailNotificationEnabled

真偽値

初期値- false

例:false

providerId

数値

指定可能な値:

  • Zohoの場合は1

  • Googleの場合は0(初期値)

:1

canAttachFileInEmail    

真偽値

:false

canSendEmailToSupervisor

真偽値

:true

isTranscriptionTCAccepted    

真偽値

:true


レスポンス:


  1. {
  2. 'code': '200',
  3. 'message': '通話録音の文字起こしが開始されました。完了まで約44秒かかる見込みです。',
  4. 'status': 'SUCCESS'
  5. }


Notesメモ:文字起こしにかかる時間は、通話録音の長さによって異なります。

文字起こしの詳細の取得

このAPIでは、通話ログIDと文字起こしの種類を指定すると、通話の文字起こしの詳細を取得できます。


スコープZohoVoice.call.READ

メソッド:GET

URL:https://voice.zoho.com/rest/json/zv/transcribe


パラメーター


キー

データ型

説明

logId*

文字列

文字起こしを実行する通話の一意の識別子です。

例:'7904492e-4afa-40f3-9fed-6ff665cb182e'

transcriptionType*

数値

指定可能な値:

  • 1:ボイスメール(初期値)

  • 2:通話録音

:2



レスポンス:


  1. {
  2. 'code': '200',
  3. 'transcribeObj': '{\'transcriptionProvider\':\'Zoho\',\'callAnalytics\':[{\'result\':\'Neutral\',\'feature\':\'sentiment\'},{\'result\':\'Happy\',\'feature\':\'emotion\'},{\'result\':\'Query\',\'feature\':\'intent\'},{\'result\':\'The customer, a relationship manager, 通話 the agent from Zoho and expresses their desire to speak. The agent confirms the time and location of the call. The customer agrees to call back after two hours. The agent expresses their appreciation for the customer's understanding.\',\'feature\':\'summary\'},{\'result\':[{\'highlights\':\'brother I'm I'm driving now yes, just after two hours\',\'reasoning\':[{\'tag\':\'Date\',\'content\':\'now\'}]},{\'highlights\':\'good time\',\'reasoning\':[{\'tag\':\'key-phrase\',\'content\':\'good time\'}]},{\'highlights\':\'relationship manager\',\'reasoning\':[{\'tag\':\'key-phrase\',\'content\':\'relationship manager\'}]},{\'highlights\':\'call\',\'reasoning\':[{\'tag\':\'key-phrase\',\'content\':\'call\'}]}],\'feature\':\'call_highlights\'},{\'result\':[{\'satisfaction_score\':0.82,\'poliness_score\':0.99,\'agent_score\':0.89}],\'feature\':\'call_score\'}],\'transcriptJson\':[{\'start_time\':1.08,\'transcript\':\'Hello\',\'speaker\':1,\'end_time\':1.32},{\'start_time\':3.7092,\'transcript\':\'Yeah hi hello\',\'speaker\':2,\'end_time\':5.6834},{\'start_time\':7.14,\'transcript\':\'yes,\',\'speaker\':1,\'end_time\':7.32},{\'start_time\':9.0934,\'transcript\':\'calling you from Zoho,\',\'speaker\':2,\'end_time\':10.29},{\'start_time\':12.18,\'transcript\':\'yeah,\',\'speaker\':1,\'end_time\':12.36},{\'start_time\':13.7,\'transcript\':\'I'm your relationship manager for yourself. Is this a good time to talk?\',\'speaker\':2,\'end_time\':18.26},{\'start_time\':19.8,\'transcript\':\'no brother I'm I'm driving now\',\'speaker\':1,\'end_time\':21.42},{\'start_time\':22.64,\'transcript\':\'Okay where do you want me to call you back sir?\',\'speaker\':2,\'end_time\':24.74},{\'start_time\':26.64,\'transcript\':\'yes, just after two hours please,\',\'speaker\':1,\'end_time\':28.38},{\'start_time\':29.5336,\'transcript\':\'Yeah, sure then I can give you a call back. Thank you.\',\'speaker\':2,\'end_time\':32.1533},{\'start_time\':32.5668,\'transcript\':\'Okay, thank you, thank you.\',\'speaker\':1,\'end_time\':33.5815}]}',
  4. 'status': 'SUCCESS'
  5. }


文字起こしのダウンロード

このAPIでは、通話ログIDと文字起こしの種類を指定して、通話の文字起こしファイルをダウンロードできます。


スコープZohoVoice.call.READ

メソッド:GET

URL:https://voice.zoho.com/rest/json/zv/transcribe/download


パラメーター


キー

データ型

説明

logId*

文字列

文字起こしを実行する通話の一意の識別子です。

例:'7904492e-4afa-40f3-9fed-6ff665cb182e'

transcriptionType*

数値

指定可能な値: 

  • 1:ボイスメール(初期値)

  • 2:通話録音

:2



レスポンス:


  1. <ファイルは自動的にダウンロードされます>


通話の文字起こしの削除

このAPIでは、通話ログIDと文字起こしの種類を指定して、通話の文字起こしを削除します。


スコープZohoVoice.call.削除

メソッド:削除

URL:https://voice.zoho.com/rest/json/zv/transcribe


パラメーター


キー

データ型

説明

logId*

文字列

文字起こしを実行する通話の一意の識別子です。

例:'7904492e-4afa-40f3-9fed-6ff665cb182e'

transcriptionType*

数値

指定可能な値: 

  • 1:ボイスメール(初期値)

  • 2:通話録音

:2



レスポンス:

  1. {
  2. 'code': '200',
  3. 'message': 'SUCCESS',
  4. 'status': 'SUCCESS'
  5. }




こちらはSmart Chatです(Ctrl+Space)