Feedback Resource
Feedback for the /Calls resource is deprecated and will stop responding to requests after 12/31/2023. The Call Annotation resource supersedes and replaces the 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.
CallFeedback properties
Resource Properties in REST API format | |
---|---|
account_sid
|
The unique id of the Account responsible for this resource. |
date_created
|
The date that this resource was created, given in RFC 2822 format. |
date_updated
|
The date that this resource was last updated, given in RFC 2822 format. |
issues
|
A list of issues experienced during the call. The issues can be: |
quality_score
|
|
sid
|
A 34 character string that uniquely identifies this resource. |
Create a call Feedback resource
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.
Parameters
Parameters in REST API format | |
---|---|
account_sid
Path
|
The unique id of the Account responsible for this resource. |
call_sid
Path
|
The call sid that uniquely identifies the call |
quality_score
Required
|
The call quality expressed as an integer from |
issue
Optional
|
A list of one or more issues experienced during the call. Issues can be: |
Example 1
Fetch a call Feedback resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Feedback.json
Parameters
Parameters in REST API format | |
---|---|
account_sid
Path
|
The unique id of the Account responsible for this resource. |
call_sid
Path
|
The call sid that uniquely identifies the call |
Example 1
Update a call Feedback resource
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.
Parameters
Parameters in REST API format | |
---|---|
account_sid
Path
|
The unique id of the Account responsible for this resource. |
call_sid
Path
|
The call sid that uniquely identifies the call |
quality_score
Optional
|
The call quality expressed as an integer from |
issue
Optional
|
One or more issues experienced during the call. The issues can be: |
Example 1
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.