Body
-
AnsweredBy string
Values are
unknown_answered_by
,human
, ormachine
. -
CallScore integer | null
-
Comment string
-
ConnectivityIssue string
Values are
unknown_connectivity_issue
,no_connectivity_issue
,invalid_number
,caller_id
,dropped_call
, ornumber_reachability
. -
Incident string
-
QualityIssues string
-
Spam boolean
POST /v1/Voice/{CallSid}/Annotation
curl \
-X POST https://insights.twilio.com/v1/Voice/{CallSid}/Annotation \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'AnsweredBy=unknown_answered_by&CallScore=42&Comment=string&ConnectivityIssue=unknown_connectivity_issue&Incident=string&QualityIssues=string&Spam=true'
Request example
{
"AnsweredBy": "unknown_answered_by",
"CallScore": 42,
"Comment": "string",
"ConnectivityIssue": "unknown_connectivity_issue",
"Incident": "string",
"QualityIssues": "string",
"Spam": true
}
Request examples
{
"AnsweredBy": "unknown_answered_by",
"CallScore": 42,
"Comment": "string",
"ConnectivityIssue": "unknown_connectivity_issue",
"Incident": "string",
"QualityIssues": "string",
"Spam": true
}
Response examples (200)
{
"account_sid": "string",
"answered_by": "unknown_answered_by",
"call_score": 42,
"call_sid": "string",
"comment": "string",
"connectivity_issue": "unknown_connectivity_issue",
"incident": "string",
"quality_issues": [
"string"
],
"spam": true,
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"answered_by": "unknown_answered_by",
"call_score": 42,
"call_sid": "string",
"comment": "string",
"connectivity_issue": "unknown_connectivity_issue",
"incident": "string",
"quality_issues": [
"string"
],
"spam": null,
"url": "https://example.com"
}