added method call inside hubspot endpoint