Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.66 KB

CallInformationApi.md

File metadata and controls

58 lines (40 loc) · 1.66 KB

CallInformationApi

All URIs are relative to https://api.telnyx.com/v2

Method HTTP request Description
retrieveCallStatus GET /calls/{call_control_id} Retrieve call status

retrieveCallStatus

RetrieveCallStatusResponse retrieveCallStatus(callControlId)

Retrieve call status

Returns the status of a call (data is available 10 minutes after call ended).

Example

// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.CallInformationApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();


CallInformationApi apiInstance = new CallInformationApi();
String callControlId = "callControlId_example"; // String | Unique identifier and token for controlling the call
try {
    RetrieveCallStatusResponse result = apiInstance.retrieveCallStatus(callControlId);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling CallInformationApi#retrieveCallStatus");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
callControlId String Unique identifier and token for controlling the call

Return type

RetrieveCallStatusResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json