Get a call insights

Use this endpoint to to retrieve media and signalling insights of a voice call.

Command get a call insights

type: object
title: ChannelCall
additionalProperties: false
properties:
  id:
    $ref: './properties/Id.yml'
  channelId:
    $ref: '../messages/properties/ChannelId.yml'
  from:
    type: string
  to:
    type: string
  parentId:
    $ref: './properties/Id.yml'
  direction:
    $ref: './properties/Direction.yml'
  status:
    $ref: './properties/Status.yml'
  type:
    $ref: './properties/Type.yml'
  duration:
    type: integer
  hangupCauseCode:
    type: integer
  hangupSource:
    $ref: './properties/HangupSource.yml'
  hangupSipCode:
    type: string
  createdAt:
    type: string
    format: date-time
  updatedAt:
    type: string
    format: date-time
  ringingAt:
    type: string
    format: date-time
  answeredAt:
    type: string
    format: date-time
  endedAt:
    type: string
    format: date-time
  signallingMetrics:
    $ref: './properties/CallSignallingMetrics.yml'
  mediaMetrics:
    $ref: './properties/CallMediaMetrics.yml'
required:
  - id
  - channelId
  - from
  - to
  - status
  - type
  - direction
  - createdAt
  - updatedAt

Example 1: Get insights from an outbound call

curl "https://nest.messagebird.one/workspaces/8bc02f53-87ac-48d2-b4fd-c2cf856a305f/channels/880d8171-cbab-47bb-81b6-b1a0902da136/calls/382ef429-78ba-416d-899e-657d39d194ea/insights" \
     -H 'Authorization: Bearer {Token}'

Last updated