code: public ApiResponse<ApiSuccessResponse> getContactHistoryWithHttpInfo(String id, ContactHistoryData contactHistoryData) throws ApiException {
          com.squareup.okhttp.Call call = getContactHistoryValidateBeforeCall(id, contactHistoryData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get the history of interactions for a contact
  
  @param id id of the Contact (required)
  @param contactHistoryData  (required)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body