code: public ApiSuccessResponse getContactHistory(String id, ContactHistoryData contactHistoryData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = getContactHistoryWithHttpInfo(id, contactHistoryData);
          return resp.getData();
      }
docs: Get the history of interactions for a contact
  
  @param id id of the Contact (required)
  @param contactHistoryData  (required)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body