Class AsyncCallsClient


  • public class AsyncCallsClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncCallsClient

        public AsyncCallsClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public AsyncRawCallsClient withRawResponse()
        Get responses with HTTP metadata like headers
      • listCalls

        public java.util.concurrent.CompletableFuture<CallList> listCalls()
        Retrieve a paginated list of calls.
      • listCalls

        public java.util.concurrent.CompletableFuture<CallList> listCalls​(ListCallsRequest request)
        Retrieve a paginated list of calls.
      • showCall

        public java.util.concurrent.CompletableFuture<Call> showCall​(ShowCallRequest request)
        Retrieve a single call by id.
      • showCallRecording

        public java.util.concurrent.CompletableFuture<java.lang.Void> showCallRecording​(ShowCallRecordingRequest request)
        Redirects to a signed URL for the call's recording if it exists.
      • showCallRecording

        public java.util.concurrent.CompletableFuture<java.lang.Void> showCallRecording​(ShowCallRecordingRequest request,
                                                                                        RequestOptions requestOptions)
        Redirects to a signed URL for the call's recording if it exists.
      • showCallTranscript

        public java.util.concurrent.CompletableFuture<java.lang.String> showCallTranscript​(ShowCallTranscriptRequest request)
        Returns the transcript for the specified call as a downloadable text file.
      • showCallTranscript

        public java.util.concurrent.CompletableFuture<java.lang.String> showCallTranscript​(ShowCallTranscriptRequest request,
                                                                                           RequestOptions requestOptions)
        Returns the transcript for the specified call as a downloadable text file.
      • listCallsWithTranscripts

        public java.util.concurrent.CompletableFuture<ListCallsWithTranscriptsResponse> listCallsWithTranscripts​(ListCallsWithTranscriptsRequest request)
        Retrieve calls by a list of conversation ids and include transcripts when available. A maximum of 20 conversation_ids can be provided. If none are provided or more than 20 are provided, a 400 error is returned.
      • listCallsWithTranscripts

        public java.util.concurrent.CompletableFuture<ListCallsWithTranscriptsResponse> listCallsWithTranscripts​(ListCallsWithTranscriptsRequest request,
                                                                                                                 RequestOptions requestOptions)
        Retrieve calls by a list of conversation ids and include transcripts when available. A maximum of 20 conversation_ids can be provided. If none are provided or more than 20 are provided, a 400 error is returned.