Class CallsClient


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

      • CallsClient

        public CallsClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

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

        public CallList listCalls()
        Retrieve a paginated list of calls.
      • showCallRecording

        public void showCallRecording​(ShowCallRecordingRequest request)
        Redirects to a signed URL for the call's recording if it exists.
      • showCallTranscript

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

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

        public 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.
      • registerFinVoiceCall

        public AiCallResponse registerFinVoiceCall()
        Register a Fin Voice call with Intercom. This endpoint creates an external reference that links an external call identifier to an Intercom call and conversation.

        The call can be from different sources:

        • AWS Connect (default)
        • Five9
        • Zoom Phone
      • registerFinVoiceCall

        public AiCallResponse registerFinVoiceCall​(java.util.Optional<RegisterFinVoiceCallRequest> request)
        Register a Fin Voice call with Intercom. This endpoint creates an external reference that links an external call identifier to an Intercom call and conversation.

        The call can be from different sources:

        • AWS Connect (default)
        • Five9
        • Zoom Phone
      • registerFinVoiceCall

        public AiCallResponse registerFinVoiceCall​(java.util.Optional<RegisterFinVoiceCallRequest> request,
                                                   RequestOptions requestOptions)
        Register a Fin Voice call with Intercom. This endpoint creates an external reference that links an external call identifier to an Intercom call and conversation.

        The call can be from different sources:

        • AWS Connect (default)
        • Five9
        • Zoom Phone
      • collectFinVoiceCallByPhoneNumber

        public Error collectFinVoiceCallByPhoneNumber​(CollectFinVoiceCallByPhoneNumberRequest request)
        Retrieve information about a Fin Voice call using the phone number.

        Returns the most recent matched call for the given phone number, ordered by creation date.

      • collectFinVoiceCallByPhoneNumber

        public Error collectFinVoiceCallByPhoneNumber​(CollectFinVoiceCallByPhoneNumberRequest request,
                                                      RequestOptions requestOptions)
        Retrieve information about a Fin Voice call using the phone number.

        Returns the most recent matched call for the given phone number, ordered by creation date.