How to send firebase notifications to audience via HTTP
问题 In Firebase Console I set up audiences based on various user properties and now am able to send notifications to different user segments via console. Is there a way to do the same by http requests to fcm servers? There should be a trick with "to" field, but I couldn't figure it out. 回答1: firebaser here There is currently no way to send a notification to a user segment programmatically. It can only be done from the Firebase Console as you've found. We're aware that allowing this through an API