Create a FeedbackSummary resource for a call
Call FeedbackSummary resources provide an idea of how your end user's perceive the quality of their calls and the most common issues they have encountered in the context of all your voice traffic during a specific time frame.
Create a FeedbackSummary resource for a call
Path parameters
-
The unique id of the Account responsible for this resource.
Body
-
Only include feedback given on or before this date. Format is
YYYY-MM-DD
and specified in UTC. -
IncludeSubaccounts boolean
Whether to also include Feedback resources from all subaccounts.
true
includes feedback from all subaccounts andfalse
, the default, includes feedback from only the specified account. -
Only include feedback given on or after this date. Format is
YYYY-MM-DD
and specified in UTC. -
StatusCallback string(uri)
The URL that we will request when the feedback summary is complete.
-
StatusCallbackMethod string(http-method)
The HTTP method (
GET
orPOST
) we use to make the request to theStatusCallback
URL.Values are
HEAD
,GET
,POST
,PATCH
,PUT
, orDELETE
.
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/FeedbackSummary.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'EndDate=2023-05-04&IncludeSubaccounts=true&StartDate=2023-05-04&StatusCallback=https%3A%2F%2Fexample.com&StatusCallbackMethod=HEAD'
{
"EndDate": "2023-05-04",
"IncludeSubaccounts": true,
"StartDate": "2023-05-04",
"StatusCallback": "https://example.com",
"StatusCallbackMethod": "HEAD"
}
{
"EndDate": "2024-05-04",
"IncludeSubaccounts": true,
"StartDate": "2024-05-04",
"StatusCallback": "https://example.com",
"StatusCallbackMethod": "HEAD"
}
{
"account_sid": "string",
"call_count": 42,
"call_feedback_count": 42,
"date_created": "string",
"date_updated": "string",
"end_date": "2023-05-04",
"include_subaccounts": true,
"issues": [],
"quality_score_average": 42.0,
"quality_score_median": 42.0,
"quality_score_standard_deviation": 42.0,
"sid": "string",
"start_date": "2023-05-04",
"status": "queued"
}
{
"account_sid": "string",
"call_count": 42,
"call_feedback_count": 42,
"date_created": "string",
"date_updated": "string",
"end_date": "2024-05-04",
"include_subaccounts": true,
"issues": [],
"quality_score_average": 42.0,
"quality_score_median": 42.0,
"quality_score_standard_deviation": 42.0,
"sid": "string",
"start_date": "2024-05-04",
"status": "queued"
}