Send notification to user id, which are not ionic users

I’m using ionic notification. I can send notification using device token but what I want to send notification to respective user id which should not Ionic user but some custom user, which I kept in my mongodb. How can I acheive that?