Firebase Push Notification Integration
Our push notification automations and campaigns tools use firebase to send out push notifications to your users.
In order to integrate with us, you’ll need a few things:
-
A firebase account setup
- Set up a Firebase project.
-
Your firebase server key
- Set up Firebase Cloud Messaging, and a Server Key for Cloud Messaging Api (Legacy)
- Provide this Server Key to us as `firebase_server_key` eg:

-
A firebase push notification token per guest
- You’ll need to send us a `firebase_push_notification_token` as a guest custom field at this endpoint for each guest – so we can send a push notification to their device
- Fyi: Any guest without a token, or with an expired token will not receive the push notification
- curl --location --request POST 'https://api.wisely.io/guest/identify' \
- --header 'Authorization: Basic YWJjMTIzOg==' \
- --data-raw '{
- "identifiers": {
- "email": "[email]"
- "user_uuid": "[user_uuid]"
- },
- "fields": {
- "firebase_push_notification_token": "[auth token]"
- }
- }'