Package com.intercom.api.resources.calls
Class CallsClient
- java.lang.Object
-
- com.intercom.api.resources.calls.CallsClient
-
public class CallsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description CallsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallListlistCalls()Retrieve a paginated list of calls.CallListlistCalls(ListCallsRequest request)Retrieve a paginated list of calls.CallListlistCalls(ListCallsRequest request, RequestOptions requestOptions)Retrieve a paginated list of calls.ListCallsWithTranscriptsResponselistCallsWithTranscripts(ListCallsWithTranscriptsRequest request)Retrieve calls by a list of conversation ids and include transcripts when available.ListCallsWithTranscriptsResponselistCallsWithTranscripts(ListCallsWithTranscriptsRequest request, RequestOptions requestOptions)Retrieve calls by a list of conversation ids and include transcripts when available.CallshowCall(ShowCallRequest request)Retrieve a single call by id.CallshowCall(ShowCallRequest request, RequestOptions requestOptions)Retrieve a single call by id.voidshowCallRecording(ShowCallRecordingRequest request)Redirects to a signed URL for the call's recording if it exists.voidshowCallRecording(ShowCallRecordingRequest request, RequestOptions requestOptions)Redirects to a signed URL for the call's recording if it exists.java.lang.StringshowCallTranscript(ShowCallTranscriptRequest request)Returns the transcript for the specified call as a downloadable text file.java.lang.StringshowCallTranscript(ShowCallTranscriptRequest request, RequestOptions requestOptions)Returns the transcript for the specified call as a downloadable text file.RawCallsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
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.
-
listCalls
public CallList listCalls(ListCallsRequest request)
Retrieve a paginated list of calls.
-
listCalls
public CallList listCalls(ListCallsRequest request, RequestOptions requestOptions)
Retrieve a paginated list of calls.
-
showCall
public Call showCall(ShowCallRequest request)
Retrieve a single call by id.
-
showCall
public Call showCall(ShowCallRequest request, RequestOptions requestOptions)
Retrieve a single call by id.
-
showCallRecording
public void showCallRecording(ShowCallRecordingRequest request)
Redirects to a signed URL for the call's recording if it exists.
-
showCallRecording
public void showCallRecording(ShowCallRecordingRequest request, RequestOptions requestOptions)
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 20conversation_idscan be provided. If none are provided or more than 20 are provided, a 400 error is returned.
-
listCallsWithTranscripts
public ListCallsWithTranscriptsResponse listCallsWithTranscripts(ListCallsWithTranscriptsRequest request, RequestOptions requestOptions)
Retrieve calls by a list of conversation ids and include transcripts when available. A maximum of 20conversation_idscan be provided. If none are provided or more than 20 are provided, a 400 error is returned.
-
-