cookie.get The get function is established to get data from a cookie. Sample var userId = cookie.get("USER_ID"); API Calling Returning cookie. get ( key ) {String} Parameters Type Description key String To identify the cookie info.