GET /v1/Voice/Summaries

Get a list of Call Summaries.

Query parameters

  • From string

    A calling party. Could be an E.164 number, a SIP URI, or a Twilio Client registered name.

  • To string

    A called party. Could be an E.164 number, a SIP URI, or a Twilio Client registered name.

  • FromCarrier string

    An origination carrier.

  • ToCarrier string

    A destination carrier.

  • FromCountryCode string

    A source country code based on phone number in From.

  • ToCountryCode string

    A destination country code. Based on phone number in To.

  • VerifiedCaller boolean

    A boolean flag indicating whether or not the caller was verified using SHAKEN/STIR.One of 'true' or 'false'.

  • HasTag boolean

    A boolean flag indicating the presence of one or more Voice Insights Call Tags.

  • StartTime string

    A Start time of the calls. xm (x minutes), xh (x hours), xd (x days), 1w, 30m, 3d, 4w or datetime-ISO. Defaults to 4h.

  • EndTime string

    An End Time of the calls. xm (x minutes), xh (x hours), xd (x days), 1w, 30m, 3d, 4w or datetime-ISO. Defaults to 0m.

  • CallType string

    A Call Type of the calls. One of carrier, sip, trunking or client.

  • CallState string

    A Call State of the calls. One of ringing, completed, busy, fail, noanswer, canceled, answered, undialed.

  • Direction string

    A Direction of the calls. One of outbound_api, outbound_dial, inbound, trunking_originating, trunking_terminating.

  • ProcessingState string

    A Processing State of the Call Summaries. One of completed, partial or all.

    Values are completed, started, partial, or all.

  • SortBy string

    A Sort By criterion for the returned list of Call Summaries. One of start_time or end_time.

    Values are start_time or end_time.

  • Subaccount string

    A unique SID identifier of a Subaccount.

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

  • AbnormalSession boolean

    A boolean flag indicating an abnormal session where the last SIP response was not 200 OK.

  • AnsweredBy string

    An Answered By value for the calls based on Answering Machine Detection (AMD). One of unknown, machine_start, machine_end_beep, machine_end_silence, machine_end_other, human or fax.

    Values are unknown, machine_start, machine_end_beep, machine_end_silence, machine_end_other, human, or fax.

  • AnsweredByAnnotation string

    Either machine or human.

  • ConnectivityIssueAnnotation string

    A Connectivity Issue with the calls. One of no_connectivity_issue, invalid_number, caller_id, dropped_call, or number_reachability.

  • QualityIssueAnnotation string

    A subjective Quality Issue with the calls. One of no_quality_issue, low_volume, choppy_robotic, echo, dtmf, latency, owa, static_noise.

  • SpamAnnotation boolean

    A boolean flag indicating spam calls.

  • CallScoreAnnotation string

    A Call Score of the calls. Use a range of 1-5 to indicate the call experience score, with the following mapping as a reference for the rated call [5: Excellent, 4: Good, 3 : Fair, 2 : Poor, 1: Bad].

  • BrandedEnabled boolean

    A boolean flag indicating whether or not the calls were branded using Twilio Branded Calls. One of 'true' or 'false'

  • VoiceIntegrityEnabled boolean

    A boolean flag indicating whether or not the phone number had voice integrity enabled.One of 'true' or 'false'

  • BrandedBundleSid string

    A unique SID identifier of the Branded Call.

  • BrandedType string

    Indicates whether the Branded Call is in_band vs out_of_band.

  • BrandedUseCase string

    Specifies the user-defined purpose for the call, as provided during the setup of in_band branded calling.

  • BrandedCallReason string

    Specifies the user-defined reason for the call, which will be displayed to the end user on their mobile device during an in_band branded call.

  • VoiceIntegrityBundleSid string

    A unique SID identifier of the Voice Integrity Profile.

  • VoiceIntegrityUseCase string

    A Voice Integrity Use Case . Is of type enum. One of 'abandoned_cart', 'appointment_reminders', 'appointment_scheduling', 'asset_management', 'automated_support', 'call_tracking', 'click_to_call', 'contact_tracing', 'contactless_delivery', 'customer_support', 'dating/social', 'delivery_notifications', 'distance_learning', 'emergency_notifications', 'employee_notifications', 'exam_proctoring', 'field_notifications', 'first_responder', 'fraud_alerts', 'group_messaging', 'identify_&verification', 'intelligent_routing', 'lead_alerts', 'lead_distribution', 'lead_generation', 'lead_management', 'lead_nurturing', 'marketing_events', 'mass_alerts', 'meetings/collaboration', 'order_notifications', 'outbound_dialer', 'pharmacy', 'phone_system', 'purchase_confirmation', 'remote_appointments', 'rewards_program', 'self-service', 'service_alerts', 'shift_management', 'survey/research', 'telehealth', 'telemarketing', 'therapy(individual+group)'.

  • BusinessProfileIdentity string

    A Business Identity of the calls. Is of type enum. One of 'direct_customer', 'isv_reseller_or_partner'.

  • BusinessProfileIndustry string

    A Business Industry of the calls. Is of type enum. One of 'automotive', 'agriculture', 'banking', 'consumer', 'construction', 'education', 'engineering', 'energy', 'oil_and_gas', 'fast_moving_consumer_goods', 'financial', 'fintech', 'food_and_beverage', 'government', 'healthcare', 'hospitality', 'insurance', 'legal', 'manufacturing', 'media', 'online', 'professional_services', 'raw_materials', 'real_estate', 'religion', 'retail', 'jewelry', 'technology', 'telecommunications', 'transportation', 'travel', 'electronics', 'not_for_profit'

  • BusinessProfileBundleSid string

    A unique SID identifier of the Business Profile.

  • BusinessProfileType string

    A Business Profile Type of the calls. Is of type enum. One of 'primary', 'secondary'.

  • PageSize integer(int64)

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

  • Page integer

    The page index. This value is simply for client state.

    Minimum value is 0.

  • PageToken string

    The page token. This is provided by the API.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • call_summaries array[object]
      Hide call_summaries attributes Show call_summaries attributes object
      • account_sid string | null

        The unique SID identifier of the Account.

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

      • call_sid string | null

        The unique SID identifier of the Call.

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

      • answered_by string

        Values are unknown, machine_start, machine_end_beep, machine_end_silence, machine_end_other, human, or fax.

      • call_type string

        Values are carrier, sip, trunking, client, or whatsapp.

      • call_state string

        Values are ringing, completed, busy, fail, noanswer, canceled, answered, or undialed.

      • processing_state string

        Values are complete or partial.

      • created_time string(date-time) | null

        The time at which the Call was created, given in ISO 8601 format. Can be different from start_time in the event of queueing due to CPS

      • start_time string(date-time) | null

        The time at which the Call was started, given in ISO 8601 format.

      • end_time string(date-time) | null

        The time at which the Call was ended, given in ISO 8601 format.

      • duration integer | null

        Duration between when the call was initiated and the call was ended

      • connect_duration integer | null

        Duration between when the call was answered and when it ended

      • from object | null

        The calling party.

      • to object | null

        The called party.

      • carrier_edge object | null

        Contains metrics and properties for the Twilio media gateway of a PSTN call.

      • client_edge object | null

        Contains metrics and properties for the Twilio media gateway of a Client call.

      • sdk_edge object | null

        Contains metrics and properties for the SDK sensor library for Client calls.

      • sip_edge object | null

        Contains metrics and properties for the Twilio media gateway of a SIP Interface or Trunking call.

      • tags array[string] | null

        Tags applied to calls by Voice Insights analysis indicating a condition that could result in subjective degradation of the call quality.

      • url string(uri) | null

        The URL of this resource.

      • attributes object | null

        Attributes capturing call-flow-specific details.

      • properties object | null

        Contains edge-agnostic call-level details.

      • trust object | null

        Contains trusted communications details including Branded Call and verified caller ID.

      • annotation object | null
    • meta object
      Hide meta attributes Show meta attributes object
      • first_page_url string(uri)
      • key string
      • next_page_url string(uri) | null
      • page integer
      • page_size integer
      • previous_page_url string(uri) | null
      • url string(uri)
