Get a list of Call Summaries.

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 | null

    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 | null

        The Answered By value for the summarized call based on Answering Machine Detection (AMD). One of unknown, machine_start, machine_end_beep, machine_end_silence, machine_end_other, human or fax. Refer to AMD for more detail.

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

      • call_type string | null

        The Call Type of the summarized Call. One of carrier, sip, trunking or client.

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

      • call_state string | null

        The Call State of the summarized Call. One of ringing, completed, busy, fail, noanswer, canceled, answered, undialed.

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

      • processing_state string | null

        The Processing State of the Call Summary. The Processing State will be partial until the assembly of the Call Summary finishes, which occurs approximately 30 minutes after Call end. Then the Processing State changes to complete

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