All URIs are relative to https://api.telnyx.com/v2
Method | HTTP request | Description |
---|---|---|
callControlDebuggingEventList | GET /call_events | List call events |
ListCallEventsResponse callControlDebuggingEventList(filterCallLegId, filterCallSessionId, filterStatus, filterType, filterEventTimestampGt, filterEventTimestampGte, filterEventTimestampLt, filterEventTimestampLte, filterEventTimestampEq)
List call events
Filters call events by given filter parameters. Events are ordered by `event_timestamp`. If filter for `call_leg_id` or `call_session_id` is not present, it only filters events from the last 24 hours. Note: Only one `filter[event_timestamp]` can be passed.
// 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.DebuggingApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
DebuggingApi apiInstance = new DebuggingApi();
UUID filterCallLegId = new UUID(); // UUID | The unique identifier of an individual call leg.
UUID filterCallSessionId = new UUID(); // UUID | The unique identifier of the call control session. A session may include multiple call leg events.
String filterStatus = "filterStatus_example"; // String | Event status
String filterType = "filterType_example"; // String | Event type
String filterEventTimestampGt = "filterEventTimestampGt_example"; // String | Event timestamp: greater than
String filterEventTimestampGte = "filterEventTimestampGte_example"; // String | Event timestamp: greater than or equal
String filterEventTimestampLt = "filterEventTimestampLt_example"; // String | Event timestamp: lower than
String filterEventTimestampLte = "filterEventTimestampLte_example"; // String | Event timestamp: lower than or equal
String filterEventTimestampEq = "filterEventTimestampEq_example"; // String | Event timestamp: equal
try {
ListCallEventsResponse result = apiInstance.callControlDebuggingEventList(filterCallLegId, filterCallSessionId, filterStatus, filterType, filterEventTimestampGt, filterEventTimestampGte, filterEventTimestampLt, filterEventTimestampLte, filterEventTimestampEq);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DebuggingApi#callControlDebuggingEventList");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
filterCallLegId | UUID | The unique identifier of an individual call leg. | [optional] |
filterCallSessionId | UUID | The unique identifier of the call control session. A session may include multiple call leg events. | [optional] |
filterStatus | String | Event status | [optional] [enum: delivered, failed] |
filterType | String | Event type | [optional] [enum: command, webhook] |
filterEventTimestampGt | String | Event timestamp: greater than | [optional] |
filterEventTimestampGte | String | Event timestamp: greater than or equal | [optional] |
filterEventTimestampLt | String | Event timestamp: lower than | [optional] |
filterEventTimestampLte | String | Event timestamp: lower than or equal | [optional] |
filterEventTimestampEq | String | Event timestamp: equal | [optional] |
- Content-Type: Not defined
- Accept: application/json