GET /v1/Voice/Summaries
curl \
 --request GET 'https://insights.twilio.com/v1/Voice/Summaries' \
 --user "username:password"
Response examples (200)
{
  "meta": {
    "page": 0,
    "page_size": 25,
    "first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?PageSize=25&Page=0",
    "previous_page_url": null,
    "next_page_url": null,
    "key": "call_summaries",
    "url": "https://insights.twilio.com/v1/Voice/Summaries?PageSize=25&Page=0"
  },
  "call_summaries": []
}
{
  "meta": {
    "page": 0,
    "page_size": 25,
    "first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?ToCarrier=AT%26T+Wireless&AnsweredBy=machine_start&VoiceIntegrityEnabled=true&StartTime=4h&BrandedEnabled=true&PageSize=25&Page=0",
    "previous_page_url": null,
    "next_page_url": null,
    "key": "call_summaries",
    "url": "https://insights.twilio.com/v1/Voice/Summaries?ToCarrier=AT%26T+Wireless&AnsweredBy=machine_start&VoiceIntegrityEnabled=true&StartTime=4h&BrandedEnabled=true&PageSize=25&Page=0"
  },
  "call_summaries": [
    {
      "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "created_time": "2021-08-25T03:40:25Z",
      "start_time": "2021-08-25T03:40:25Z",
      "end_time": "2021-08-25T03:40:45Z",
      "duration": 20,
      "connect_duration": 20,
      "call_type": "carrier",
      "call_state": "completed",
      "answered_by": "machine_start",
      "from": {
        "caller": "+15555555555",
        "carrier": "T-Mobile USA, Inc.",
        "connection": "mobile",
        "number_prefix": "1555",
        "location": {
          "lat": 40.83885,
          "lon": -74.04568
        },
        "country_code": "US"
      },
      "to": {
        "callee": "+15555555556",
        "carrier": "AT&T Wireless",
        "connection": "mobile",
        "number_prefix": "1555",
        "location": {
          "lat": 33.42767,
          "lon": -86.886475
        },
        "country_code": "US"
      },
      "processing_state": "complete",
      "sdk_edge": null,
      "sip_edge": null,
      "client_edge": null,
      "carrier_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "edge_location": "xxxxx",
          "direction": "inbound"
        },
        "metrics": {
          "inbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_received": 202,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 1.48209,
              "avg": 0.483035
            }
          },
          "outbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_sent": 218,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 0.51868,
              "avg": 0.364434
            }
          }
        }
      },
      "tags": [
        "high_packet_loss",
        "high_jitter"
      ],
      "attributes": {
        "conference_participant": false
      },
      "properties": {
        "last_sip_response_num": 200,
        "pdd_ms": 121,
        "disconnected_by": "callee",
        "direction": "inbound"
      },
      "trust": {
        "verified_caller": {
          "verified": true
        },
        "branded": {
          "enabled": true,
          "display_name": "Owl bank",
          "long_display_name": "Owl bank Ltd",
          "bundle_sid": "BU5ceeea51b1424478fc541dfef0e2b167",
          "logo": true,
          "type": "in_band",
          "use_case": "Customer Care",
          "call_reason": "Branded CTIA"
        },
        "business_profile": {
          "bundle_sid": "BU5ceeea51b1424478fc541dfef0e2b167",
          "identity": "direct_customer",
          "industry": "BANKING",
          "type": "corporate"
        },
        "voice_integrity": {
          "enabled": true,
          "bundle_sid": "BU5ceeea51b1424478fc541dfef0e2b167",
          "use_case": "customer_support"
        }
      },
      "annotation": null,
      "url": "https://insights.twilio.com/v1/Voice/Summaries"
    },
    {
      "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "created_time": "2021-08-25T02:20:25Z",
      "start_time": "2021-08-25T02:20:25Z",
      "end_time": "2021-08-25T02:40:45Z",
      "duration": 18,
      "connect_duration": 18,
      "call_type": "carrier",
      "call_state": "completed",
      "answered_by": "machine_start",
      "from": {
        "caller": "+15555555555",
        "carrier": "T-Mobile USA, Inc.",
        "connection": "mobile",
        "number_prefix": "1555",
        "location": {
          "lat": 40.83885,
          "lon": -74.04568
        },
        "country_code": "US"
      },
      "to": {
        "callee": "+15555555556",
        "carrier": "AT&T Wireless",
        "connection": "mobile",
        "number_prefix": "1555",
        "location": {
          "lat": 33.42767,
          "lon": -86.886475
        },
        "country_code": "US"
      },
      "processing_state": "complete",
      "sdk_edge": null,
      "sip_edge": null,
      "client_edge": null,
      "carrier_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "edge_location": "xxxxx",
          "direction": "inbound"
        },
        "metrics": {
          "inbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_received": 100,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 1.48209,
              "avg": 0.483035
            }
          },
          "outbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_sent": 102,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 0.51868,
              "avg": 0.364434
            }
          }
        }
      },
      "tags": null,
      "attributes": {
        "conference_participant": false
      },
      "properties": {
        "last_sip_response_num": 200,
        "pdd_ms": 121,
        "disconnected_by": "callee",
        "direction": "inbound"
      },
      "trust": {
        "verified_caller": {
          "verified": true
        },
        "branded": {
          "enabled": true,
          "display_name": "Owl bank",
          "long_display_name": "Owl bank Ltd",
          "bundle_sid": "BU5ceeea51b1424478fc541dfef0e2b167",
          "logo": true,
          "type": "in_band",
          "use_case": "Customer Care",
          "call_reason": "Branded CTIA"
        },
        "business_profile": {
          "bundle_sid": "BU5ceeea51b1424478fc541dfef0e2b167",
          "identity": "direct_customer",
          "industry": "BANKING",
          "type": "corporate"
        },
        "voice_integrity": {
          "enabled": true,
          "bundle_sid": "BU5ceeea51b1424478fc541dfef0e2b167",
          "use_case": "customer_support"
        }
      },
      "annotation": null,
      "url": "https://insights.twilio.com/v1/Voice/Summaries"
    }
  ]
}
{
  "meta": {
    "page": 0,
    "page_size": 25,
    "first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=client&StartTime=7d&HasTag=true&Subaccount=ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab&PageSize=25&Page=0",
    "previous_page_url": null,
    "next_page_url": null,
    "key": "call_summaries",
    "url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=client&StartTime=7d&HasTag=true&Subaccount=ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab&PageSize=25&Page=0"
  },
  "call_summaries": [
    {
      "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
      "created_time": "2021-08-25T04:16:35Z",
      "start_time": "2021-08-25T04:16:36Z",
      "end_time": "2021-08-25T04:16:42Z",
      "duration": 7,
      "connect_duration": 6,
      "call_type": "client",
      "call_state": "completed",
      "answered_by": "machine_start",
      "from": {
        "caller": "client:+15555555555",
        "connection": "twilio_sdk"
      },
      "to": {
        "callee": "client:TBBXXXXXXXXXXXX",
        "connection": "twilio_sdk"
      },
      "processing_state": "complete",
      "sdk_edge": null,
      "sip_edge": null,
      "client_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "twilio_media_ip": "54.xxx.xx.xxx",
          "external_media_ip": "54.xxx.xx.xxx",
          "edge_location": "xxxxxx",
          "direction": "inbound"
        },
        "metrics": {
          "inbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_received": 252,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 5.60994,
              "avg": 0.933334
            }
          },
          "outbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_sent": 229,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 0.960786,
              "avg": 0.399859
            }
          }
        }
      },
      "carrier_edge": null,
      "tags": [
        "high_pdd"
      ],
      "attributes": {
        "conference_participant": false
      },
      "properties": {
        "last_sip_response_num": 200,
        "pdd_ms": 58,
        "disconnected_by": "callee",
        "direction": "inbound"
      },
      "trust": null,
      "annotation": null,
      "url": "https://insights.twilio.com/v1/Voice/Summaries"
    },
    {
      "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
      "created_time": "2021-08-25T04:16:35Z",
      "start_time": "2021-08-25T04:16:37Z",
      "end_time": "2021-08-25T04:16:40Z",
      "duration": 5,
      "connect_duration": 3,
      "call_type": "client",
      "call_state": "completed",
      "answered_by": "machine_start",
      "from": {
        "caller": "+15555555555",
        "carrier": "Verizon",
        "connection": "landline",
        "number_prefix": "1555",
        "location": {
          "lat": 40.83885,
          "lon": -74.04568
        },
        "country_code": "US"
      },
      "to": {
        "callee": "client:TBBTXXXXXX",
        "connection": "twilio_sdk"
      },
      "processing_state": "complete",
      "sdk_edge": null,
      "sip_edge": null,
      "client_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "twilio_media_ip": "54.xxx.xx.xxx",
          "external_media_ip": "54.xxx.xx.xxx",
          "edge_location": "xxxxx",
          "direction": "outbound"
        },
        "metrics": {
          "inbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_received": 110,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 1.05918,
              "avg": 0.461966
            }
          },
          "outbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_sent": 147,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 0.869174,
              "avg": 0.319674
            }
          }
        }
      },
      "carrier_edge": null,
      "tags": null,
      "attributes": {
        "conference_participant": false
      },
      "properties": {
        "last_sip_response_num": 200,
        "pdd_ms": 35,
        "disconnected_by": "callee",
        "direction": "outbound_api"
      },
      "trust": null,
      "annotation": null,
      "url": "https://insights.twilio.com/v1/Voice/Summaries"
    }
  ]
}
{
  "meta": {
    "page": 0,
    "page_size": 25,
    "first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?Direction=outbound_api%2Coutbound_dial%2Ctrunking_terminating&StartTime=1d&VerifiedCaller=true&PageSize=25&Page=0",
    "previous_page_url": null,
    "next_page_url": null,
    "key": "call_summaries",
    "url": "https://insights.twilio.com/v1/Voice/Summaries?Direction=outbound_api%2Coutbound_dial%2Ctrunking_terminating&StartTime=1d&VerifiedCaller=true&PageSize=25&Page=0"
  },
  "call_summaries": [
    {
      "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "created_time": "2021-08-25T14:31:18Z",
      "start_time": "2021-08-25T14:31:22Z",
      "end_time": "2021-08-25T14:32:02Z",
      "duration": 44,
      "connect_duration": 41,
      "call_type": "trunking",
      "call_state": "completed",
      "answered_by": "machine_start",
      "from": {
        "caller": "+15555555555",
        "carrier": "ACS",
        "connection": "landline",
        "number_prefix": "1555",
        "location": {
          "lat": 60.268353,
          "lon": -141.13632
        },
        "country_code": "US"
      },
      "to": {
        "callee": "+15555555556",
        "carrier": "Hawaiian Telcom, Inc. - HI",
        "connection": "landline",
        "number_prefix": "1555",
        "location": {
          "lat": 20.956036,
          "lon": -157.23793
        },
        "country_code": "US"
      },
      "processing_state": "complete",
      "sdk_edge": null,
      "sip_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "twilio_media_ip": "54.xxx.xx.xx",
          "twilio_signaling_ip": "54.xxx.xx.xx",
          "external_signaling_ip": "54.xxx.xx.xx",
          "sip_call_id": "xxxxx@0.0.0.0",
          "user_agent": "xxxx",
          "edge_location": "xxxxx",
          "trunk_sid": "xxxxxxx",
          "direction": "inbound"
        },
        "metrics": {
          "outbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_sent": 1953,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 1.76407,
              "avg": 0.23138
            },
            "latency": {
              "max": 0.386,
              "avg": 0.3765
            }
          }
        }
      },
      "client_edge": null,
      "carrier_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "edge_location": "xxxx",
          "direction": "outbound"
        }
      },
      "tags": [
        "silence"
      ],
      "attributes": {
        "conference_participant": false
      },
      "properties": {
        "last_sip_response_num": 200,
        "pdd_ms": 1990,
        "disconnected_by": "caller",
        "direction": "trunking_terminating"
      },
      "trust": {
        "verified_caller": {
          "verified": true
        }
      },
      "annotation": null,
      "url": "https://insights.twilio.com/v1/Voice/Summaries"
    },
    {
      "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "created_time": "2021-08-25T14:03:31Z",
      "start_time": "2021-08-25T14:03:32Z",
      "end_time": "2021-08-25T14:03:38Z",
      "duration": 7,
      "connect_duration": 6,
      "call_type": "carrier",
      "call_state": "completed",
      "answered_by": "machine_start",
      "from": {
        "caller": "+15555555555",
        "carrier": "T-Mobile USA, Inc.",
        "connection": "mobile",
        "number_prefix": "1555",
        "location": {
          "lat": 40.83885,
          "lon": -74.04568
        },
        "country_code": "US"
      },
      "to": {
        "callee": "+15555555556",
        "carrier": "T-Mobile USA, Inc.",
        "connection": "mobile",
        "number_prefix": "1555",
        "location": {
          "lat": 34.186115,
          "lon": -118.43555
        },
        "country_code": "US"
      },
      "processing_state": "complete",
      "sdk_edge": null,
      "sip_edge": null,
      "client_edge": null,
      "carrier_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "edge_location": "xxxx",
          "direction": "outbound"
        },
        "metrics": {
          "inbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_received": 229,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 1.10303,
              "avg": 0.449886
            }
          },
          "outbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_sent": 273,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 0.410031,
              "avg": 0.295951
            }
          }
        }
      },
      "tags": null,
      "attributes": {
        "conference_participant": false
      },
      "properties": {
        "last_sip_response_num": 200,
        "pdd_ms": 315,
        "disconnected_by": "callee",
        "direction": "outbound_api"
      },
      "trust": {
        "verified_caller": {
          "verified": true
        }
      },
      "annotation": null,
      "url": "https://insights.twilio.com/v1/Voice/Summaries"
    },
    {
      "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "created_time": "2021-08-24T22:28:17Z",
      "start_time": "2021-08-24T22:28:20Z",
      "end_time": "2021-08-24T22:28:23Z",
      "duration": 4,
      "connect_duration": 3,
      "call_type": "carrier",
      "call_state": "completed",
      "answered_by": "machine_start",
      "from": {
        "caller": "+15555555555",
        "carrier": "Hawaiian Telcom, Inc. - HI",
        "connection": "landline",
        "number_prefix": "1555",
        "location": {
          "lat": 20.956036,
          "lon": -157.23793
        },
        "country_code": "US"
      },
      "to": {
        "callee": "+15555555556",
        "connection": "pstn"
      },
      "processing_state": "complete",
      "sdk_edge": null,
      "sip_edge": null,
      "client_edge": null,
      "carrier_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "edge_location": "xxxx",
          "direction": "outbound"
        },
        "metrics": {
          "outbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_sent": 103,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 0.596712,
              "avg": 0.251725
            }
          }
        }
      },
      "tags": [
        "silence"
      ],
      "attributes": null,
      "properties": {
        "last_sip_response_num": 200,
        "pdd_ms": 105,
        "disconnected_by": "caller",
        "direction": "outbound_dial"
      },
      "trust": null,
      "annotation": null,
      "url": "https://insights.twilio.com/v1/Voice/Summaries"
    }
  ]
}
{
  "meta": {
    "page": 0,
    "page_size": 25,
    "first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=sip%2Ctrunking&CallState=completed&StartTime=15d&AbnormalSession=true&PageSize=25&Page=0",
    "previous_page_url": null,
    "next_page_url": null,
    "key": "call_summaries",
    "url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=sip%2Ctrunking&CallState=completed&StartTime=15d&AbnormalSession=true&PageSize=25&Page=0"
  },
  "call_summaries": [
    {
      "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "created_time": "2021-08-25T14:46:40Z",
      "start_time": "2021-08-25T14:46:40Z",
      "end_time": "2021-08-25T14:46:52Z",
      "duration": 12,
      "connect_duration": 12,
      "call_type": "sip",
      "call_state": "completed",
      "answered_by": "machine_start",
      "from": {
        "caller": "+15555555555",
        "carrier": "XO Communications, Inc.",
        "connection": "landline",
        "number_prefix": "1555",
        "location": {
          "lat": 40.83885,
          "lon": -74.04568
        },
        "country_code": "US"
      },
      "to": {
        "callee": "sip:xxxx@xx.xxx.xx.xxx",
        "connection": "sip_interface"
      },
      "processing_state": "complete",
      "sdk_edge": null,
      "sip_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "twilio_media_ip": "xx.xxx.xx.xxx",
          "twilio_signaling_ip": "xx.xx.xx.xx",
          "external_media_ip": "xx.xxx.xx.xxx",
          "external_signaling_ip": "xx.xxx.xx.xxx",
          "sip_call_id": "xxxxxxxx@0.0.0.0",
          "edge_location": "xxxxx",
          "direction": "outbound"
        },
        "metrics": {
          "inbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_received": 525,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 0.554729,
              "avg": 0.229541
            }
          },
          "outbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_sent": 245,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 1.03548,
              "avg": 0.344092
            }
          }
        }
      },
      "client_edge": null,
      "carrier_edge": null,
      "tags": null,
      "attributes": {
        "conference_participant": false
      },
      "properties": {
        "last_sip_response_num": 200,
        "pdd_ms": 255,
        "disconnected_by": "callee",
        "direction": "outbound_dial"
      },
      "trust": null,
      "annotation": null,
      "url": "https://insights.twilio.com/v1/Voice/Summaries"
    },
    {
      "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "created_time": "2021-08-25T14:31:18Z",
      "start_time": "2021-08-25T14:31:22Z",
      "end_time": "2021-08-25T14:32:02Z",
      "duration": 44,
      "connect_duration": 41,
      "call_type": "trunking",
      "call_state": "completed",
      "answered_by": "machine_start",
      "from": {
        "caller": "+15555555555",
        "carrier": "ACS",
        "connection": "landline",
        "number_prefix": "1555",
        "location": {
          "lat": 60.268353,
          "lon": -141.13632
        },
        "country_code": "US"
      },
      "to": {
        "callee": "+15555555556",
        "carrier": "Hawaiian Telcom, Inc. - HI",
        "connection": "landline",
        "number_prefix": "1555",
        "location": {
          "lat": 20.956036,
          "lon": -157.23793
        },
        "country_code": "US"
      },
      "processing_state": "complete",
      "sdk_edge": null,
      "sip_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "twilio_media_ip": "54.xxx.xx.xx",
          "twilio_signaling_ip": "54.xxx.xx.xx",
          "external_signaling_ip": "54.xxx.xx.xx",
          "sip_call_id": "xxxxx@0.0.0.0",
          "user_agent": "xxxx",
          "edge_location": "xxxxx",
          "trunk_sid": "xxxxxxx",
          "direction": "inbound"
        },
        "metrics": {
          "outbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_sent": 1953,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 1.76407,
              "avg": 0.23138
            },
            "latency": {
              "max": 0.386,
              "avg": 0.3765
            }
          }
        }
      },
      "client_edge": null,
      "carrier_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "edge_location": "xxxx",
          "direction": "outbound"
        }
      },
      "tags": [
        "silence"
      ],
      "attributes": {
        "conference_participant": false
      },
      "properties": {
        "last_sip_response_num": 200,
        "pdd_ms": 1990,
        "disconnected_by": "caller",
        "direction": "trunking_terminating"
      },
      "trust": {
        "verified_caller": {
          "verified": true
        }
      },
      "annotation": null,
      "url": "https://insights.twilio.com/v1/Voice/Summaries"
    }
  ]
}
{
  "meta": {
    "page": 0,
    "page_size": 25,
    "first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?AnsweredByAnnotation=human&SpamAnnotation=true&CallScoreAnnotation=1%2C2&ConnectivityIssueAnnotation=invalid_number%2Cdropped_call&QualityIssueAnnotation=choppy_robotic%2Cecho&PageSize=25&Page=0",
    "previous_page_url": null,
    "next_page_url": null,
    "key": "call_summaries",
    "url": "https://insights.twilio.com/v1/Voice/Summaries?AnsweredByAnnotation=human&SpamAnnotation=true&CallScoreAnnotation=1%2C2&ConnectivityIssueAnnotation=invalid_number%2Cdropped_call&QualityIssueAnnotation=choppy_robotic%2Cecho&PageSize=25&Page=0"
  },
  "call_summaries": [
    {
      "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "created_time": "2021-08-25T14:46:40Z",
      "start_time": "2021-08-25T14:46:40Z",
      "end_time": "2021-08-25T14:46:52Z",
      "duration": 12,
      "connect_duration": 12,
      "call_type": "sip",
      "call_state": "completed",
      "answered_by": "machine_start",
      "from": {
        "caller": "+15555555555",
        "carrier": "XO Communications, Inc.",
        "connection": "landline",
        "number_prefix": "1555",
        "location": {
          "lat": 40.83885,
          "lon": -74.04568
        },
        "country_code": "US"
      },
      "to": {
        "callee": "sip:xxxx@xx.xxx.xx.xxx",
        "connection": "sip_interface"
      },
      "processing_state": "complete",
      "sdk_edge": null,
      "sip_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "twilio_media_ip": "xx.xxx.xx.xxx",
          "twilio_signaling_ip": "xx.xx.xx.xx",
          "external_media_ip": "xx.xxx.xx.xxx",
          "external_signaling_ip": "xx.xxx.xx.xxx",
          "sip_call_id": "xxxxxxxx@0.0.0.0",
          "edge_location": "xxxxx",
          "direction": "outbound"
        },
        "metrics": {
          "inbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_received": 525,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 0.554729,
              "avg": 0.229541
            }
          },
          "outbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_sent": 245,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 1.03548,
              "avg": 0.344092
            }
          }
        }
      },
      "client_edge": null,
      "carrier_edge": null,
      "tags": null,
      "attributes": {
        "conference_participant": false
      },
      "properties": {
        "last_sip_response_num": 200,
        "pdd_ms": 255,
        "disconnected_by": "callee",
        "direction": "outbound_dial"
      },
      "trust": null,
      "annotation": {
        "answered_by": "human",
        "spam": true,
        "connectivity_issue": "invalid_number",
        "quality_issues": [
          "choppy_robotic"
        ],
        "call_score": 1
      },
      "url": "https://insights.twilio.com/v1/Voice/Summaries"
    },
    {
      "call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "created_time": "2021-08-25T14:31:18Z",
      "start_time": "2021-08-25T14:31:22Z",
      "end_time": "2021-08-25T14:32:02Z",
      "duration": 44,
      "connect_duration": 41,
      "call_type": "trunking",
      "call_state": "completed",
      "answered_by": "machine_start",
      "from": {
        "caller": "+15555555555",
        "carrier": "ACS",
        "connection": "landline",
        "number_prefix": "1555",
        "location": {
          "lat": 60.268353,
          "lon": -141.13632
        },
        "country_code": "US"
      },
      "to": {
        "callee": "+15555555556",
        "carrier": "Hawaiian Telcom, Inc. - HI",
        "connection": "landline",
        "number_prefix": "1555",
        "location": {
          "lat": 20.956036,
          "lon": -157.23793
        },
        "country_code": "US"
      },
      "processing_state": "complete",
      "sdk_edge": null,
      "sip_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "twilio_media_ip": "54.xxx.xx.xx",
          "twilio_signaling_ip": "54.xxx.xx.xx",
          "external_signaling_ip": "54.xxx.xx.xx",
          "sip_call_id": "xxxxx@0.0.0.0",
          "user_agent": "xxxx",
          "edge_location": "xxxxx",
          "trunk_sid": "xxxxxxx",
          "direction": "inbound"
        },
        "metrics": {
          "outbound": {
            "codec": 0,
            "codec_name": "pcmu",
            "packets_sent": 1953,
            "packets_lost": 0,
            "packets_loss_percentage": 0,
            "jitter": {
              "max": 1.76407,
              "avg": 0.23138
            },
            "latency": {
              "max": 0.386,
              "avg": 0.3765
            }
          }
        }
      },
      "client_edge": null,
      "carrier_edge": {
        "properties": {
          "media_region": "us1",
          "signaling_region": "us1",
          "edge_location": "xxxx",
          "direction": "outbound"
        }
      },
      "tags": [
        "silence"
      ],
      "attributes": {
        "conference_participant": false
      },
      "properties": {
        "last_sip_response_num": 200,
        "pdd_ms": 1990,
        "disconnected_by": "caller",
        "direction": "trunking_terminating"
      },
      "trust": {
        "verified_caller": {
          "verified": true
        }
      },
      "annotation": {
        "answered_by": "human",
        "spam": true,
        "connectivity_issue": "invalid_number",
        "quality_issues": [
          "choppy_robotic"
        ],
        "call_score": 1
      },
      "url": "https://insights.twilio.com/v1/Voice/Summaries"
    }
  ]
}