Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now

メニュー

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Feedback Resource

The call Feedback subresource describes the quality experienced during a phone call.

Users can rate a call with a quality score of 5, if it was perfect, or lower, if not. If it was less than perfect, they can describe the problem they experienced, such as diminished audio quality, dropped call, or incorrect caller id.

This makes it easier to build feedback interfaces into your application such as these to display after a call.

通話品質フィードバック収集用のUIの例

CallFeedback properties

Names in PHP format
accountSid
sid<AC> Not PII

このリソースに関連するアカウントのユニーク ID です。

dateCreated
date_time<rfc2822> Not PII

このリソースが生成された日付です。RFC 2822形式を使用します。

dateUpdated
date_time<rfc2822> Not PII

このリソースが最後に更新された日付です。RFC 2822形式を使用します。

issues
enum:issues[] Not PII

A list of issues experienced during the call. The issues can be: imperfect-audio, dropped-call, incorrect-caller-id, post-dial-delay, digits-not-captured, audio-latency, unsolicited-call, or one-way-audio.

qualityScore
integer Not PII

1 から5のスコアがあります。1は最低、5が最高を示します。

sid
sid<CA> Not PII

このリソースを一意に識別する 34 文字の文字列です。

Create a call Feedback resource

post
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Feedback.json

Each feedback entry must have a quality_score and it can also have zero or more issue entries.

パラメーター
Names in None format
account_sid
必須
post sid<AC> Not PII

このリソースに関連するアカウントのユニーク ID です。

call_sid
必須
post sid<CA> Not PII

The call sid that uniquely identifies the call

quality_score
必須
post integer Not PII

The call quality expressed as an integer from 1 to 5 where 1 represents very poor call quality and 5 represents a perfect call.

issue
オプション
post enum:issues[] Not PII

A list of one or more issues experienced during the call. Issues can be: imperfect-audio, dropped-call, incorrect-caller-id, post-dial-delay, digits-not-captured, audio-latency, unsolicited-call, or one-way-audio.

例 1
        
        
        
        

        Fetch a call Feedback resource

        GET
        https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Feedback.json
        パラメーター
        Names in None format
        account_sid
        必須
        GET sid<AC> Not PII

        このリソースに関連するアカウントのユニーク ID です。

        call_sid
        必須
        GET sid<CA> Not PII

        The call sid that uniquely identifies the call

        例 1
              
              
              
              

              Update a call Feedback resource

              post
              https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Feedback.json

              Each feedback entry must have a quality_score and it can also have zero or more issue entries.

              パラメーター
              Names in None format
              account_sid
              必須
              post sid<AC> Not PII

              このリソースに関連するアカウントのユニーク ID です。

              call_sid
              必須
              post sid<CA> Not PII

              The call sid that uniquely identifies the call

              quality_score
              必須
              post integer Not PII

              The call quality expressed as an integer from 1 to 5 where 1 represents very poor call quality and 5 represents a perfect call.

              issue
              オプション
              post enum:issues[] Not PII

              One or more issues experienced during the call. The issues can be: imperfect-audio, dropped-call, incorrect-caller-id, post-dial-delay, digits-not-captured, audio-latency, unsolicited-call, or one-way-audio.

              例 1
                    
                    
                    
                    
                    Rate this page:

                    ヘルプが必要ですか?

                    誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。