Call Control

List active calls

Retrieves all currently active calls for a given provider within an application. Use this endpoint to monitor live call activity and manage call sessions in real time.

Use Cases

Ideal for:

  • Powering call center dashboards showing current call volume
  • Identifying active calls for possible intervention
  • Supporting analytics and reporting on concurrent call usage

Behavior and Implementation Notes

Returns calls that are in progress (e.g. answered and connected). Depending on provider behavior, calls in ringing, on hold, or recently disconnected states may also appear. Results are limited to the specified provider and application. Data updates in near real-time but may reflect minor delays due to provider sync intervals.

GET/v1/accounts/:accountID/applications/:applicationID/provider/:providerID/calls
Click to copy
curl --request GET \
  --url http://api.voistrix.com/v1/accounts/:accountID/applications/:applicationID/provider/:providerID/calls \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'

Path Parameters

  • :accountID - REQUIRED[String]

    The referenced account ID.

  • :applicationID - REQUIRED[String]

    The referenced application ID.

  • :providerID - REQUIRED[String]

    The referenced provider ID.

Calls Response - [Map]

Collection of call records with metadata.

Attributes

  • calls - REQUIRED[Array]

    A collection of call details.

    List Contents- type of [Map]
    • answeredAt - OPTIONAL[String]

      Call answer timestamp.

    • callID - REQUIRED[String]

      Unique call identifier.

    • chosenContactID - OPTIONAL[String]

      Selected contact identifier for the call.

    • endedAt - OPTIONAL[String]

      Call termination timestamp.

    • isMissedCall - REQUIRED[Boolean]

      Indicates if inbound call was missed. Only applicable for inbound calls.

    • isOutbound - REQUIRED[Boolean]

      Indicates if call is outbound.

    • providerCallID - REQUIRED[String]

      Provider's unique call identifier.

    • providerID - REQUIRED[String]

      Provider identifier for call origin.

    • providerName - REQUIRED[String]

      Phone system provider name.

    • remoteName - OPTIONAL[String]

      Remote caller's name.

    • remoteNumber - REQUIRED[String]

      Remote party's phone number.

    • startedAt - REQUIRED[String]

      Call initiation timestamp.

    • subscriberEmail - OPTIONAL[String]

      Subscriber's email address.

    • subscriberExtension - OPTIONAL[String]

      Subscriber's extension number.

    • subscriberFirstName - OPTIONAL[String]

      Subscriber's first name.

    • subscriberID - OPTIONAL[String]

      Unique subscriber identifier.

    • subscriberLastName - OPTIONAL[String]

      Subscriber's last name.

    • subscriberNumber - OPTIONAL[String]

      Subscriber's phone number.

  • fromDate - OPTIONAL[String]

    Start date filter for call listing.

  • toDate - OPTIONAL[String]

    End date filter for call listing.

  • totalCalls - REQUIRED[Integer]

    Total number of calls returned.

Calls Response Shape
Click to copy
{
  "calls": [
    {
      "answeredAt": "string",
      "callID": "string",
      "chosenContactID": "string",
      "endedAt": "string",
      "isMissedCall": true,
      "isOutbound": true,
      "providerCallID": "string",
      "providerID": "string",
      "providerName": "string",
      "remoteName": "string",
      "remoteNumber": "string",
      "startedAt": "string",
      "subscriberEmail": "string",
      "subscriberExtension": "string",
      "subscriberFirstName": "string",
      "subscriberID": "string",
      "subscriberLastName": "string",
      "subscriberNumber": "string"
    }
  ],
  "fromDate": "string",
  "toDate": "string",
  "totalCalls": 0
}

Errors

A common set of Error Responses can be found here.