Update annotation

POST /v1/Voice/{CallSid}/Annotation

TODO: Resource-level docs

application/x-www-form-urlencoded

Body

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • account_sid string | null

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • answered_by string | null

      Values are unknown_answered_by, human, or machine.

    • call_score integer | null
    • call_sid string | null

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^CA[0-9a-fA-F]{32}$.

    • comment string | null
    • connectivity_issue string | null

      Values are unknown_connectivity_issue, no_connectivity_issue, invalid_number, caller_id, dropped_call, or number_reachability.

    • incident string | null
    • quality_issues array[string] | null
    • spam null | boolean
    • url string(uri) | null
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
}
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"
}